| View previous topic :: View next topic |
| Author |
Message |
omidi How do I cheat?
Reputation: 0
Joined: 26 Aug 2013 Posts: 2
|
Posted: Mon Aug 26, 2013 11:11 pm Post subject: Help needed for find entrance code |
|
|
Hi;
I hope this was right place for asking help about my case. I have an old dos program (programmed with foxpro 2.6 but cant be refoxed due some manipulating) that run it under dosbox. at the entrance of program and before it ask for username and password (that stored in a dbf and finded already) it asked a code. I could find the memory placeof a byte that count number of try ( it allow 3 times try) and overflow it and get ride of it at first place. but now i want to search for the password and identify/change it.
I could trace the place that store the entered code when i enter it and identify some opcode that access to it. but i confused about finding the opcode that check it again the correct code and store the boolean result perhaps.
opcodes that access the entered memory (at different time):
mov al,[edx+ecx]
mov [ecx+edx],eax
mov [edx+ecx],al
|
|
| Back to top |
|
 |
661089799107 Expert Cheater
Reputation: 3
Joined: 25 Jan 2009 Posts: 186
|
Posted: Tue Aug 27, 2013 7:17 am Post subject: |
|
|
Only the first instruction that you posted reads from the input buffer.
Breakpoint on that first instruction, and there should be a cmp instruction as well as a loop.
|
|
| Back to top |
|
 |
omidi How do I cheat?
Reputation: 0
Joined: 26 Aug 2013 Posts: 2
|
Posted: Tue Aug 27, 2013 7:49 am Post subject: |
|
|
I try to trace the instruction but i lost the logic. i create a log by dosbox from moment i press the "ENTER" key after enter a wrong password and the moment it say password is incorrect. I try to search the cmp opcodes in it but it make no sens.
the wrong password i entered is: "FGHJ" ASCII Code: 46,47,48,4A
unfortunately i cant attach or put link here!
|
|
| Back to top |
|
 |
|