arsium / HookLib

A library to hook functions !

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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();

About

A library to hook functions !


Languages

Language:C# 100.0%