parent
f070ea4a49
commit
3ca37aff06
@ -1,3 +1,18 @@
|
||||
# shithook
|
||||
|
||||
An inline hooking library for windows. I had issues with other public hooking libraries so I made my own stinker.
|
||||
|
||||
# usage
|
||||
|
||||
Installing the hook/Init.
|
||||
```cpp
|
||||
Hook::Install(
|
||||
(uintptr_t) &WriteFile, //address to put inline hook at.
|
||||
(uintptr_t) &HookWriteFile //address to jmp too.
|
||||
);
|
||||
```
|
||||
|
||||
Disabling the hook so you can call the original function.
|
||||
```cpp
|
||||
Hook::Disable((uintptr_t)&WriteFile);
|
||||
```
|
Loading…
Reference in new issue