[Code-Crunchers] 36 byte shellcode to chmod("/etc/shadow", 0666) and exit for Linux/x86
Kris Katterjohn
kjak at ispwest.com
Fri Nov 17 12:09:49 CST 2006
This shellcode does a chmod("/etc/shadow", 0666) and exits in 36 bytes
on Linux/x86.
Also at http://packetstormsecurity.nl/shellcode/chmodshadow.c
Hey Mike, this is an example from when I didn't use the double-slash and
did two separate PUSHes (ugly!). An extra byte can be removed from this
by using the double-slash. I quickly discovered this after it was on PSS
-Kris
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: chmodshadow.c
Url: http://whitestar.linuxbox.org/pipermail/code-crunchers/attachments/20061117/d0350e3e/attachment.diff
More information about the Code-Crunchers
mailing list