perfect dll proxy
1.0.0
不久前,我需要一个代理来执行DLL劫持,但是我不喜欢现有解决方案如何生成ASM存根来处理转发。事实证明,有一个窍门可以向前迈进,可以使用绝对路径:
# pragma comment(linker,
" /EXPORT:CredPackAuthenticationBufferA= \\ . \ GLOBALROOT \ SystemRoot \ System32 \ credui.dll.CredPackAuthenticationBufferA "
)有关更多信息,请参见参考。
要自动生成一个DLL,该DLL导出所有内容并加载任意DLL(无拦截功能),请查看以下项目:https://github.com/namazso/dll-proxy-generator
python -m pip install pefile
python perfect-dll-proxy.py credui.dll