summaryrefslogtreecommitdiffstats
path: root/templates/shellcode/exit64.asm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/shellcode/exit64.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/shellcode/exit64.asm b/templates/shellcode/exit64.asm
new file mode 100644
index 0000000..fb899a2
--- /dev/null
+++ b/templates/shellcode/exit64.asm
@@ -0,0 +1,8 @@
+[SECTION .text]
+global _start
+
+_start:
+ xor rdi, rdi
+ mov al, 0x3c
+ cdq
+ syscall