Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 351 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 351 Bytes

HookLib

A library to hook functions locally !

How to use it ?

byte[] ret_opcode = { 0xC3 }; //ret asm opcode
HookLib.HookLib your_hook;
your_hook = new HookLib.HookLib(Process.GetCurrentProcess().Handle, "alibrarynamelikekernel32", "functionnameliketerminateprocess", ret_opcode);
your_hook.HookedFunction();
your_hook.UnHookedFunction();