x-nas / WinsockPacketEditor

WPE x64 is a Windows software that can intercept and modify WinSock packets, with adaptive support for 32-bit and 64 bit target programs WPE x64 是一款可以拦截并修改 WinSock 封包的 Windows 软件,自适应支持 32 位及 64 位的目标程序
https://www.wpe64.com
MIT License
274 stars 73 forks source link

STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine #1

Closed MichaelVanHouHei closed 2 years ago

MichaelVanHouHei commented 2 years ago

开始注入目标进程 =>> LdVBoxHeadless 出现错误:STATUS_INTERNAL_ERROR: Unknown error in injected C++ completion routine. (Code: 15) 作者你好 , 雷電模擬器注入失敗 , 我自己用C#調用easyhook也出現同樣的問題

x-nas commented 2 years ago

你试试看用管理员权限启动C#然后再调用easyhook

MichaelVanHouHei commented 2 years ago

就是管理員開的哦 試過用powershell unlock所有restrictions ,加上管理員權限還是inject不了 自已之前用easyhook 做也失敗,然後這個project 測試一下也失敗 不知道是不是我window10的版本問題

x-nas commented 2 years ago

这个问题我在easyhook的git上看到有很多人提出来了,作者也没给一个明确的说法,我的win10是企业版打了最新的补丁,暂时还没碰到这个问题,我感觉还是跟权限有关,你再试试把easyhook注册到GAC看

MichaelVanHouHei commented 2 years ago

感謝回覆 小弟考完試後研究一下 , 希望可以加入幫忙開發

MichaelVanHouHei commented 2 years ago

for those people who suffer this problem , probably as @x-nas mentioned , just simply copy the easyhook dll to C:\Windows\assembly or using gacutil /i [easyhook dll] to solve this problem

MichaelVanHouHei commented 2 years ago

image

x-nas commented 2 years ago

Nice Work!

MichaelVanHouHei commented 2 years ago

作者 , 如果把wpf 做成dll inject進去發現找不到entry point , 經網上查找我改了app.xaml的build action 也不行 , 想請教一下作者如果是使用wpf如果做到? 因為wpf不像winform有program cs , 我有試過自創main 也不行