View Single Post

Old 09-06-2008, 09:06 PM   #8 (permalink)
Zephyrix
Ereetu.
Senior Member
Game Hacking Staff

High Priest
 
Zephyrix's Avatar
 
Join Date: Oct 2005
Location: xor 1D27,1337
Posts: 1,572
Zephyrix is a name known to allZephyrix is a name known to allZephyrix is a name known to allZephyrix is a name known to all
Default

Don't use static addressess..
Use GetProcAddress to get the address.
Something like:
Code:
HANDLE hMod = GetModuleHandle("ws2_32.dll");
        mysendJmp.HookOneAPI(GetProcAddress(hMod, "send"),(FARPROC)hook_send);
	mysendJmp.SetHookOn();
        ...
Otherwise you could be hooking random addresses across different computers.
__________________


Zephyrix 15 0FF11|\|3   Reply With Quote