SNAC(17,04)  CLI_REGISTRATION_REQUEST  

Use this snac when you need new ICQ account (uin/password). Server should reply with SNAC(17,05) containing new uin. This snac mean that registration finished succesfully. Server also can reply with SNAC(17,01) if it can't create new user account.

 00 17   word   SNAC family
 00 04   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(0x01)
 xx xx   word   TLV.Length
 00 00 00 00   dword   just zeros
 28 00   word   subcmd (request new uin)
 03 00   word   sequence
 00 00 00 00   dword   just zeros
 00 00 00 00   dword   just zeros
 xx xx xx xx   dword   registration cookie
 xx xx xx xx   dword   registration cookie (the same)
 00 00 00 00   dword   just zeros
 00 00 00 00   dword   just zeros
 00 00 00 00   dword   just zeros
 00 00 00 00   dword   just zeros
 xx xx   word   password string len (LE)
 xx .. xx 00   string   password string (asciiz)
 xx xx xx xx   dword   registration cookie (the same)
 00 00 00 00   dword   just zeros
 xx xx   word   unknown value (random?)

Example SNAC dump with flap header:

  2A 02 38 C7 00 49 00 17  00 04 00 00 00 00 00 00  *.8..... ........
  00 01 00 3B 00 00 00 00  28 00 03 00 00 00 00 00  ...;.... (.......
  00 00 00 00 3C 38 00 00  3C 38 00 00 00 00 00 00  .....8.. .8......
  00 00 00 00 00 00 00 00  00 00 00 00 09 00 70 61  ........ ......pa
  73 73 77 6F 72 64 00 3C  38 00 00 00 00 D1 01     ssword.. 8......


  Main | Basic | Login | Snaclist | Sequences | Misc | Changes | Credits | Terms