Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/forentfraps/winhook

hooking library
https://github.com/forentfraps/winhook

hooks winapi windows

Last synced: about 1 month ago
JSON representation

hooking library

Awesome Lists containing this project

README

        

# winhook

Decided to write a hooking library for windows, mainly for future projects :D

It utilises external disassembler, since writing my own would take ages. Hook, which it creates is not a simple trampoline and actually lets the function run normally.

## Usage
Add all ".c" and ".h" files to your project.

Include the winhook.h.

Modify the decoy functions in the header to match the arguments of the hooked function and put the decoy at the end of the function.

Example usage is provided in the test.c

## TODO:
- Check for jump tables, and\or IAT
- Add an option to hook into remote process
- Skim down Zydis, since I do not utilise most of it functionality