能力值:
( LV2,RANK:10 )
|
-
-
[原创]hookQQ-API拦截QQ聊天记录-有图有码
用QQ2012,delphi xe2重写,亲身试验,得到消息完全可以,但崩溃的是,当好友发消息过来时,会出现用户验证,当成是某陌生用户发过来的消息,注入之前完全正常。
另:
RichED20的CreateTextServices函数Hook注入劫持后,事件能够响应,但写入的内容无法获取,关键函数会出错,可能是C++转成delphi代码有问题 。
某些教程提出Hook 系统的ExtTextOutW函数,得出结果就没什么意义,因为只要一重绘,截到的留言就会乱七八糟,字符会错乱。 改用C++来写代码,居然成功了。DetourFunction要改成下面的代码:
DetourTransactionBegin();
DetourUpdateThread(GetCurrentThread());
DetourAttach(&(PVOID&)TrueSaveMsg_1, NewSaveMsg_1);
DetourTransactionCommit();
|
能力值:
( LV2,RANK:10 )
|
-
-
|