从 Windows shellcode 中获取空字节

问题描述 投票:0回答:1

有问题的代码:

mov ebx, fs:30h

后续的shellcode:

648b1d30000000

我似乎不知道如何在没有空字节的情况下编写这个。

提前致谢。

assembly x86-64 shellcode
1个回答
0
投票

这对我有用:

xor ebx, ebx
add ebx, 30h
mov ebx, fs:[ebx]
© www.soinside.com 2019 - 2024. All rights reserved.