Valhalla Legends Forums Archive | Battle.net Bot Development | Sending passwords to Battle.net?

AuthorMessageTime
JoeTheOdd
People have started reporting failed passwords being sent to Battle.net with JavaOp2 lately, raising this question in my mind:

Before hashing the password, is there anything that needs to be done to it? They're reporting mixed-cases failing, and my password works but is all lowercase. I'm inferring that it needs to be put to lowercase before hashing. Is this correct?
February 27, 2007, 9:46 PM
UserLoser
[quote author=Joe[x86] link=topic=16408.msg165958#msg165958 date=1172612782]
People have started reporting failed passwords being sent to Battle.net with JavaOp2 lately, raising this question in my mind:

Before hashing the password, is there anything that needs to be done to it? They're reporting mixed-cases failing, and my password works but is all lowercase. I'm inferring that it needs to be put to lowercase before hashing. Is this correct?
[/quote]

No.  Makes no sense on why something would have to be lowercased because the server doesn't really know your password.  The only reason bot developers are suggested to lowercase password pre-hash is because the official Blizzard clients lowercase your password no matter what before creating/logging on
February 27, 2007, 10:28 PM
Barabajagal
The game converts all passwords to lower case before hashing. If a user creates an account with a game, it will be lower case hashed. This makes for a nifty ability to create accounts in bots that can not be logged in on games or bots that don't support upper-case passwords. Your safest bet is to convert all passwords to lower-case, and possibly have an upper-case option.
February 27, 2007, 10:29 PM
LockesRabb
[quote author=[RealityRipple] link=topic=16408.msg165961#msg165961 date=1172615380]
The game converts all passwords to lower case before hashing. If a user creates an account with a game, it will be lower case hashed. This makes for a nifty ability to create accounts in bots that can not be logged in on games or bots that don't support upper-case passwords. Your safest bet is to convert all passwords to lower-case, and possibly have an upper-case option.
[/quote]

Interesting. I'm definitely going to be experimenting with that.
February 28, 2007, 3:29 AM
dRAgoN
[quote author=Joe[x86] link=topic=16408.msg165958#msg165958 date=1172612782]
People have started reporting failed passwords being sent to Battle.net with JavaOp2 lately, raising this question in my mind:

Before hashing the password, is there anything that needs to be done to it? They're reporting mixed-cases failing, and my password works but is all lowercase. I'm inferring that it needs to be put to lowercase before hashing. Is this correct?
[/quote]
What clients are they reporting this for.
February 28, 2007, 8:43 AM
Myndfyr
[quote author=[RealityRipple] link=topic=16408.msg165961#msg165961 date=1172615380]
The game converts all passwords to lower case before hashing. If a user creates an account with a game, it will be lower case hashed. This makes for a nifty ability to create accounts in bots that can not be logged in on games or bots that don't support upper-case passwords. Your safest bet is to convert all passwords to lower-case, and possibly have an upper-case option.
[/quote]

Having an upper-case option, though, would mean that the user would be unable to log on with the official client.
February 28, 2007, 4:16 PM
Barabajagal
I said that:
[quote author=[RealityRipple] link=topic=16408.msg165961#msg165961 date=1172615380]
This makes for a nifty ability to create accounts in bots that can not be logged in on games or bots that don't support upper-case passwords.[/quote]
February 28, 2007, 8:04 PM
JoeTheOdd
[quote author=l)ragon link=topic=16408.msg165992#msg165992 date=1172652181]
[quote author=Joe[x86] link=topic=16408.msg165958#msg165958 date=1172612782]
People have started reporting failed passwords being sent to Battle.net with JavaOp2 lately, raising this question in my mind:

Before hashing the password, is there anything that needs to be done to it? They're reporting mixed-cases failing, and my password works but is all lowercase. I'm inferring that it needs to be put to lowercase before hashing. Is this correct?
[/quote]
What clients are they reporting this for.
[/quote]

W2BN.
March 1, 2007, 4:20 PM
LockesRabb
Joe, have you tested for yourself to confirm this problem? I unfortunately do not have a W2BN cdkey so I cannot test for myself.
March 2, 2007, 6:07 AM
l2k-Shadow
The password gets lowercased prior to being hashed on all official clients... no?
March 2, 2007, 6:23 AM
LockesRabb
[quote author=l2k-Shadow link=topic=16408.msg166140#msg166140 date=1172816626]
The password gets lowercased prior to being hashed on all official clients... no?
[/quote]

Yes, but Joe was allowing his users to have mixed case passwords and it was functional. Until he started having the W2BN issue. But it appears he's having no problems with other clients.
March 2, 2007, 4:45 PM
BreW
Is he using the 0x29 instead of the 0x3a? That MAY be why.
March 3, 2007, 1:29 PM
rabbit
You have no idea what you're talking about.
March 3, 2007, 4:31 PM
BreW
[quote author=rabbit link=topic=16408.msg166179#msg166179 date=1172939482]
You have no idea what you're talking about.
[/quote]

Unnecessary.
The older account logon packet, the 0x29, is used by W2BN. Most bot developers aim for perfect emulation, so maybe he used that packet. Since BNetdocs is down, I am unable to confirm this, but I believe in the 0x29 the password is only hashed once. Even if I am wrong, it would be nice to know that he's using the 0x29 instead of the norm, 0x3a.
March 3, 2007, 5:55 PM
rabbit
[quote author=rabbit link=topic=16408.msg166179#msg166179 date=1172939482]
You have no idea what you're talking about.
[/quote]
March 3, 2007, 6:02 PM
HdxBmx27
Both 0x29 and 0x3a hashing algos are the same.
The only difference is the clients that use them (All clients can use either or except wc3 IIRC)
And 0x3A returns more results besides Success/Fail.
(Invalid, To Few chrs, account doesn't exist, I think are most of them)
Which is why it is recommended over 0x29.
But this topic has been addressed, so everyone quit repeating what was already said MANY times before on this forum -.-
~Hdx
March 3, 2007, 7:55 PM

Search