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

From Toxi's Wiki
Jump to navigationJump to search
No edit summary
Line 11: Line 11:


=== SNAC Data ===
=== SNAC Data ===
The SNAC data is a list of TLVs - the possible TLVs being as follows:
The SNAC data is a list of TLVs in this order:


{| class="wikitable"
{| class="wikitable"

Revision as of 07:34, 21 July 2024

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__CHALLENGE_RESPONSE 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 in this order:

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

May also contain other common TLVs.

SNAC Dump

Example dump (sent by a AIM 4.8.2540 client - dump contains 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