Quote:
Originally Posted by vDrag0n
Am I doing right?
1) Get the password seed from server
2) send it back to the client
3) get client data
4) write on server stream
5) get the server packet to discover game server port and address
is it right?
|
Login sequence goes as follows.
Client>Proxy>AuthServer: Connects
AuthServer>Proxy>Client: Pass Seed
Client>Proxy>AuthServer: Auth Request (user/pass/server)
AuthServer>Proxy: Auth Response (Contains original ip/port/uid)
Proxy>Client: Modified Auth Response (modified proxy ip/port to loop connection back around)
Client should now connect to the port/ip entered for proxy game sequence which will then start a new sequence which goes along the lines of
Client>Proxy>GameServer: Connect
GameServer>Proxy>Client: ServerDhKey
Client>Proxy>GameServer: ClientDhKey
Once you've modified and used these keys to setup your two encryptions (man in the middle attack. Basically you generate your own server/client packet for each side and setup two distinct encryptions) it will go into normal stream of packets which you can split/handle and then send.