Packet 01 00
From XfirePlusWiki
Packet Description
This packet is sent to the server containing the username and hashed password to log in.
Packet Layout
- packetLength(*) packetType(01 00) numAttributes(03)
- attributeLength(04) "name" attributeType(01) valueLength(*) username
- attributeLength(08) "password" attributeType(01) valueLength(*) SHA1password
- attributeLength(05) "flags" attributeType(02) '00 00 00 00'
Notes
The password is generated with formula sha1(sha1(name+password+"UltimateArena")+salt), where sha1() is a function returning SHA1 hash digest from the string given as a parameter for it. The value for salt is acquired from Packet 80 00, the values for name and password are from the user.
The meaning of flags is unknown.
