Changes

Jump to navigation Jump to search
Elaborate on checksum creation
Line 1: Line 1: −
This file contains data used by the WC24 mail engine. The following list is the default mail engine URLs contained in this file.
+
This file contains data used by the [[WiiConnect24]] mail engine. The following list is the default mail engine URLs contained in this file.
   −
All URLs, except account.cgi, are now defunct as of 2013. Nintendo's servers needed internal KD SSL client certificate to access the servers. [[RiiConnect24]] has restored the functionality, and patches the mail server URLs using a homebrew app the user runs.
+
All URLs, except account.cgi, are now defunct as of 2013. Nintendo's servers required the internal IOS SSL client certificate to access the servers. [[RiiConnect24]] has restored the functionality, and patches the mail server URLs using a homebrew app the user runs.
   −
* https://amw.wc24.wii.com/cgi-bin/account.cgi - This generates a password and mlchkid, for usage when contacting the Wii Mail scripts for authentication
+
* https://amw.wc24.wii.com/cgi-bin/account.cgi - This generates a passwd and mlchkid, for usage when contacting the Wii Mail scripts for authentication.
* http://rcw.wc24.wii.com/cgi-bin/check.cgi - This is where the Wii checks if it has any mail; this has a challenge as it's over HTTP.
+
* http://rcw.wc24.wii.com/cgi-bin/check.cgi - This is where the Wii checks if it has any mail. It's used as part of a challenge the server must respond with, presumably as it is over HTTP.
* https://mtw.wc24.wii.com/cgi-bin/receive.cgi - This handles receiving of Mail.
+
* https://mtw.wc24.wii.com/cgi-bin/receive.cgi - This handles receiving of mail, returning messages up to a size the Wii provides.
 
* https://mtw.wc24.wii.com/cgi-bin/delete.cgi - Once mail is received, the Wii contacts this script to delete the mail from the server database.
 
* https://mtw.wc24.wii.com/cgi-bin/delete.cgi - Once mail is received, the Wii contacts this script to delete the mail from the server database.
* https://mtw.wc24.wii.com/cgi-bin/send.cgi - This handles sending of Mail.
+
* https://mtw.wc24.wii.com/cgi-bin/send.cgi - This handles sending of mail.
    
=== File structure ===
 
=== File structure ===
Line 31: Line 31:  
| 0xf
 
| 0xf
 
| 0x8
 
| 0x8
| Wii's friend code/NWC24 ID, stored as 64-bit integer.
+
| Wii's friend code/NWC24 ID, stored as a 64-bit integer.
 
|-
 
|-
 
| 0x10
 
| 0x10
Line 46: Line 46:  
| 0x57
 
| 0x57
 
| 0x40
 
| 0x40
| The Wii E-Mail address domain, includes the '@'.
+
| The Wii E-Mail address domain, including the '@'.
 
|-
 
|-
 
| 0x58
 
| 0x58
 
| 0x77
 
| 0x77
 
| 0x20
 
| 0x20
| passwd - returned from "GET /cgi-bin/account.cgi?mlid=<mlid>" - sent with send/receive/delete
+
| passwd - Stored from the initial request to account.cgi. Sent as a parameter to send/receive/delete.
 
|-
 
|-
 
| 0x78
 
| 0x78
 
| 0x9b
 
| 0x9b
 
| 0x24
 
| 0x24
| mlchkid - Only used for check, sent over HTTP.
+
| mlchkid - Only used for check.cgi, which is sent over HTTP.
 
|-
 
|-
 
| 0x9c
 
| 0x9c
Line 76: Line 76:  
| 0x3ff
 
| 0x3ff
 
| 0x4
 
| 0x4
| Checksum, this is the sum of the whole file excluding the checksum. This is similar to the NANDBOOTINFO and state.dat checksums.
+
| Checksum. It is calculated by adding every 4 bytes of the file excluding itself (so only the first 1020 bytes), and then ANDing the result by 0xFFFFFFFF. It is similar to the NANDBOOTINFO and state.dat checksums.
 
|-
 
|-
 
|}
 
|}
    
[[Category:Wii Filesystem]]
 
[[Category:Wii Filesystem]]
13

edits

Navigation menu