Protocols/OSCAR/SNAC/BUCP CHALLENGE REQUEST

From Toxi's Wiki
Revision as of 05:16, 21 July 2024 by Toxi (talk | contribs)
Jump to navigationJump to search
OSCAR Protocol
IntroductionTermsClients
Basic
TODO
Tutorials
Sign On
Foodgroups
OSERVICE (0x0001)
BUCP (0x0017)

This is the first SNAC sent by the client when authorizing via BUCP and is, obviously, used for requesting a challenge. The server should reply with BUCP__LOGIN_REQUEST containing the aforementioned challenge, which will be used for hashing the password later on.

SNAC Header

 00 17   word   SNAC foodgroup
 00 06   word   SNAC subgroup
 00 00   word   SNAC flags
 00 00 00 00   dword   SNAC request ID

SNAC Data

The SNAC data is a list of TLVs - the possible TLVs being as follows:

Type Length Value
00 01 xx xx The screen name as given by the client.

Example dump (with a FLAP header):

0000   2a 02 17 8a 00 18 00 17 00 06 00 00 00 00 00 00   *...............
0010   00 01 00 0a 74 6f 78 69 64 61 74 69 6f 6e         ....toxidation