summaryrefslogtreecommitdiff
path: root/exploits/7350wurm/shellcode/t.c
diff options
context:
space:
mode:
Diffstat (limited to 'exploits/7350wurm/shellcode/t.c')
-rw-r--r--exploits/7350wurm/shellcode/t.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/exploits/7350wurm/shellcode/t.c b/exploits/7350wurm/shellcode/t.c
new file mode 100644
index 0000000..7c1aa4f
--- /dev/null
+++ b/exploits/7350wurm/shellcode/t.c
@@ -0,0 +1,12 @@
1
2#include <stdio.h>
3
4int
5main (int argc, char *argv[])
6{
7 char * foo[4] = { "./codedump", "a", "b", NULL };
8
9 execve (foo[0], foo, NULL);
10}
11
12