EasyHook recv doesn't “hook” all packets

前端 未结 3 1763
粉色の甜心
粉色の甜心 2021-02-10 14:02

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:31

    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 :)

提交回复
热议问题