You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
root 339ee11e40 updates 7 years ago
cuper updates 7 years ago
mkriz updates 7 years ago
.gitignore Initial commit 7 years ago
README.md updates 7 years ago

README.md

Cuper

RIZ file header

                         32 bits
    <---------------------------------------------->
              16 bits
    <---------------------->
    +----------------------------------------------+
  0 |                IDENTIFICATOR                 |
    +----------------------------------------------+
  1 |          ARCH        |          OS           |
    +----------------------------------------------+
  2 |                     TIME                     |
    +----------------------------------------------+
  3 |          TYPE        |    PROT.  |    VER    |
    +----------------------------------------------+
  4 |           HL         |          MDL          |
    +----------------------------------------------+
5-9 |                  RESERVED                    |
    +----------------------------------------------+
    |                   OPTIONS                    |
    +----------------------------------------------+
    |                  METADATA                    |
    +----------------------------------------------+
    |                   PAYLOAD                    |
    +----------------------------------------------+
Nom du champ Position Longeur (bits) Valeur(s)
Identificator 0 32 0x7f 0x52 0x49 0x5a
Arch 4 16 0x0 = no arch
0x01 = i386
0x02 = x86_64
OS 6 16 0x0 = no OS
0x01 = linux
Time 8 32 current timestamp
Type 12 16 0x0 = container
0x1 = meta container
Protected 14 8 0x0 = unprotected
0x1 = aes
  • Magic number (32 bits: 0x7f 0x52 0x49 0x5a), la signature du fichier: DELRIZ.
  • arch (16 bits), l'identifiant de la machine cible (architecture du processeur).
  • os (16 bits), l'identifiant de la machine cible (environnement d'execution).
  • timestamp (32 bits), le timestamp de compilation.
  • type (16 bits), le type de conteneur, ex: conteneur, méta-conteneur, etc...
  • protected (8 bits), 0x01 si le conteneur est chiffré.
  • version (8 bits), la version de l'entête.
  • HL (16 bits), la taille de l'entête en mots de 32 bits.
  • MDL (16 bits), la taille des méta-données en mode de 32 bits.
  • reserved (20 bytes), 20 octets réservés.
  • options, les informations optionnels.
  • méta-données.
  • payload.

NOTE: Si HL == 5, alors il n'y à pas d'options.

Powered by TurnKey Linux.