View previous topic :: View next topic |
Author |
Message |
Cx Master Cheater Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Sun Aug 05, 2007 9:48 am Post subject: crackcocaine |
|
|
2nd crackme. kinda medium-ish.
feel free to patch it, but the real challenge is to find the password.
I was too lazy for exceptions, so it'll crash if you don't input an integer (so now you know what type of data the password is).
no goto or other pointless code that just makes crackmes annoying.
encrypted the text and made it difficult to find. if you do manage to trace, you just need to do some easy math to find the password.
refresh if you can't see it attached.
_________________
armed with this small butterfly net
i will face the world alone
& never be lonely. |
|
Back to top |
|
|
haha01haha01 Grandmaster Cheater Supreme Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Mon Aug 06, 2007 3:35 am Post subject: |
|
|
i think thats da part controlling the wrong msg
Code: | 00401161 |> 8B55 B8 /MOV EDX,DWORD PTR SS:[EBP-48]
00401164 |. 83C2 01 |ADD EDX,1
00401167 |. 8955 B8 |MOV DWORD PTR SS:[EBP-48],EDX
0040116A |> 837D B8 05 CMP DWORD PTR SS:[EBP-48],5
0040116E |. 7D 2D |JGE SHORT crackcoc.0040119D
00401170 |. 8B45 B8 |MOV EAX,DWORD PTR SS:[EBP-48]
00401173 |. 0FBE4C05 E0 |MOVSX ECX,BYTE PTR SS:[EBP+EAX-20]
00401178 |. 8B55 B8 |MOV EDX,DWORD PTR SS:[EBP-48]
0040117B |. 0FBE4415 C4 |MOVSX EAX,BYTE PTR SS:[EBP+EDX-3C]
00401180 |. 33C8 |XOR ECX,EAX
00401182 |. 8B55 B8 |MOV EDX,DWORD PTR SS:[EBP-48]
00401185 |. 884C15 E0 |MOV BYTE PTR SS:[EBP+EDX-20],CL
00401189 |. 8B45 B8 |MOV EAX,DWORD PTR SS:[EBP-48]
0040118C |. 8A4C05 E0 |MOV CL,BYTE PTR SS:[EBP+EAX-20]
00401190 |. 51 |PUSH ECX ; /Arg1
00401191 |. B9 308A4000 |MOV ECX,crackcoc.00408A30 ; |
00401196 |. E8 A5000000 |CALL crackcoc.00401240 ; \crackcoc.00401240
0040119B |.^EB C4 \JMP SHORT crackcoc.00401161 |
may i ask something?
what is the msg supposed to be when u win?
i think i cracked this but i get no msg (not wrong)
so.... iunno
Last edited by haha01haha01 on Mon Aug 06, 2007 8:05 am; edited 1 time in total |
|
Back to top |
|
|
Zombi3 Expert Cheater Reputation: 0
Joined: 02 Aug 2007 Posts: 144
|
Posted: Mon Aug 06, 2007 6:08 am Post subject: |
|
|
Stuck A+ crackme
haha01haha01 the msg is WIN and bp exitprocess to see the message
|
|
Back to top |
|
|
haha01haha01 Grandmaster Cheater Supreme Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Mon Aug 06, 2007 8:04 am Post subject: |
|
|
O.o? rly? am i so idiot. the program doesnt even reach exitprocess.
|
|
Back to top |
|
|
Zombi3 Expert Cheater Reputation: 0
Joined: 02 Aug 2007 Posts: 144
|
Posted: Mon Aug 06, 2007 8:08 am Post subject: |
|
|
haha01haha01 wrote: | O.o? rly? am i so idiot. |
Then solve it actually it does ....
|
|
Back to top |
|
|
haha01haha01 Grandmaster Cheater Supreme Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Mon Aug 06, 2007 8:09 am Post subject: |
|
|
did u solve it alredy? no. so leave other ppl alone, u shouldnt care about how much time it take me to crack it.
|
|
Back to top |
|
|
Zombi3 Expert Cheater Reputation: 0
Joined: 02 Aug 2007 Posts: 144
|
Posted: Mon Aug 06, 2007 8:11 am Post subject: |
|
|
haha01haha01 wrote: | did u solve it alredy? no. so leave other ppl alone, u shouldnt care about how much time it take me to crack it. |
HOW RUDE...
|
|
Back to top |
|
|
haha01haha01 Grandmaster Cheater Supreme Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Mon Aug 06, 2007 8:12 am Post subject: |
|
|
ooh, sorry... did i hurt ur feelings?
|
|
Back to top |
|
|
Zombi3 Expert Cheater Reputation: 0
Joined: 02 Aug 2007 Posts: 144
|
Posted: Mon Aug 06, 2007 8:15 am Post subject: |
|
|
haha01haha01 wrote: | ooh, sorry... did i hurt ur feelings? |
Take it easy on me please i am only 14½ and its giving me a headache
|
|
Back to top |
|
|
haha01haha01 Grandmaster Cheater Supreme Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Mon Aug 06, 2007 8:19 am Post subject: |
|
|
lol.
while ur whining here i found the trick how that program work.
some mins more and it will get cracked.
|
|
Back to top |
|
|
Zombi3 Expert Cheater Reputation: 0
Joined: 02 Aug 2007 Posts: 144
|
Posted: Mon Aug 06, 2007 8:20 am Post subject: |
|
|
haha01haha01 wrote: | lol.
while ur whining here i found the trick how that program work.
some mins more and it will get cracked. |
Great i would love to see how the algo works
|
|
Back to top |
|
|
haha01haha01 Grandmaster Cheater Supreme Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Mon Aug 06, 2007 8:24 am Post subject: |
|
|
ye.
to bad ill have no time to finish it now.
but i hope i will.
after all the only thing that can get xorED and then be 0 is 0 right? then ecx must be 0.
|
|
Back to top |
|
|
Zombi3 Expert Cheater Reputation: 0
Joined: 02 Aug 2007 Posts: 144
|
Posted: Mon Aug 06, 2007 8:27 am Post subject: |
|
|
haha01haha01 wrote: | ye.
to bad ill have no time to finish it now.
but i hope i will.
after all the only thing that can get xorED and then be 0 is 0 right? then ecx must be 0. |
No Comment
|
|
Back to top |
|
|
haha01haha01 Grandmaster Cheater Supreme Reputation: 0
Joined: 15 Jun 2007 Posts: 1233 Location: http://www.SaviourFagFails.com/
|
Posted: Mon Aug 06, 2007 8:33 am Post subject: |
|
|
by entering -10 u make edx 0. but eax is getting input from somewhere else. if i find that input source ill be able to change eax to 0, making ecx 0, making the program not jump to the "wrong" line
|
|
Back to top |
|
|
Zombi3 Expert Cheater Reputation: 0
Joined: 02 Aug 2007 Posts: 144
|
Posted: Mon Aug 06, 2007 8:38 am Post subject: |
|
|
haha01haha01 wrote: | by entering -10 u make edx 0. but eax is getting input from somewhere else. if i find that input source ill be able to change eax to 0, making ecx 0, making the program not jump to the "wrong" line |
making this and making that wouldn't help you understand the encryption/decryption algo your just taking the quick way out...
|
|
Back to top |
|
|
|