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 


My first crack me

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

Joined: 20 Jul 2007
Posts: 5

PostPosted: Tue Jan 15, 2008 9:21 am    Post subject: My first crack me Reply with quote

just to tell you that , you will never do it =) lol :p
Back to top
View user's profile Send private message
zart
Master Cheater
Reputation: 0

Joined: 20 Aug 2007
Posts: 351
Location: russia

PostPosted: Tue Jan 15, 2008 10:15 am    Post subject: Reply with quote

or you can just type in your local ip address and win Wink
_________________
0x7A 0x61 0x72 0x74

TEAM RESURRECTiON
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Wed Jan 16, 2008 9:47 am    Post subject: Reply with quote

Like zart said, local IP is the pass.

Start -> Run -> cmd
Type in 'ipconfig' without quotes in the console window and hit enter. Use the given local IP for the password.

This uses MSWINSOCK to obtain the local IP address. A guess at the code would simply be:

Code:
Private Sub Command1_Click()
    If Text1.Text = Winsock1.LocalIP Then
        MsgBox "nub how u did it -.-"
    Else
        MsgBox "bai"
    End If
End Sub


You have an extra function included so I would assume you use that to pull the IP for what ever reason. Looking at this in Olly:

Code:
00401FCB    8B45 E8         MOV EAX,DWORD PTR SS:[EBP-18]


The text contained in the textbox is loaded into EAX here.

Then a little further down you have:

Code:
00401FE6    50              PUSH EAX
00401FE7    8D45 CC         LEA EAX,DWORD PTR SS:[EBP-34]
00401FEA    50              PUSH EAX
00401FEB    FF15 50104000   CALL DWORD PTR DS:[<&MSVBVM60.__vbaLateI>; MSVBVM60.__vbaLateIdCallLd
00401FF1    83C4 10         ADD ESP,10
00401FF4    50              PUSH EAX
00401FF5    FF15 0C104000   CALL DWORD PTR DS:[<&MSVBVM60.__vbaStrVa>; MSVBVM60.__vbaStrVarMove
00401FFB    8BD0            MOV EDX,EAX
00401FFD    8D4D E4         LEA ECX,DWORD PTR SS:[EBP-1C]
00402000    FF15 94104000   CALL DWORD PTR DS:[<&MSVBVM60.__vbaStrMo>; MSVBVM60.__vbaStrMove
00402006    50              PUSH EAX
00402007    FF15 44104000   CALL DWORD PTR DS:[<&MSVBVM60.__vbaStrCm>; MSVBVM60.__vbaStrCmp


Which calls the Winsock object, polls your local IP, moves into into a variable, and then is compared to. Other then finding the password, you can crack this with a few different methods. Firstly, the easiest being:

Nop out the JE compare after the strcmp at:

Code:
00402061   /74 43           JE SHORT crack_me.004020A6


A cleaner crack method would be to remove the first push onto the compare stack which is your entered text, and push the correct ip twice.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Crackmes 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 cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites