Reversing - Intro to Reversing 1

  • download
  • unzip
  • open in radare2
[0x000007a0]> aaa
[0x000007a0]> afl~main
[0x000007a0]> s main
[0x000008aa]> pdf
|           0x00000901      488d35780100.  lea rsi, str.y0u_5h3ll_p455 ; 0xa80 ; "y0u_5h3ll_p455" ; const char *s2
|           0x00000908      4889c7         mov rdi, rax                ; const char *s1
|           0x0000090b      e850feffff     call sym.imp.strcmp         ; int strcmp(const char *s1, const char *s2)

  • read the password
$ nc hax1.allesctf.net 9600

Give me your password: 
y0u_5h3ll_p455
Thats the right password!
Flag: CSCG{ez_pz_reversing_squ33zy}