Author | Message | Time |
---|---|---|
Soul Taker | Can someone tell me how to correctly send packet 0x3e to get B.net to send me realm IP/port to connect to? I'm trying to use BNLS' HashData with the Serverhash from 0x50 but that seems to not work. Might just be me doing something wrong though =/ | October 26, 2002, 11:03 AM |
Guest | Might be doing something wrong? If it's not working then you're doing something wrong. :) | October 26, 2002, 1:02 PM |
Soul Taker | I've tried a bunch of stuff. When I recieve 0x50, I store Mid(strData, 9, 4) as ServerHash. Everything using that value has always worked. Then after recieving 0x34, I send ServerHash to BNLS... [code] B.HashData ServerHash Public Function HashData(strData As String) p.InsertDWORD Len(strData) p.InsertDWORD &H0 p.InsertNonNTString strData p.SendBNLSPacket frmMain.sckBNLS, &HB End Function Public Function SendBNLSPacket(SOCKET As Winsock, PacketID As Byte) If frmMain.sckBNLS.State = sckConnected Then SOCKET.SendData MakeWORD(Len(Buffer) + 3) SOCKET.SendData Chr(PacketID) SOCKET.SendData Buffer Clear DoEvents End If End Function [/code] I keep trying different variations but can't figure out what I'm doing wrong =[ | October 26, 2002, 7:38 PM |
Skywing | BNLS's HashData implementation is compatible with the realm logon hash; you just need to use the right inputs. Remember that just like the password hash, the realm hash needs to be double-hashed. | November 1, 2002, 8:39 PM |
Joe | What function in bnetauth.dll is equivilant to BNLS's hash data? | November 30, 2002, 2:59 PM |
Zakath | Figure it out yourself? ::) As far as I know, only HukChat uses bnetauth.dll. Why are you using it? | November 30, 2002, 5:23 PM |