我知道我想要挂的函数是"ac_client.exe“+63 to。如何找出正在运行的可执行文件的基址?
发布于 2016-10-14 09:16:27
使用GetModuleHandler。传入NULL
,如下所示:
GetModuleHandler(NULL);
它将返回当前运行的模块( .exe
)的句柄,这实际上是它的基本地址。
如果您想知道不同(已加载)模块的基址,如DLL
,则只需传递其名称即可。
发布于 2020-05-12 03:47:22
最快速的解决方案,尤其是游戏黑客,在那里GetModuleHandle可能会上钩。
const auto peb = reinterpret_cast<PPEB>(__readfsdword(0x30));
const auto base = peb->Reserved3[1];
https://stackoverflow.com/questions/40048571
复制相似问题