Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help needed for find entrance code

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
omidi
How do I cheat?
Reputation: 0

Joined: 26 Aug 2013
Posts: 2

PostPosted: Mon Aug 26, 2013 11:11 pm    Post subject: Help needed for find entrance code Reply with quote

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
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Tue Aug 27, 2013 7:17 am    Post subject: Reply with quote

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
View user's profile Send private message
omidi
How do I cheat?
Reputation: 0

Joined: 26 Aug 2013
Posts: 2

PostPosted: Tue Aug 27, 2013 7:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites