Line 21: |
Line 21: |
| The default user-agent used for SpotPass HTTPS requests (including the policylist) has the following format: | | The default user-agent used for SpotPass HTTPS requests (including the policylist) has the following format: |
| | | |
− | <tt><user agent codename>-<user agent version>/<printed hex u64 [[CfgS:GetLocalFriendCodeSeed|LocalFriendCodeSeed]]>-<printed hex u64 [[FRDU:GetMyFriendKey|Friend]] [[FRDU:PrincipalIdToFriendCode|Code]]>/<text [[CVer|system]] [[NVer|version]]>/<unknown decimal value>/<[[Cfg:GetSystemModel|system model number]]></tt> | + | <tt><user agent codename>-<user agent version>/<printed hex u64 [[CfgS:GetLocalFriendCodeSeed|LocalFriendCodeSeed]]>-<printed hex u64 [[FRDU:GetMyFriendKey|Friend]] [[FRDU:PrincipalIdToFriendCode|Code]]>/<text [[CVer|system]] [[NVer|version]]>/<CTRSDK version of sysmodule>/<[[Cfg:GetSystemModel|system model number]]></tt> |
| | | |
− | The codename can be set to either <tt>PBOS</tt> (Production BOSS?) or <tt>DBOS</tt> (Development BOSS?) depending if the console is a [[Configuration_Memory#UNITINFO|retail]] unit. As of system version 11.17, the user agent version is hardcoded to 8.0 and the decimal value is set to 62452 (0xF3F4). | + | The codename can be set to either <tt>PBOS</tt> (Production BOSS?) or <tt>DBOS</tt> (Development BOSS?) depending if the console is a [[Configuration_Memory#UNITINFO|retail]] unit. As of system version 11.17, the user agent version is hardcoded to 8.0 and the CTRSDK version is set to 62452 (0xF3F4). |
| | | |
| No user-agent is used for plaintext HTTP requests with SpotPass. | | No user-agent is used for plaintext HTTP requests with SpotPass. |
Line 178: |
Line 178: |
| The hash at offset 0x1C hashes the 0x1C-byte data at offset 0x0 followed by a zero u16, followed by all of the remaining cleartext data following this header(the actual content data). | | The hash at offset 0x1C hashes the 0x1C-byte data at offset 0x0 followed by a zero u16, followed by all of the remaining cleartext data following this header(the actual content data). |
| | | |
− | The downloaded boss data is written in the following format to extdata. | + | The downloaded boss data is written in the following format to extdata. The file name that is generated might be Base85/Ascii85 encoded. |
| First an extdata header in the following format | | First an extdata header in the following format |
| {| class="wikitable" | | {| class="wikitable" |
Line 200: |
Line 200: |
| | 0x10 | | | 0x10 |
| | 0x4 | | | 0x4 |
− | | Download date in format: Bit 0-6 = day, Bit 7-10 = month, Bit 11-21 = year | + | | Download date in format: Bit 0-5 = day, Bit 6-9 = month, Bit 10-20 = year |
| |- | | |- |
| | 0x14 | | | 0x14 |
Line 207: |
Line 207: |
| |} | | |} |
| Followed by the Payload Content Header without the hash and signature (first 0x1C bytes) and the actual payload. | | Followed by the Payload Content Header without the hash and signature (first 0x1C bytes) and the actual payload. |
| + | |
| + | ==Tools== |
| + | * [http://wiiucodes.ddnss.eu/tools/BossDecryptor3DS.zip BossDecryptor3DS] Decrypts an encrypted boss container |
| + | * [http://wiiucodes.ddnss.eu/tools/BossEncryptor3DS.zip BossEncryptor3DS] Builds and encrypts a file into a boss container |
| | | |
| [[Category:Nintendo Software]] | | [[Category:Nintendo Software]] |