Hi.
I am loading my .dll into WoW right after I start it to hook some functions to grab information.
My problem is just that I can't log in because of the corrupt file check.
Any hint how I can bypass this?
Thank you.
Hi.
I am loading my .dll into WoW right after I start it to hook some functions to grab information.
My problem is just that I can't log in because of the corrupt file check.
Any hint how I can bypass this?
Thank you.
You can find the CRC function easily by placing an on read hwbp somewhere in the code section, if you didn't already find it somewhere around here in a dump or something.
I hacked 127.0.0.1
Thats what I did.
I also tried to free the DLL before the checksum-function (I am hooking the function at 0x00948ED0) got executed.
Does Detours restore the original state after I call DetourDetach() ? Maybe that could be the reason that Detours ****s it up, I think I stop using it and do it myself...
Btw, the checksum-function computes which data? Only .text or more ?
Gotta start reversing it a bit later...
DetourDetach() should restore the original function, maybe you've forgotten to unhook some functions?
And I'm pretty sure it does only compute .text, but I'm afraid I can't check if I'm right since I don't have WoW installed anymore.
The CRCHook should look like this:
UnHookFunctions() Should call DetourDetach() on all your wow function Hooks and return true if it succedes.Code:MyCRCHook(){ /*dunno the arguments*/ if(!UnHookFunctions()){/*Error Handling here*/} oCRCFunction(); if(!HookFunctions()) {/*Error Handling here*/} }
HookFunctions() should reinstall your Hooks and return true on success.
EDIT: omg don't free the DLL, that's just not what you want <_<
Last edited by Xarg0; 07-31-2009 at 10:38 AM.
I hacked 127.0.0.1
No, I just wanted to try if it changes something what it doesn't.Code:EDIT: omg don't free the DLL, that's just not what you want <_<
Well, just a idea, tell me if its stupid:
1. Compute crc of original .text Edit: Ok, of everything which to functions normaly hashes
2. Hook the crc function
3. If WoW calls it, return the value computed in Step 1 instead.
Or maybe I look at WowME .. could help. ;>
Thanks
Last edited by flo8464; 07-31-2009 at 11:13 AM.
inb4cloze
(filler)
I hacked 127.0.0.1