issy123 / agario-protocol

Protocol for agar.io version 2.1.5
8 stars 2 forks source link

Share #2

Closed kscc25 closed 8 years ago

kscc25 commented 8 years ago

Can you share us on how you do reverse engineering to get these protocol specification? For example, which tools do you use? This is important because other (many) people can help maintaining the specficiation.

issy123 commented 8 years ago

Hi!

I mostly got this information from others who are trying to decode it but the easiest way to reverse engineer the protocol is by replacing the window.WebSocket. So you can listen to what gets send and received. Works for all websites using websockets.

Here is the code:

http://pastebin.com/Ykx4LRDh

kscc25 commented 8 years ago

Great! I'm going to use this in https://github.com/SNSA/agario-code

issy123 commented 8 years ago

Feel free to contribute! At the same time this helps you out too