 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Foolers How do I cheat?
Reputation: 0
Joined: 23 Jul 2010 Posts: 4
|
Posted: Fri Jul 23, 2010 3:00 pm Post subject: Packet Decoding Client Side |
|
|
I hope my subject fits what I'm trying to figure out.
The server sends an encrypted packet to my computer, and the game I am playing decrypts it some where...
I used Ollydbg and some break points to roughly sketch out in what function this happens in. I have a good idea, but what can I now do with this information? How can I parse the register to read the unencrypted packet? And no, I can't just read the memory, the program uses dynamic memory.
If anyone has any suggestions, I'm open to them
|
|
Back to top |
|
 |
warfreak How do I cheat?
Reputation: 0
Joined: 14 Apr 2010 Posts: 3
|
Posted: Sun Jul 25, 2010 11:06 am Post subject: re |
|
|
hi i have same problem but with difrent game
Last edited by warfreak on Mon Jul 26, 2010 5:27 am; edited 1 time in total |
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Jul 25, 2010 12:58 pm Post subject: |
|
|
Depends on the games function itself. In most cases you will have a buffer which will contain the unencrypted packet after the decryption was applied. In a lot of games that I've messed around with the decryption functions will usually take 4 params, something on the lines of:
decrypt_packet( size1, buffer1, size2, buffer2 )
size1 = encrypted packet size
buffer1 = encrypted packet buffer
size2 = decrypted packet size
buffer2 = decrypted packet buffer
(Keep in mind it might not be setup exactly the same and such.)
The packet size can be contained in the packet itself as well, some games append the size at the end, or to the beginning after the packet is encrypted too.
Follow the function back to what calls it and check the params. Then follow the function through and break at the end and recheck the params. In most cases you can find which param was a buffer for the decrypted packet.
The game might also use a static container for decrypting the packets, just look through the function you assume is doing the work.
Once the packets are decrypted, you can do a lot with them. As long as you reverse their information and are able to distinguish between packets you can write a bot to monitor for specific packets, do actions when a given packet is found etc.
_________________
- Retired. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|