https://github.com/niklasb/winhook
https://github.com/niklasb/winhook
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/niklasb/winhook
- Owner: niklasb
- Created: 2015-01-20T14:40:07.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-21T12:20:50.000Z (over 11 years ago)
- Last Synced: 2025-02-26T00:49:53.619Z (over 1 year ago)
- Language: C++
- Size: 121 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Usage
1. Install [Windows SDK 7.1](http://www.microsoft.com/en-us/download/details.aspx?id=8279)
or any other distribution that contains the MSVC compiler (cl).
2. Open SDK Console (e.g. `Start -> All Program -> Microsoft Windows SDK 7.1 -> Windows SDK 7.1 Command Prompt`).
3. Type `setenv /x86 /debug`.
4. Use the `build` script to build the `injector.exe` and `cheat.dll`.
5. Use `injector cheat.dll` to inject the DLL into the target process with the given EXE name.
Usually the DLL will unload itself whenever it loses connection to the injector or when the `exit` command is used.
In case this should not work in some cases, you can use `injector -u cheat.dll` to force the unload manually.