Author Topic: [BNLS/BNET] Getting Data for SID_LOGONRESPONSE (0x29)  (Read 3688 times)

0 Members and 1 Guest are viewing this topic.

Offline Ryan Marcus

  • Cross Platform.
  • Full Member
  • ***
  • Posts: 170
  • I'm Bono.
    • View Profile
    • My Blog
[BNLS/BNET] Getting Data for SID_LOGONRESPONSE (0x29)
« on: September 12, 2005, 08:02:11 am »
I was looking at BnetDocs and I could not figure out which BNLS packet would give me the data I needed (for STAR and D2DV) for    SID_LOGONRESPONSE   (0x29). Does anybody know which BNLS packet gives me this data?
Thanks, Ryan Marcus

Quote
<OG-Trust> I BET YOU GOT A CAR!
<OG-Trust> A JAPANESE CAR!
Quote
deadly: Big blue fatass to the rescue!
496620796F75722072656164696E6720746869732C20796F75722061206E6572642E00

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: [BNLS/BNET] Getting Data for SID_LOGONRESPONSE (0x29)
« Reply #1 on: September 12, 2005, 12:25:01 pm »
You want to use BNLS_HASHDATA (0x0b).

Generally, you want this format:
C->BNLS 0x0b
(DWORD) Length of password, including the null terminator
(DWORD) 0x02 (flag HASHDATA_FLAG_DOUBLEHASH)
(String) Password, including null terminator
(DWORD) Client key, a randomly-generated value
(DWORD) Server key, or "server token" issued by the server in BNCS -> C 0x50.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Ryan Marcus

  • Cross Platform.
  • Full Member
  • ***
  • Posts: 170
  • I'm Bono.
    • View Profile
    • My Blog
Re: [BNLS/BNET] Getting Data for SID_LOGONRESPONSE (0x29)
« Reply #2 on: September 12, 2005, 06:12:48 pm »
Oh.. That sure makes me feel stupied...

Thanks for the timly response!
Thanks, Ryan Marcus

Quote
<OG-Trust> I BET YOU GOT A CAR!
<OG-Trust> A JAPANESE CAR!
Quote
deadly: Big blue fatass to the rescue!
496620796F75722072656164696E6720746869732C20796F75722061206E6572642E00