From 7ee254b0200d0fc0a2f0f96ecd8cc90e391a7c9b Mon Sep 17 00:00:00 2001 From: xerox Date: Sat, 11 Apr 2020 09:01:31 +0000 Subject: [PATCH 1/5] Update README.md --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 01044b5..58f019a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shithook -An inline hooking library for windows. +An inline hooking library for windows. Supports 64 bit and 32 bit applications. # usage @@ -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 From 62b0f81c6e05147de98f9bc40b5822c372f3ba54 Mon Sep 17 00:00:00 2001 From: xerox Date: Sat, 11 Apr 2020 09:02:30 +0000 Subject: [PATCH 2/5] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 58f019a..4a6c11c 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,10 @@ An inline hooking library for windows. Supports 64 bit and 32 bit applications. 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. + false //you dont need to install the hook when you make one ); ``` From 519645cef51cbac1a68175d06b8891c0561de924 Mon Sep 17 00:00:00 2001 From: xerox Date: Sat, 11 Apr 2020 09:02:40 +0000 Subject: [PATCH 3/5] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 4a6c11c..c85a61e 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ Installing the hook/Init. hook::make_hook( &WriteFile, //address to put inline hook at. &HookWriteFile, //address to jmp too. - false //you dont need to install the hook when you make one ); ``` From 11804b0a4d595fdd3824db9d30a7a32b3bd78240 Mon Sep 17 00:00:00 2001 From: xerox Date: Sat, 11 Apr 2020 09:03:18 +0000 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c85a61e..8f10987 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shithook -An inline hooking library for windows. Supports 64 bit and 32 bit applications. +A c++ header only library for inline hooking on windows. Supports 64 bit and 32 bit applications. Small, simple, clean. # usage From 9c8537aa1dc039dac25135fb79a512a9e77ce24a Mon Sep 17 00:00:00 2001 From: xerox Date: Sat, 11 Apr 2020 09:03:45 +0000 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8f10987..88f652d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shithook -A c++ header only library for inline hooking on windows. Supports 64 bit and 32 bit applications. Small, simple, clean. +A c++ header only library for inline hooking on windows. Supports 64 bit and 32 bit applications. Small, simple, and easily detected :) # usage