Skip to content

peter2500zz/hexphage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexphage

使用

请根据目标程序选择32位或64位的程序

在此程序的目录下创建 inj.yml 文件

cmd: notepad.exe

之后双击此程序即可启动

对于 DLL 注入,请添加 dlls 字段

cmd: notepad.exe
dlls:
  - mylib.dll
  - C:/path/to/another.dll

可选字段 dir 将会指定程序运行目录

cmd: game/start.exe
dir: game
dlls:
  - plugin.dll

构建

需要 cargo 与 MSVC 工具链

根据需求,启动32位/64位的 Visual Studio Developer 终端

git clone https://github.com/peter2500zz/hexphage
cd hexphage
git submodule init
git submodule update

使用 cargo 构建

# 对于32位
cargo build --release --target i686-pc-windows-msvc
# 对于64位
cargo build --release --target x86_64-pc-windows-msvc

About

detours dll injection wrapper

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages