首页
社区
课程
招聘
[求助]调用CreateToolhelp32Snapshot时失败
发表于: 2012-8-11 15:55 5974

[求助]调用CreateToolhelp32Snapshot时失败

2012-8-11 15:55
5974
我写了一个dll注入到explorer.exe中,当在dll中调用CreateToolhelp32Snapshot时失败,lasterror返回值是299。同样的方式在win7 64中也是返回299.(win7 64中目标pid是32、64都是失败)

[课程]FART 脱壳王!加量不加价!FART作者讲授!

收藏
免费 0
支持
分享
最新回复 (2)
雪    币: 34
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
如果指定的进程是64-bit进程, 而调用者是32-bit进程, 调用会失败
2012-8-18 06:35
0
雪    币: 2134
活跃值: (14)
能力值: (RANK:170 )
在线值:
发帖
回帖
粉丝
3
是的,碰到这种问题尽量自己查msdn

299: Only part of a ReadProcessMemory or WriteProcessMemory request was completed.

th32ProcessID [in]

If the specified process is a 64-bit process and the caller is a 32-bit process, this function fails and the last error code is ERROR_PARTIAL_COPY (299).
2012-8-18 08:31
0
游客
登录 | 注册 方可回帖
返回
//