You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xerox
b2a388dd58
|
5 years ago | |
---|---|---|
LICENSE | 5 years ago | |
README.md | 5 years ago | |
hook.hpp | 5 years ago | |
main.cpp | 5 years ago | |
shithook.sln | 5 years ago | |
shithook.vcxproj | 5 years ago | |
shithook.vcxproj.filters | 5 years ago | |
shithook.vcxproj.user | 5 years ago |
README.md
shithook
A c++ header only library for inline hooking on windows. Supports 64 bit and 32 bit applications. Small, simple, and easily detected :)
usage
Installing the hook/Init.
hook::make_hook(
&WriteFile, //address to put inline hook at.
&HookWriteFile //address to jmp too.
);
Disabling the hook so you can call the original function.
hook::disable(&WriteFile);
WriteFile(.....)
Enabling the hook.
hook::enable(&WriteFile);