About hooks, and missing server functions
#8

A Hook is a dll, that you write somewhere in the .exe files to load an dll. In another place of the code will will load the functions or mehods from the dll.

 

For example the server will receive some packets.

 

Implementing a Hook is simple just learn how to use LoadLibrary function.

//at initialization
push "my.dll"
call Kernel32.LoadLibrary

Using the dll will be:

switch(packet){
case 10:
do something;
...
default:
launch your function
}
; my.myfunction is an address(the packet will be process by the function)
push packet_size
push packet_offset
call my.myfunction

 

More info about the load library:

2



Messages In This Thread
[No subject] - by Wizatek - 02-05-2012, 02:00 PM
[No subject] - by Koko - 02-05-2012, 02:46 PM
[No subject] - by Wizatek - 02-05-2012, 03:02 PM
[No subject] - by illusionist - 02-05-2012, 03:54 PM
[No subject] - by HateMe - 02-05-2012, 04:22 PM
[No subject] - by CADH - 02-05-2012, 05:27 PM
[No subject] - by fabi202cool - 02-06-2012, 12:15 AM
[No subject] - by someone - 02-06-2012, 11:37 AM
[No subject] - by Koko - 02-06-2012, 01:49 PM
[No subject] - by Falo - 02-12-2012, 12:48 AM
[No subject] - by Wizatek - 02-12-2012, 01:56 AM
[No subject] - by illusionist - 02-13-2012, 01:46 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)