https://github.com/caledoniaproject/dll-hijack-code-generator
https://github.com/caledoniaproject/dll-hijack-code-generator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/caledoniaproject/dll-hijack-code-generator
- Owner: CaledoniaProject
- Created: 2017-02-04T15:09:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T01:49:41.000Z (almost 3 years ago)
- Last Synced: 2025-04-03T07:51:23.035Z (about 1 year ago)
- Language: Python
- Size: 4.88 KB
- Stars: 42
- Watchers: 4
- Forks: 24
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DLL劫持代码生成器
读取DLL符号表,然后根据符号表生成可编译的DLL源代码。默认代码块为空,用户需要自行填充。
1. dll-hijack-simple.py: 直接覆盖目标方法,可以根据DLL直接生成,或者使用EXE+DLL名字生成
2. dll-hijack-with-callback.py: 类似detour hook,先执行代码再透传调用原始函数,老文件名字需要复制为 new_xxx.dll
### 缺陷
不支持C++