PDA

View Full Version : Autolaunch patcher script


Hero
June 9th, 2007, 03:08
Hi all
As you know,there is some times that we should run our target application through a launcher program and we can't avoid this.
But if we need to debug target application from strat,we need to patch it on entry point.
I used this script to do all necessary thing for this operation.
How to use it:
1-Open launcher in Olly.
2-Run script and specify target application OEP in shown dialog box.
3-Wait till script finished.
4-Attach to process that is announced by script using another olly.
5-Repatch first 2 bytes by 2 bytes that is shown in first olly's log.

This is my first Script for olly,then perhaps there is a better way to write this(for example finding target OEP in script too,or better structure).
Please improve it in your own way!!!

Regards