Line 1: |
Line 1: |
− | This file contains data used by the WC24 mail engine. The following list is the mail engine URLs contained in this file. Like most other WC24 URLs, you need the internal KD SSL client certificate to access the servers. | + | This file contains data used by the WC24 mail engine. The following list is the default mail engine URLs contained in this file. |
| | | |
− | * https://amw.wc24.wii.com/cgi-bin/account.cgi | + | 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. |
− | * http://rcw.wc24.wii.com/cgi-bin/check.cgi | + | |
− | * https://mtw.wc24.wii.com/cgi-bin/receive.cgi | + | * 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://mtw.wc24.wii.com/cgi-bin/delete.cgi | + | * 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. |
− | * https://mtw.wc24.wii.com/cgi-bin/send.cgi | + | * https://mtw.wc24.wii.com/cgi-bin/receive.cgi - This handles receiving of Mail. |
| + | * 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. |
| | | |
| === File structure === | | === File structure === |
| + | A Kaitai file documenting the file structure can be found [https://github.com/RiiConnect24/Kaitai-Files/blob/master/Kaitais/nwc24msg.ksy here]. |
| {| class="wikitable" | | {| class="wikitable" |
| |- | | |- |
Line 18: |
Line 21: |
| | 0x3 | | | 0x3 |
| | 0x4 | | | 0x4 |
− | | Magic 0x66436357 "WcCf" | + | | Magic big-endian 0x57634366 "WcCf" |
| |- | | |- |
| | 0x4 | | | 0x4 |
| | 0x7 | | | 0x7 |
| | 0x4 | | | 0x4 |
− | | Unknown, must always be 8. | + | | Version of config file. Release IOS have it as 8. |
| |- | | |- |
| | 0x8 | | | 0x8 |
| | 0xf | | | 0xf |
| | 0x8 | | | 0x8 |
− | | Wii's friend code, stored as 64-bit integer. | + | | Wii's friend code/NWC24 ID, stored as 64-bit integer. |
| |- | | |- |
| | 0x10 | | | 0x10 |
| | 0x13 | | | 0x13 |
| | 0x4 | | | 0x4 |
− | | Unknown, must always be less than 0x20. | + | | NWC24 ID generation, this is incremented before a new ID is calculated (normally when a system format is performed). |
| |- | | |- |
| | 0x14 | | | 0x14 |
| | 0x17 | | | 0x17 |
| | 0x4 | | | 0x4 |
− | | Unknown, usually 2? | + | | 1 = ID is not registered yet, 2 = ID has been registered. |
| |- | | |- |
| | 0x18 | | | 0x18 |
Line 48: |
Line 51: |
| | 0x77 | | | 0x77 |
| | 0x20 | | | 0x20 |
− | | The chlng value used in HTTP(S) mail POST requests is probably generated from this string? | + | | passwd - returned from "GET /cgi-bin/account.cgi?mlid=<mlid>" - sent with send/receive/delete |
| |- | | |- |
| | 0x78 | | | 0x78 |
| | 0x9b | | | 0x9b |
| | 0x24 | | | 0x24 |
− | | This is the mlchkid string value used in HTTP(S) mail POST requests. | + | | mlchkid - Only used for check, sent over HTTP. |
| |- | | |- |
| | 0x9c | | | 0x9c |
Line 77: |
Line 80: |
| |} | | |} |
| | | |
− | {{stub}}
| + | [[Category:Wii Filesystem]] |