• Welcome to Valhalla Legends Archive.
 

Client Token (SID_AUTH_CHECK)

Started by 1, July 12, 2004, 03:44 AM

Previous topic - Next topic

1

The Client Token is the first DWORD of SID_AUTH_CHECK (client to server)

If I recall correctly, BNLS returns the Client Token based on the CD-Key and Server Token (From SID_AUTH_INFO)

For non-SHA-1 products, the Client Token can be anything. However, on WarCraft III, sending a random number as the Client Token will result in an invalid CD-Key response from SID_AUTH_CHECK.

How do I define the Client Token variable without using BNLS?

UserLoser.

Quote from: 1 on July 12, 2004, 03:44 AM
How do I define the Client Token variable without using BNLS?

Pick a random number

Dark-Feanor

Since you send the ClientToken as a DWORD, you should make it an "int" data type.
- Feanor[xL]
clan exile
Firebot
iago: "caps lock is like cruise control for cool"

iago

Quote from: DaRk-FeAnOr on July 12, 2004, 01:00 PM
Since you send the ClientToken as a DWORD, you should make it an "int" data type.

huh?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Newby

Quote from: DaRk-FeAnOr on July 12, 2004, 01:00 PM
Since you send the ClientToken as a DWORD, you should make it an "int" data type.
Or you can make it the DWORD data type.

..

:o
- Newby

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote<TehUser> Man, I can't get Xorg to work properly.  This sucks.
<torque> you should probably kill yourself
<TehUser> I think I will.  Thanks, torque.

ChR0NiC

Quote from: Newby on July 12, 2004, 01:14 PM
Or you can make it the DWORD data type.

..

:o

He didn't even specify what language he is using.

Adron

Quote from: 1 on July 12, 2004, 03:44 AM
How do I define the Client Token variable without using BNLS?

Try time(0).