• Welcome to Valhalla Legends Archive.
 

looking for BNCSutil.dll, My Warden.dll, BNHash.dll etc

Started by grich, December 18, 2009, 02:05 AM

Previous topic - Next topic

grich

hi :) im new around here..
i was looking for info about exe hash in the bnet connection protocol and i found this topic:
http://forum.valhallalegends.com/index.php?topic=18117.0

after reading this replay:
Quote from: Hdx on November 18, 2009, 02:03 PM
The Client Token is a random number generated by your client, it is used to further randomize the encryption used on Battle.net, In short, Pick a random number, and use it for the eintire connection wherever 'Client Token' is referanced.

Exe Version is actually a DWORD, hence why it's labeled (DWORD).  This is retreived from the Exe, EXA if the file's version was 1.1.1 the DWORD would be: 0x01010001 (roughly)

The EXE Hash is calculated by running the 'CheckRevision' function that is in the DLL inside the MPQ that is sen't to you by battle.net in 0x50. But luckally people have reverse engineered that function so you don't have to! There are a few libraries out there that you can use to do this function: BNCSutil.dll, My Warden.dll, BNHash.dll etc...

The simplest way to get these values, is to use BNLS, BNLS will send you all of that information in S->C BNLS_VERSIONCHECKEX2 which you request with C-> BNLS_VERSIONCHECKEX2.

So basically, send BNLS everything you get in 0x50 and it will send you everything you need to send in 0x51

As for unofficial servers that 'dont need a cdkey' they still do, it just doesn't have to be a unbanned/real key. It just needs to decode properly.
i understood that i should use some ready functions in the dlls mentioned... the prob is i couldnt find the dlls...
anywhere i can find them?
my warden sounds nice :P but all of them will be gr8..


oh and there is anything OS (prefered in c/c++ but can also be in java) that does the exe hashing? and maybe some info about it? just to know :)

tnx alot!

rabbit

MBNCSUtil is amazing, but it's for .Net
BNCSUtil is in C++, but I don't think it's been updated in a while.
If you want Java code, you can download Camel's BNU Bot 2 and see how it does hashing.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

grich

Quote from: rabbit on December 18, 2009, 07:31 AM
MBNCSUtil is amazing, but it's for .Net
BNCSUtil is in C++, but I don't think it's been updated in a while.
If you want Java code, you can download Camel's BNU Bot 2 and see how it does hashing.
can u plz help me with some links?
and where to u search them for?

oh btw how about My Warden.dll? havnt found any info about it..
same goes for , BNHash.dll :X

tnx :)

Hdx

I used 'My' as the personal pronoune, meaning I made it. You can find more info on it in the stealthbot wiki.
Its not open source as i need to re-write it  and clean it up using the things i learned writing it the first time.
As for the others, either search here, or search google will get you info on bncsutil.
If you want to know WHAT and WHY they are doing things just ask, but if you just want code, use bncsutil or something.

Proud host of the JBLS server www.JBLS.org.
JBLS.org Status:
JBLS/BNLS Server Status

grich

Quote from: Hdx on December 18, 2009, 06:43 PM
I used 'My' as the personal pronoune, meaning I made it. You can find more info on it in the stealthbot wiki.
Its not open source as i need to re-write it  and clean it up using the things i learned writing it the first time.
As for the others, either search here, or search google will get you info on bncsutil.
If you want to know WHAT and WHY they are doing things just ask, but if you just want code, use bncsutil or something.
exactly my point :) just a code wont do for me... im not a big fan of copy pasting...
i'll grab a look at some sources and try to figure it out myself, if i'll need any help i'll post here (or pm u if u can help :) )
tnx alot!

Mystical

I'm interested in a (.NET warden handler library), I don't think anyone has made one public though, Search of the forums reveals Ribose said he wrote a handler, doesn't seem to be public however, hopefully MyndFyre implements one into MBNCSUtil.dll soon.