-
Elite Member
hooking .DLL file
Can someone teach me how to hook .dll file in .exe files here?
-
-
Sorcerer Supreme
Re: hooking .DLL file
Sure...
1. Open the main.exe with ollydbg (Download it if you dont have it) and look at which offset you are. Then write the offset down (maybe into a txt file or just at a sheet of paper
2. Search some free space
3. Choose 1 Free Offset follow it into the dumb (RB->Follow to Dumb->Selection) and write there the name of your dll
4. Next go to some other free offsets and write Push (and the offset of your .dll)
5. Now you need to Load the Dll... to get the command on an easy way we just search it :)
Press CTRL+N (STRG +N) a new window will open and then type LoadLibraryA and when you see this just follow it (press enter when you are at the command) Another window will pop up. Follow 1 of the call dword.. commands (mark it and press enter)
6. now you are at the command just press space and copy that command then go back to your push command (the one you just added) and paste the command you just copied. And next write jmp (the offset you wrote down at step 1)
7. Now Press the RB->copy->copy All, RB->Copy To Executable->Selection
a new window will pop up go into it press RB and do save file and you are done.
afterwards you can change the Entry Point to the Offset of your dll by useing PE EXPLORER (a very nice tool)
But don't forget if you are hooking more then 1 dll the jmp command of the first dll must be the offset of the push command of the second dll and the jmp of the second dll should be the original entry point.
-
Elite Member
-
Sorcerer Supreme
-
Elite Member
Re: hooking .DLL file
but sir KING5, will this work in Flyff?? cause what I know is it is for MU, but tnx anyway