msnp-wiki/docs/versions/msnp4.md

76 lines
1.7 KiB
Markdown
Raw Normal View History

2024-10-10 15:38:51 -04:00
MSNP4 is the third released version of the Mobile Status Notification Protocol.
It was introduced officially in Client Version 2.1.1047.
*No commands for any service were known to be introduced in this version*
*No error codes were known to be introduced in this version*
*No commands were known to be removed in this version*
Known changes (from [MSNP3](msnp3.md)):
* ?
* ?
* ?
* Honestly, we don't know.
* New fields in initial profile, probably.
Don't know why else, not sure why it required it's own protocol version.
(none are parsed by the client either)
* Client 2.2.1053 according to whatsnew.asp has Kids Passport support.
Probably a new initial profile field by then.
(Client doesn't parse 923 yet either)
Client-server communication example:
```
C: VER 1 MSNP4 MSNP3 CVR0
S: VER 1 MSNP4
C: INF 2
S: INF 2 MD5
C: USR 3 MD5 I example@hotmail.com
S: XFR 3 NS 10.0.0.5:1863 0
```
Client disconnects from server
Client opens a connection to 10.0.0.5:1863
```
C: VER 4 MSNP4 MSNP3 CVR0
S: VER 4 MSNP4
C: INF 5
S: INF 5 MD5
C: USR 6 MD5 I example@hotmail.com
S: USR 6 MDS S prefix
C: USR 7 MD5 S $md5(prefix + password)
S: USR 7 OK example@hotmail.com example%20user
S: MSG Hotmail Hotmail 367
MIME-Version: 1.0
Content-Type: text/x-msmsgsprofile; charset=UTF-8
LoginTime: 1726321960
EmailEnabled: 1
MemberIdHigh: 1
MemberIdLow: 2
lang_preference: 1033
PreferredEmail: example@hotmail.com
country: US
PostalCode:
Gender:
Kid: 0
Age:
BDayPre:
Birthday:
Wallet:
Flags: 1027
sid: 507
kv: 11
MSPAuth: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA$$
C: SYN 8 5
S: SYN 8 5
C: CHG 9 NLN
S: CHG 9 NLN
C: OUT
```
Client disconnects from server
```
S: OUT
```
Server disconnects client