Protocols/OSCAR/SNAC/BUCP CHALLENGE REQUEST

From Toxi's Wiki
Revision as of 19:26, 21 July 2024 by Toxi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 BUCP clients, right after the FLAP versions are exchanged. It is, obviously, used for requesting a challenge, of which the server replies with BUCP__CHALLENGE_RESPONSE, with the challenge they requested.

 00 17   word   SNAC foodgroup
 00 06   word   SNAC subgroup
 00 00   word   SNAC flags
 00 00 00 00   dword   SNAC request ID
 00 01   word   TLV Type (0x0001) - screen name
 xx xx   word   TLV Length
 xx ..   string   Screen name
 May contain other common TLVs

Example SNAC 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