Monday, March 30, 2009

Cool Debugger

Head over to http://www.ollydbg.de/

This is a neat little disassembler. Fire it up and open your program.
On the CPU- Main thread window:

Right Click -> Go To -> Expression: Enter the address of the jump
Right Click on the instruction -> Assemble (or hit space)

I changed JNZ to JZ -> Assemble (Proggy changed it to JE - same thing)

View->Patches (Ctrl-P) if you want to see the patches you made.. or undo them

Right Click -> Copy to executable -> All modifications
Press Copy All and a new window will come up: yourprogram.exe
Close that window and you will be asked to save it as a different name (good idea in case it screws up)

No comments: