RE:crackme - Radare2

mr_rebop@REBOP71337:~/bin/re$ ./crackme
Please tell me my password: 12345
No! No! No! No! Try again.

mr_rebop@REBOP71337:~/bin$ ./r2 -A ./re/crackme

[0x00001160]> pdf@main
[0x00001160]> oo+
[0x00001160]> s 0x000013f5

[0x000013f5]> wa mov eax, 0;
Written 5 byte(s) (mov eax, 0) = wx b800000000

prima :

0x000013f2 mov rdi, rax
0x000013f5 call sym.compare
0x000013fa test eax, eax
0x000013fc jne 0x1420
0x000013fe mov rax, qword [obj.stdout]

dopo :

0x000013f2 mov rdi, rax
0x000013f5 mov eax, 0
0x000013fa test eax, eax
0x000013fc jne 0x1420
0x000013fe mov rax, qword [rip + 0x2c1b]

mr_rebop@REBOP71337:~/bin$ ./re/crackme
Please tell me my password: 12345
The password is correct!
Congratulations!!!

Categories: Share

Leave a Reply