我一直在尝试将内存从一个模块复制到一个模块大小,而不需要 5 年的时间,而且我的计算机的 CPU 比天空还高。
我放在一起的这个脚本在 Cheat Engine LUA 中,它通过读取复制内存,然后在一行上打印每个字节,以便我可以使用它来写入分配的空间(memcopy // newmem2):
autoAssemble[[
alloc(newmem2, 2048)
label(memcopy)
registerSymbol(memcopy)
newmem2:
memcopy:
]]
for i = 0x00, getModuleSize("Notepad.exe") do
x = readBytes(getAddress("Notepad.exe+0" .. string.format("%x", i)))
if (string.len(x) == 1) then
print(x .. "0")
else
print(string.upper(string.format("%x", x)))
end
if (isKeyPressed(VK_F) == true) then break end
end
我基本上是在尝试在分配的空间中重新创建确切的模块(我不在脚本中编写内存)。
非常感谢您的帮助!