Clan x86

Technical (Development, Security, etc.) => General Programming => Botdev => Topic started by: Ryan Marcus on September 12, 2005, 08:02:11 am

Title: [BNLS/BNET] Getting Data for SID_LOGONRESPONSE (0x29)
Post by: Ryan Marcus 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?
Title: Re: [BNLS/BNET] Getting Data for SID_LOGONRESPONSE (0x29)
Post by: MyndFyre 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.
Title: Re: [BNLS/BNET] Getting Data for SID_LOGONRESPONSE (0x29)
Post by: Ryan Marcus on September 12, 2005, 06:12:48 pm
Oh.. That sure makes me feel stupied...

Thanks for the timly response!