View Single Post
  #1  
Old 01-31-2019, 01:10
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 454
Rept. Given: 27
Rept. Rcvd 398 Times in 129 Posts
Thanks Given: 21
Thanks Rcvd at 1,823 Times in 349 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
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
Attached Files
File Type: rar LHook.rar (722.4 KB, 40 views)
Reply With Quote
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:
ahmadmansoor (01-31-2019), Apuromafo (02-01-2019), floaters (03-10-2019), HooK (02-11-2019), Indigo (07-19-2019), mrfearless (01-31-2019), niculaita (02-01-2019), p4r4d0x (01-31-2019), tonyweb (01-31-2019), user1 (02-01-2019), zeuscane (01-31-2019)