Quote:
Originally Posted by konsowa
I know that that exists but the way im doing my hooking is thru detours.
Basically i inject a dll that hooks the clients functions as of now i have hooked 4 functions the send, recv, Connect, and ShellExecute.
In my connect function i change the ip/port that the client connects to to my ip/port and thus i have all the packets going thru my proxy. I managed to find a auth decryption/encryption method posted here on epvp which works but what i have failed at doing is converting these decrypted packets to strings, which wud normally be something like Encoding.ASCII.GetString(Packet) but it does not give me the expected results :/
|
If you hook in the right places, you can get the pre-encrypted packets for sending and post-decrypted packets for the receiving side of things.
That's what is covered in the example hawtness posted. Basically it lets you bypass all the encryption side of things and just focus on writing your bot.
Also... what are you expecting to see when doing Encoding.ASCII.GetString? That's only going to return the ASCII representation of the various bytes in the array (which, unless there's a string inside the packet will look like jibberish)
Here's an example packet log from ages ago. Note how the only thing in the ascii side that's plain text (in most cases) is just the server seal? That's because the rest is not in a string format at any point.