SHARE
TWEET

Untitled

a guest Sep 21st, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. meta:
  2.   id: filesdb
  3.   file-extension: db
  4.   endian: le
  5.   encoding: UTF-8
  6. instances:
  7.   page_size:
  8.     pos: 0x10
  9.     type: u4
  10.   file_headers_size:
  11.     value: 9 * file_header_size
  12.   file_header_size:
  13.     value: 72
  14.   file_infos_size:
  15.     value: 10 * file_info_size
  16.   file_info_size:
  17.     value: 16
  18. seq:
  19.   - id: header
  20.     type: header
  21.     size: page_size
  22.   - id: pages
  23.     type: pages
  24.     size: header.total_pages_size
  25. types:
  26.   header:
  27.     seq:
  28.       - id: magic
  29.         contents: SCENGPFS
  30.       - id: version
  31.         type: u4
  32.       - id: image_spec
  33.         type: u2
  34.       - id: key_id
  35.         type: u2
  36.       - id: page_size
  37.         type: u4
  38.       - id: bt_order
  39.         type: u4
  40.       - id: root_icv_page_number
  41.         type: u4
  42.       - id: files_salt
  43.         type: u4
  44.       - id: unk
  45.         size: 8
  46.       - id: total_pages_size
  47.         type: u8
  48.       - id: total_size
  49.         type: u8
  50.       - id: root_icv
  51.         type: sha1_digest
  52.       - id: header_icv
  53.         type: sha1_digest
  54.       - id: rsa_sig0
  55.         type: rsa_signature
  56.       - id: rsa_sig1
  57.         type: rsa_signature
  58.   pages:
  59.     seq:
  60.       - id: page
  61.         type: page
  62.         size: _root.page_size
  63.         repeat: eos
  64.   page:
  65.     seq:
  66.       - id: parent_page_number
  67.         type: u4
  68.       - id: page_type
  69.         type: u4
  70.       - id: num_files
  71.         type: u4
  72.       - id: reserved
  73.         contents: [0,0,0,0]
  74.       - id: file_headers
  75.         type: file_headers
  76.         size: _root.file_headers_size
  77.       - id: file_infos
  78.         type: file_infos
  79.         size: _root.file_infos_size
  80.       - id: hashes
  81.         type: sha1_digest
  82.         repeat: expr
  83.         repeat-expr: 10
  84.   file_headers:
  85.     seq:
  86.       - id: file_header
  87.         type: file_header
  88.         size: _root.file_header_size
  89.         repeat: expr
  90.         repeat-expr: 9
  91.   file_header:
  92.     seq:
  93.       - id: parent_index
  94.         type: u4
  95.       - id: file_name
  96.         type: strz
  97.   file_infos:
  98.     seq:
  99.       - id: file_info
  100.         type: file_info
  101.         size: _root.file_info_size
  102.         repeat: expr
  103.         repeat-expr: 10
  104.   file_info:
  105.     seq:
  106.       - id: index
  107.         type: u4
  108.       - id: file_type
  109.         type: u2
  110.       - id: reserved
  111.         contents: [0,0]
  112.       - id: file_size
  113.         type: u4
  114.   sha1_digest:
  115.     seq:
  116.       - id: digest
  117.         size: 0x14
  118.   rsa_signature:
  119.     seq:
  120.       - id: signature
  121.         size: 0x100
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top