EasyHook recv doesn't “hook” all packets

前端 未结 3 1311
小蘑菇
小蘑菇 2021-02-10 14:04

I managed to write a semiworking EasyHook example that hooks recv function. I wrote a form, added a WebBrowser component, and started the application. The problem is, I get the

3条回答
  •  滥情空心
    2021-02-10 14:29

    Problem Solved. The line that created trouble was

    CreateRecvHook.ThreadACL.SetExclusiveACL(new Int32[] { 0 });
    

    I changed it to

    CreateRecvHook.ThreadACL.SetInclusiveACL(new Int32[] { 0 });
    

    and now everything works just fine. Thanks everybody :)

提交回复
热议问题