summaryrefslogtreecommitdiffstats
path: root/templates/shellcode/exit32.asm
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-08-22 06:03:20 -0400
committerMalfurious <m@lfurio.us>2021-08-22 06:03:20 -0400
commit9a5f29e228846a2a7fda8497e72c94cad516376c (patch)
tree82d4b5d5237198fca221548f144aeaf1d27350d8 /templates/shellcode/exit32.asm
parente9cb4e14009a9ea3cbd08c2c4992d0e24b69e097 (diff)
downloadlib-des-gnux-9a5f29e228846a2a7fda8497e72c94cad516376c.tar.gz
lib-des-gnux-9a5f29e228846a2a7fda8497e72c94cad516376c.zip
Add sys_exit shellcode templates
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to '')
-rw-r--r--templates/shellcode/exit32.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/shellcode/exit32.asm b/templates/shellcode/exit32.asm
new file mode 100644
index 0000000..559c89c
--- /dev/null
+++ b/templates/shellcode/exit32.asm
@@ -0,0 +1,8 @@
+[SECTION .text]
+global _start
+
+_start:
+ xor ebx, ebx
+ xor eax, eax
+ mov al, 0x1
+ int 0x80