Log in

View Full Version : Breaking on file acces...


GooseWrecker
May 13th, 2005, 03:18
Hi i'm new to this forum, and pretty new to reversing to - so plz hold my hand on this.

I've just unpacked my first 3 ASProtected progs, so now i'm plaing around with reversing some algos in one of the progs.

My problem is i can't get olly to break on file acces. How do i do that ?
eg. as soon as my prog trys to open hang.dat i wan't to place a bp.

Thx in advance
Kind regards GooseWrecker

blabberer
May 13th, 2005, 05:13
view -->executable modules -> select kernel32.dll--> right click view names --> TYPE CreateFile -> double click you will be on the first line of
that function set conditional break point (shift +f4)
like this [string [esp+4]] == " blah blah .balh" (look at help file for syntax ) select pause on condition
when it is hit use alt+f9 (RETURN to user code )