diff --git a/README.md b/README.md index 01044b5..88f652d 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # shithook -An inline hooking library for windows. +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. ```cpp -hook::install( - &WriteFile, //address to put inline hook at. - &HookWriteFile //address to jmp too. +hook::make_hook( + &WriteFile, //address to put inline hook at. + &HookWriteFile, //address to jmp too. ); ``` @@ -21,11 +21,4 @@ Disabling the hook so you can call the original function. Enabling the hook. ``` hook::enable(&WriteFile); -``` - -# info - -All hooks are stored inside of a `std::map>` for quick and easy access to each object. All functions -interacting with this vector will use the address of the inline hook as the key so make sure the address is easy to access in your code! - -Keep in mind that this is an inline hooking library so you will need to uninstall the hook to call the actual function. Dont forget to reinstall your hooks! \ No newline at end of file +``` \ No newline at end of file