-
-
Save HatchiFr/c1ed75c62b0bde55a29a82403e3b3731 to your computer and use it in GitHub Desktop.
Revisions
-
eXhumer revised this gist
May 11, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ * X = Index Size **Notes** \ 1 -> It includes both the compression status and encryption status which is bitwise OR'ed together into a single value. Info about both can be found below. \ 2 -> Must be null'ed for Unencrypted Index. -
eXhumer revised this gist
May 11, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,7 +11,7 @@ * X = Index Size **Notes** 1 -> It includes both the compression status and encryption status which is bitwise OR'ed together into a single value. Info about both can be found below. \ 2 -> Must be null'ed for Unencrypted Index. ### Encryption Status -
eXhumer created this gist
May 11, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ ## New Tinfoil Index Information | Offset | Size | Description | | ---------- | --------- | ---------------------------------------------------------------------------------------- | | 0x0 | 0x7 | Tinfoil Index Magic "TINFOIL" | | 0x7 | 0x1 | Index Type Information (1) | | 0x8 | 0x100 | Session Key (PKCS#1 OAEP encrypted randomly generated AES Key used to encrypt index) (2) | | 0x108 | 0x8 | Unencrypted Index Size | | 0x110 | X | Index Data | * X = Index Size **Notes** 1 -> It includes both the compression status and encryption status which is bitwise OR'ed together into a single value. Info about both can be found below. 2 -> Must be null'ed for Unencrypted Index. ### Encryption Status | Encryption Status | Value | | ----------------------- | ----- | | Encrypted Index | 0xF0 | | Unencrypted Index | 0x00 | ### Compression Status | Compression Status | Value | | -------------------------- | ----- | | ZStandard Compressed Index | 0x0D | | ZLib Compressed Index | 0x0E | | Uncompressed Index | 0x00 |