diff --git a/README.md b/README.md index ce17377..a6c2c01 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +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); +``` \ No newline at end of file