Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 754 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 754 Bytes

dll-hijack

Build status

DLL hijack codes for cmake on windows.

Usage

Compile

Requirements: cmake, mingw gcc, ninja. Use code below or simply run ./build.sh

mkdir build
cd build
cmake -GNinja ..
ninja

Generate code for existing system dll

Requirements: bash (msys2), gendef (mingw)

  1. Run gen_code.sh ${name}.dll
  2. Modify ${name}.c with codes you want to execute when dll attached or detached.
  3. Compile (check previous part)

Credits