LHook: Local Api Hooker coded in MASM!

Aici puteti posta software nou dezvoltat de dumneavoastra.
Software news and new software launch.

LHook: Local Api Hooker coded in MASM!

Post Number:#1  Postby CodeCracker » 30 Jan 2019 20:09

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
CodeCracker
Mediu
Mediu
Progress to next rank:
16%
 
Status: Offline
Posts: 58
Joined: 06 Feb 2016 14:04
Referred by: giv

Invitations sent: 0
Referrals: 2
Local time: 22 Apr 2019 21:53
Has thanked: 0 time
Been thanked: 60 times

Re: LHook: Local Api Hooker coded in MASM!

Post Number:#2  Postby CodeCracker » 23 Feb 2019 12:33

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.
Attachments
LHook_v3.rar
(726.93 KiB) Downloaded 19 times
CodeCracker
Mediu
Mediu
Progress to next rank:
16%
 
Status: Offline
Posts: 58
Joined: 06 Feb 2016 14:04
Referred by: giv

Invitations sent: 0
Referrals: 2
Local time: 22 Apr 2019 21:53
Has thanked: 0 time
Been thanked: 60 times


Return to Lansari de software

Who is online

Users browsing this forum: No registered users and 1 guest

cron