how to find out the state of registers and the stack of an .exe with python script

67 Views Asked by At

I'm writing a fuzzer and I need to change the configuration file and run some .exe file that uses it, and try to break in this way .exe. I would like to know if Python has the ability to view the state of registers and stack of any application, so that I can understand the reason for the application crash. For example .exe reads some int value, and uses it as length for the string, so if I change this value and it causes buffer overflow, a wanna to know the stack and registers statement at that moment.

0

There are 0 best solutions below