![]() |
|
|
|
#1
|
|||
|
|||
|
LHook: Local Api Hooker coded in MASM!
LHook:
Local Api Hooker coded in MASM! LHook.asm start contains all examples you will need on the wild: start: invoke Hook, ADDR UserModuleName, ADDR MsgBoxApiName, ADDR MessageBoxTypeChange ; hook MessageBoxA api, ADDR MessageBoxTypeChange is the address called invoke UnHook, ADDR UserModuleName, ADDR MsgBoxApiName ; unhook MessageBoxA api |
| The Following User Gave Reputation+1 to CodeCracker For This Useful Post: | ||
user1 (02-01-2019) | ||
| The Following 11 Users Say Thank You to CodeCracker For This Useful Post: | ||
|
#2
|
|||
|
|||
|
Version 3 out
In version 2:
- Now you can hook an Api multiple times; - Fixed jump/call instructions Version 3 out: - Now converts long jumps back to short jumps when possible I opted for instructions fix-ups not backups. Hopefully this is the final version if everything works like it should. |
|
#4
|
|||
|
|||
|
Alternatively you can get the source code from:
https://gitlab.com/CodeCracker/lhook https://github.com/CodeCrackerSND/LHook https://bitbucket.org/CodeCrackerSND/lhook/src |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| write loader with memory hooker | mcr4ck | General Discussion | 7 | 06-02-2024 21:08 |