Valhalla Legends Forums Archive | Battle.net Bot Development | How do you create a war3 account? (remade)

AuthorMessageTime
replaced
Ok, what does SHA1(s, SHA1(Username, ":", Password)) exactly mean?
s = salt?

http://pajhome.org.uk/crypt/md5/sha1-2.2alpha.js -- sha1 in javascript which I dont understand...

SHA1(s, SHA1(Username, ":", Password))
Do I SHA1 the username + ":" + password, then SHA1 it again with the salt?

BNCSutil does not have the function or sub called SHA1, so that simply does not work, and I've been trying to find something similiar and could not find it, I have already tried them all and it results in me geting ipbanned from bnet. 
August 3, 2006, 8:41 PM
l2k-Shadow
BNCSUtil does not have the function itself, however it does perform the hashing functions.

http://bncsutil.ionws.com/releases/bncsutil-1.2.0_vb_example.zip

^ VB6 example on how to use the library.
August 3, 2006, 8:51 PM
replaced
Problem solved lol
August 3, 2006, 9:38 PM
Newby
Congrats. You've gained nothing except knowledge on how to leech code. I hope you're happy, because everyone else is happy they don't have to write out any more correct explanations to your problems, that you always manage to ignore if it lacks example code.
August 3, 2006, 9:47 PM
l2k-Shadow
[quote author=replaced link=topic=15485.msg156483#msg156483 date=1154641091]
Problem solved lol
[/quote]

Congratulations on learning how to copy+paste. That will get you very far in your programming endeavors.
August 3, 2006, 11:05 PM
Myndfyr
Incidentally, I did some checking to see how accessible the Windows crypto API functions would be for you to do SHA1 without needing anything external (that wouldn't already be part of Windows).  There is the CryptHashData function in advapi32.dll, which to use you must have already called CryptCreateHash and, before that, CryptAcquireContext.  But they're all fairly straightforward, so it shouldn't be too difficult.
August 3, 2006, 11:06 PM
Explicit[nK]
[quote author=Newby link=topic=15485.msg156484#msg156484 date=1154641652]
Congrats. You've gained nothing except knowledge on how to leech code. I hope you're happy, because everyone else is happy they don't have to write out any more correct explanations to your problems, that you always manage to ignore if it lacks example code.
[/quote]

[quote author=l2k-Shadow link=topic=15485.msg156490#msg156490 date=1154646317]
[quote author=replaced link=topic=15485.msg156483#msg156483 date=1154641091]
Problem solved lol
[/quote]

Congratulations on learning how to copy+paste. That will get you very far in your programming endeavors.
[/quote]

QFT.
August 4, 2006, 6:34 AM

Search