Protocols/OSCAR/SNAC/BUCP CHALLENGE REQUEST: Difference between revisions

From Toxi's Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 12: Line 12:
  |tlv_type=00 01
  |tlv_type=00 01
  |tlv_type_desc=TLV Type (0x0001) - screen name
  |tlv_type_desc=TLV Type (0x0001) - screen name
  |tlv_data_length=xx ..
  |tlv_length=xx xx
|tlv_data_val=xx ..
  |tlv_data_type=string
  |tlv_data_type=string
  |tlv_data_desc=Screen name}}
  |tlv_data_desc=Screen name}}

Revision as of 19:25, 21 July 2024

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