break a time, with break the c0de…

92 bytes displaying system temperature x86 linux shellcode


/*
Name   : 92 bytes displaying system temperature x86 linux shellcode
Date   : may, 31 2009
Author : gunslinger_ <yudha.gunslinger[at]gmail.com>
Web    : devilzc0de.com
blog   : gunslingerc0de.wordpress.com
tested on : linux debian
special thanks to : r0073r (inj3ct0r.com), d3hydr8 (darkc0de.com), ty miller (projectshellcode.com), jonathan salwan(shell-storm.org), mywisdom (devilzc0de.org), loneferret (exploit-db.com)
greetz to : flyff666, whitehat, ketek, chaer, peneter, cruz3n and all devilzc0de crew
*/

#include <stdio.h>

char *shellcode=
		"\x60\x31\xc0\x31\xd2\xb0\x0b\x52\x68\x6e\x2f"
		"\x73\x68\x68\x2f\x2f\x62\x69\x89\xe3\x52\x68"
		"\x2d\x63\x63\x63\x89\xe1\x52\xeb\x07\x51\x53"
		"\x89\xe1\xcd\x80\x61\xe8\xf4\xff\xff\xff\x2f"
		"\x62\x69\x6e\x2f\x63\x61\x74\x20\x2f\x70\x72"
		"\x6f\x63\x2f\x61\x63\x70\x69\x2f\x74\x68\x65"
		"\x72\x6d\x61\x6c\x5f\x7a\x6f\x6e\x65\x2f\x54"
		"\x48\x52\x4d\x2f\x74\x65\x6d\x70\x65\x72\x61"
		"\x74\x75\x72\x65"; 		

int main()
{
	fprintf(stdout,"Length: %d\n",strlen(shellcode));
	(*(void (*)()) shellcode)();

return 0;
}
Advertisements

5 responses

  1. If only more than 66 people would read this..

    June 15, 2010 at 3:10 pm

  2. Super great read! Truely..

    June 15, 2010 at 4:02 pm

  3. Really interesting writing. Honest.

    June 15, 2010 at 4:53 pm

  4. If only more than 66 people would read this..
    +1

    June 22, 2010 at 6:58 pm

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