diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-01-22 06:16:39 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-01-22 06:16:39 +0100 |
commit | 14b33f1b7c5c761cc089dede4fa6aeb187ff66ac (patch) | |
tree | df5f2aed70c872d7bc3059e2dc6de6c78fb17f90 /run-shellcode.sh | |
parent | Add custom 64bit shellcode and preserve stderr. (diff) | |
download | CVE-2012-0056-14b33f1b7c5c761cc089dede4fa6aeb187ff66ac.tar.xz CVE-2012-0056-14b33f1b7c5c761cc089dede4fa6aeb187ff66ac.zip |
Add 32bit shellcode.
Diffstat (limited to 'run-shellcode.sh')
-rwxr-xr-x | run-shellcode.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/run-shellcode.sh b/run-shellcode.sh deleted file mode 100755 index 5ffcf39..0000000 --- a/run-shellcode.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -nasm -o /dev/stdout shellcode-64.s | msfencode4.0 -t c -e generic/none -b '\x00' > harness.c && echo "void main() { (*(void(*)())buf)(); }" >> harness.c && gcc -fno-stack-protector -z execstack -o harness harness.c && ./harness |