Blizzhackers

Return of the Jedi

* Login   * Register    * FAQ    * Search

Join us on IRC: #bh@irc.synirc.net (or Mibbit Web IRC)


MuleFactory


It is currently Wed May 22, 2013 4:14 am


All times are UTC [ DST ]





Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Diablo 2 Clientless Hashing
PostPosted: Mon Apr 02, 2012 7:28 am 
 
User
User

Joined: Mon Apr 02, 2012 7:23 am
Currently for my project, to connect to battle.net I need to use BNLS for these packets: http://www.bnetdocs.org/?op=packet&pid=179, http://www.bnetdocs.org/?op=packet&pid=293, http://www.bnetdocs.org/?op=packet&pid=260.

I'm looking for a way to hashing these values locally, in C++, the best Google turned up was some VB6 functions which I can't translate.

Any help is appreciated.

Top
 Profile  
 Post subject: Re: Diablo 2 Clientless Hashing
PostPosted: Mon Apr 02, 2012 8:47 am 
 
User
User
User avatar

Joined: Sun Jul 12, 2009 6:00 pm
You can take a look at qqbot
http://bhfiles.com/files/Diablo%20II/1.12a/

other links that might help
viewtopic.php?t=406375 - heroin glands library
https://github.com/dkuwahara/OmegaBot - c# implementation
motoko on front page of this subforum is C implementation
clientless bot analysis - viewtopic.php?t=406445

also found this pastebin by googling for checkrevision http://pastebin.com/e74GPHdY

also, you could take a look at source code of various chat bots (I don't know which are in c/c++ tho, take a look in bhfiles)

hope this helps

_________________
Image


Top
 Profile  
 Post subject: Re: Diablo 2 Clientless Hashing
PostPosted: Tue Apr 03, 2012 11:35 pm 
 
User
User

Joined: Mon Apr 02, 2012 7:23 am
I've managed to implement the hashing code from heroin glands library, and I can hash without errors, though I've never sent this packet without obtaining these values without BNLS. So I'm unsure if I have built the packet correctly.

Also can you take a look at how I copied the data to Pkt.KeyData, it's quick and dirty so forgive me. And I grabbed the ExeVersion value from heroin, so I think it's a little out of date, and I'm unsure what this value actually is, and thus how to calculate it.

http://pastebin.com/ZJnzkDmh

Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron