Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: UserLoser. on June 30, 2004, 02:14 AM

Title: Battle.net server to server protocol?
Post by: UserLoser. on June 30, 2004, 02:14 AM
Open connection to Battle.net, send 0x6 (or CTRL+F):

This is a complete guess, don't expect any of this to be correct

Server->You
(DWORD) Server's key?

You->Server
(DWORD) Your key?

Server->You
(DWORD[5]) Hashed password with both keys

You->Server
(DWORD[5]) Perhaps a hash of both your key+server key+server's hashed data?

Has anyone ever looked into this?  Perhaps you could be able to connect to the other servers and do all sorts of fun stuff? :P
Title: Re:Battle.net server to server protocol?
Post by: Stealth on June 30, 2004, 08:27 AM
Hopefully the password isn't as secure as the MCP server password.  ;)
Title: Re:Battle.net server to server protocol?
Post by: iago on June 30, 2004, 10:17 AM
What you need is a packetlogger between two of the servers, or perhaps give them a fake dns response so they end up sending the request to you :)
Title: Re:Battle.net server to server protocol?
Post by: MyndFyre on June 30, 2004, 12:50 PM
Quote from: iago on June 30, 2004, 10:17 AM
What you need is a packetlogger between two of the servers, or perhaps give them a fake dns response so they end up sending the request to you :)

I don't suppose that Blizzard would be nice enough to have WinPcap 3 on there so that we could try remote packetlogging?  :-P
Title: Re:Battle.net server to server protocol?
Post by: iago on June 30, 2004, 04:25 PM
Quote from: Myndfyre on June 30, 2004, 12:50 PM
Quote from: iago on June 30, 2004, 10:17 AM
What you need is a packetlogger between two of the servers, or perhaps give them a fake dns response so they end up sending the request to you :)

I don't suppose that Blizzard would be nice enough to have WinPcap 3 on there so that we could try remote packetlogging?  :-P

If there's updates between realms (useast <--> europe, etc) it's possible that there is stuff going over the internet (I don't think all their servers are located in the same place) and it might be possible to get info.  But compromising a router to run tcpdump on it is pretty much impossible :)