Valhalla Legends Forums Archive | Battle.net Bot Development | I found something interesting

AuthorMessageTime
Maddox
I was fooling around testing the war3 java stuff and I found out that the 2nd dword (version hash) in SID_AUTH_CHECK can be set to anything. This also is true for the executable information. If you're thinking you might get ipbanned or get sent an invalid version message in the future, you won't. The reason is that Mac users don't send this information either. Blizzard couldn't implement as complete a CheckRevision for them, due to the lack of the Windows API on the Mac, so they simply made those fields optional. If TestBNCS is still being updated, it should probably be made to ignore those fields too if it doesn't already.

This is nice to know if you're doing work on other platforms other than Windows because you don't need to hardcode those values in anymore.
August 17, 2004, 10:48 AM
PiaNKA
So does that mean by using PMAC or XMAC instead of IX86, you wouldn't need to actually hash war3...?
August 17, 2004, 12:26 PM
KkBlazekK
It means that you don't need to put anything there.
August 17, 2004, 3:44 PM
iago
[quote author=PiaNKA link=board=17;threadid=8198;start=0#msg75930 date=1092745580]
So does that mean by using PMAC or XMAC instead of IX86, you wouldn't need to actually hash war3...?
[/quote]

I think you're using the word "hash" wrong. Hash is a process of compression data to a smaller representation. In this case, he means just the version hash, which is a small part of the login.
August 17, 2004, 4:10 PM
PiaNKA
[quote author=iago link=board=17;threadid=8198;start=0#msg75955 date=1092759058]
[quote author=PiaNKA link=board=17;threadid=8198;start=0#msg75930 date=1092745580]
So does that mean by using PMAC or XMAC instead of IX86, you wouldn't need to actually hash war3...?
[/quote]

I think you're using the word "hash" wrong. Hash is a process of compression data to a smaller representation. In this case, he means just the version hash, which is a small part of the login.
[/quote]

Right but if it can be anything, it can be always 0, right? Which would make it so you wouldn't need to do a version hash at all...
August 17, 2004, 5:05 PM
Maddox
[quote author=PiaNKA link=board=17;threadid=8198;start=0#msg75970 date=1092762329]
[quote author=iago link=board=17;threadid=8198;start=0#msg75955 date=1092759058]
[quote author=PiaNKA link=board=17;threadid=8198;start=0#msg75930 date=1092745580]
So does that mean by using PMAC or XMAC instead of IX86, you wouldn't need to actually hash war3...?
[/quote]

I think you're using the word "hash" wrong. Hash is a process of compression data to a smaller representation. In this case, he means just the version hash, which is a small part of the login.
[/quote]

Right but if it can be anything, it can be always 0, right? Which would make it so you wouldn't need to do a version hash at all...
[/quote]

The "version hash" is just a value returned by the win32 version of CheckRevision. And yes, it can always be 0.
August 17, 2004, 8:51 PM
PiaNKA
[quote author=Maddox link=board=17;threadid=8198;start=0#msg76020 date=1092775866]
The "version hash" is just a value returned by the win32 version of CheckRevision. And yes, it can always be 0.
[/quote]

Oh, so it's not anything more complicated than a Win32 API call? That would be interesting if Mac's couldn't handle hashing war3 and you could simply bypass all of it by saying you're on a different platform. Though that would defeat the entire purpose of hashing and would leak tons of unprotected network activity...:(
August 17, 2004, 9:35 PM
iago
Like I said, you're defining hashing wrong. This is just the version hash, not the password hash or anything like that. There are several different hashes used when battle.net logs on.
August 17, 2004, 10:23 PM

Search