polyfile-weave 0.5.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of polyfile-weave might be problematic. Click here for more details.

Files changed (585) hide show
  1. polyfile/__init__.py +15 -0
  2. polyfile/__main__.py +394 -0
  3. polyfile/arithmetic.py +27 -0
  4. polyfile/ast.py +114 -0
  5. polyfile/debugger.py +1039 -0
  6. polyfile/expressions.py +346 -0
  7. polyfile/fileutils.py +343 -0
  8. polyfile/html.py +135 -0
  9. polyfile/http/__init__.py +1 -0
  10. polyfile/http/defacto.py +37 -0
  11. polyfile/http/deprecated.py +51 -0
  12. polyfile/http/experimental.py +67 -0
  13. polyfile/http/http_11.py +548 -0
  14. polyfile/http/matcher.py +37 -0
  15. polyfile/http/structured_headers.py +48 -0
  16. polyfile/iterators.py +72 -0
  17. polyfile/jpeg.py +24 -0
  18. polyfile/kaitai/__init__.py +0 -0
  19. polyfile/kaitai/compiler.py +156 -0
  20. polyfile/kaitai/parser.py +312 -0
  21. polyfile/kaitai/parsers/__init__.py +0 -0
  22. polyfile/kaitai/parsers/aix_utmp.py +116 -0
  23. polyfile/kaitai/parsers/allegro_dat.py +367 -0
  24. polyfile/kaitai/parsers/andes_firmware.py +64 -0
  25. polyfile/kaitai/parsers/android_bootldr_asus.py +105 -0
  26. polyfile/kaitai/parsers/android_bootldr_huawei.py +181 -0
  27. polyfile/kaitai/parsers/android_bootldr_qcom.py +217 -0
  28. polyfile/kaitai/parsers/android_dto.py +138 -0
  29. polyfile/kaitai/parsers/android_img.py +319 -0
  30. polyfile/kaitai/parsers/android_nanoapp_header.py +83 -0
  31. polyfile/kaitai/parsers/android_opengl_shaders_cache.py +151 -0
  32. polyfile/kaitai/parsers/android_sparse.py +237 -0
  33. polyfile/kaitai/parsers/android_super.py +401 -0
  34. polyfile/kaitai/parsers/apm_partition_table.py +196 -0
  35. polyfile/kaitai/parsers/apple_single_double.py +180 -0
  36. polyfile/kaitai/parsers/asn1_der.py +235 -0
  37. polyfile/kaitai/parsers/au.py +138 -0
  38. polyfile/kaitai/parsers/avantes_roh60.py +112 -0
  39. polyfile/kaitai/parsers/avi.py +296 -0
  40. polyfile/kaitai/parsers/bcd.py +111 -0
  41. polyfile/kaitai/parsers/bitcoin_transaction.py +210 -0
  42. polyfile/kaitai/parsers/blender_blend.py +334 -0
  43. polyfile/kaitai/parsers/bmp.py +780 -0
  44. polyfile/kaitai/parsers/bson.py +411 -0
  45. polyfile/kaitai/parsers/btrfs_stream.py +318 -0
  46. polyfile/kaitai/parsers/bytes_with_io.py +27 -0
  47. polyfile/kaitai/parsers/chrome_pak.py +194 -0
  48. polyfile/kaitai/parsers/code_6502.py +456 -0
  49. polyfile/kaitai/parsers/compressed_resource.py +217 -0
  50. polyfile/kaitai/parsers/cpio_old_le.py +154 -0
  51. polyfile/kaitai/parsers/cramfs.py +344 -0
  52. polyfile/kaitai/parsers/creative_voice_file.py +342 -0
  53. polyfile/kaitai/parsers/dbf.py +274 -0
  54. polyfile/kaitai/parsers/dcmp_0.py +664 -0
  55. polyfile/kaitai/parsers/dcmp_1.py +422 -0
  56. polyfile/kaitai/parsers/dcmp_2.py +312 -0
  57. polyfile/kaitai/parsers/dcmp_variable_length_integer.py +66 -0
  58. polyfile/kaitai/parsers/dex.py +1086 -0
  59. polyfile/kaitai/parsers/dicom.py +4370 -0
  60. polyfile/kaitai/parsers/dime_message.py +201 -0
  61. polyfile/kaitai/parsers/dns_packet.py +569 -0
  62. polyfile/kaitai/parsers/doom_wad.py +654 -0
  63. polyfile/kaitai/parsers/dos_datetime.py +191 -0
  64. polyfile/kaitai/parsers/dos_mz.py +172 -0
  65. polyfile/kaitai/parsers/ds_store.py +513 -0
  66. polyfile/kaitai/parsers/dtb.py +310 -0
  67. polyfile/kaitai/parsers/dune_2_pak.py +126 -0
  68. polyfile/kaitai/parsers/edid.py +472 -0
  69. polyfile/kaitai/parsers/efivar_signature_list.py +331 -0
  70. polyfile/kaitai/parsers/elf.py +2482 -0
  71. polyfile/kaitai/parsers/ethernet_frame.py +114 -0
  72. polyfile/kaitai/parsers/exif.py +723 -0
  73. polyfile/kaitai/parsers/ext2.py +537 -0
  74. polyfile/kaitai/parsers/fallout2_dat.py +187 -0
  75. polyfile/kaitai/parsers/fallout_dat.py +156 -0
  76. polyfile/kaitai/parsers/fasttracker_xm_module.py +558 -0
  77. polyfile/kaitai/parsers/ftl_dat.py +90 -0
  78. polyfile/kaitai/parsers/genmidi_op2.py +161 -0
  79. polyfile/kaitai/parsers/gettext_mo.py +541 -0
  80. polyfile/kaitai/parsers/gif.py +492 -0
  81. polyfile/kaitai/parsers/gimp_brush.py +244 -0
  82. polyfile/kaitai/parsers/glibc_utmp.py +114 -0
  83. polyfile/kaitai/parsers/gltf_binary.py +132 -0
  84. polyfile/kaitai/parsers/google_protobuf.py +151 -0
  85. polyfile/kaitai/parsers/gpt_partition_table.py +175 -0
  86. polyfile/kaitai/parsers/gran_turismo_vol.py +140 -0
  87. polyfile/kaitai/parsers/grub2_font.py +337 -0
  88. polyfile/kaitai/parsers/gzip.py +232 -0
  89. polyfile/kaitai/parsers/hashcat_restore.py +60 -0
  90. polyfile/kaitai/parsers/hccap.py +111 -0
  91. polyfile/kaitai/parsers/hccapx.py +103 -0
  92. polyfile/kaitai/parsers/heaps_pak.py +177 -0
  93. polyfile/kaitai/parsers/heroes_of_might_and_magic_agg.py +116 -0
  94. polyfile/kaitai/parsers/heroes_of_might_and_magic_bmp.py +34 -0
  95. polyfile/kaitai/parsers/icmp_packet.py +136 -0
  96. polyfile/kaitai/parsers/ico.py +129 -0
  97. polyfile/kaitai/parsers/id3v1_1.py +220 -0
  98. polyfile/kaitai/parsers/id3v2_3.py +324 -0
  99. polyfile/kaitai/parsers/id3v2_4.py +423 -0
  100. polyfile/kaitai/parsers/ines.py +282 -0
  101. polyfile/kaitai/parsers/ipv4_packet.py +158 -0
  102. polyfile/kaitai/parsers/ipv6_packet.py +55 -0
  103. polyfile/kaitai/parsers/iso9660.py +544 -0
  104. polyfile/kaitai/parsers/java_class.py +1113 -0
  105. polyfile/kaitai/parsers/jpeg.py +361 -0
  106. polyfile/kaitai/parsers/luks.py +149 -0
  107. polyfile/kaitai/parsers/lzh.py +165 -0
  108. polyfile/kaitai/parsers/mac_os_resource_snd.py +493 -0
  109. polyfile/kaitai/parsers/mach_o.py +3033 -0
  110. polyfile/kaitai/parsers/mach_o_fat.py +92 -0
  111. polyfile/kaitai/parsers/magicavoxel_vox.py +391 -0
  112. polyfile/kaitai/parsers/manifest.json +1 -0
  113. polyfile/kaitai/parsers/mbr_partition_table.py +119 -0
  114. polyfile/kaitai/parsers/mcap.py +1015 -0
  115. polyfile/kaitai/parsers/microsoft_cfb.py +293 -0
  116. polyfile/kaitai/parsers/microsoft_network_monitor_v2.py +309 -0
  117. polyfile/kaitai/parsers/microsoft_pe.py +765 -0
  118. polyfile/kaitai/parsers/mifare_classic.py +706 -0
  119. polyfile/kaitai/parsers/minecraft_nbt.py +449 -0
  120. polyfile/kaitai/parsers/monomakh_sapr_chg.py +69 -0
  121. polyfile/kaitai/parsers/mozilla_mar.py +239 -0
  122. polyfile/kaitai/parsers/mp4.py +333 -0
  123. polyfile/kaitai/parsers/msgpack.py +467 -0
  124. polyfile/kaitai/parsers/nitf.py +1189 -0
  125. polyfile/kaitai/parsers/nt_mdt_pal.py +155 -0
  126. polyfile/kaitai/parsers/ogg.py +118 -0
  127. polyfile/kaitai/parsers/openpgp_message.py +993 -0
  128. polyfile/kaitai/parsers/packet_ppi.py +515 -0
  129. polyfile/kaitai/parsers/pcap.py +344 -0
  130. polyfile/kaitai/parsers/pcf_font.py +506 -0
  131. polyfile/kaitai/parsers/pcx.py +195 -0
  132. polyfile/kaitai/parsers/pcx_dcx.py +79 -0
  133. polyfile/kaitai/parsers/phar_without_stub.py +399 -0
  134. polyfile/kaitai/parsers/php_serialized_value.py +505 -0
  135. polyfile/kaitai/parsers/png.py +721 -0
  136. polyfile/kaitai/parsers/protocol_body.py +260 -0
  137. polyfile/kaitai/parsers/psx_tim.py +104 -0
  138. polyfile/kaitai/parsers/python_pickle.py +718 -0
  139. polyfile/kaitai/parsers/python_pyc_27.py +510 -0
  140. polyfile/kaitai/parsers/quake_mdl.py +441 -0
  141. polyfile/kaitai/parsers/quake_pak.py +112 -0
  142. polyfile/kaitai/parsers/quicktime_mov.py +634 -0
  143. polyfile/kaitai/parsers/rar.py +265 -0
  144. polyfile/kaitai/parsers/regf.py +569 -0
  145. polyfile/kaitai/parsers/renderware_binary_stream.py +877 -0
  146. polyfile/kaitai/parsers/resource_fork.py +611 -0
  147. polyfile/kaitai/parsers/respack.py +57 -0
  148. polyfile/kaitai/parsers/riff.py +409 -0
  149. polyfile/kaitai/parsers/rpm.py +964 -0
  150. polyfile/kaitai/parsers/rtcp_payload.py +579 -0
  151. polyfile/kaitai/parsers/rtp_packet.py +150 -0
  152. polyfile/kaitai/parsers/rtpdump.py +115 -0
  153. polyfile/kaitai/parsers/ruby_marshal.py +423 -0
  154. polyfile/kaitai/parsers/s3m.py +493 -0
  155. polyfile/kaitai/parsers/saints_row_2_vpp_pc.py +254 -0
  156. polyfile/kaitai/parsers/shapefile_index.py +174 -0
  157. polyfile/kaitai/parsers/shapefile_main.py +893 -0
  158. polyfile/kaitai/parsers/some_ip.py +209 -0
  159. polyfile/kaitai/parsers/some_ip_container.py +37 -0
  160. polyfile/kaitai/parsers/some_ip_sd.py +86 -0
  161. polyfile/kaitai/parsers/some_ip_sd_entries.py +160 -0
  162. polyfile/kaitai/parsers/some_ip_sd_options.py +374 -0
  163. polyfile/kaitai/parsers/specpr.py +404 -0
  164. polyfile/kaitai/parsers/sqlite3.py +472 -0
  165. polyfile/kaitai/parsers/ssh_public_key.py +252 -0
  166. polyfile/kaitai/parsers/standard_midi_file.py +390 -0
  167. polyfile/kaitai/parsers/stl.py +111 -0
  168. polyfile/kaitai/parsers/sudoers_ts.py +201 -0
  169. polyfile/kaitai/parsers/swf.py +406 -0
  170. polyfile/kaitai/parsers/systemd_journal.py +361 -0
  171. polyfile/kaitai/parsers/tcp_segment.py +57 -0
  172. polyfile/kaitai/parsers/tga.py +213 -0
  173. polyfile/kaitai/parsers/tls_client_hello.py +293 -0
  174. polyfile/kaitai/parsers/tr_dos_image.py +322 -0
  175. polyfile/kaitai/parsers/tsm.py +198 -0
  176. polyfile/kaitai/parsers/ttf.py +1847 -0
  177. polyfile/kaitai/parsers/udp_datagram.py +42 -0
  178. polyfile/kaitai/parsers/uefi_te.py +236 -0
  179. polyfile/kaitai/parsers/uimage.py +198 -0
  180. polyfile/kaitai/parsers/utf8_string.py +137 -0
  181. polyfile/kaitai/parsers/vfat.py +410 -0
  182. polyfile/kaitai/parsers/vlq_base128_be.py +104 -0
  183. polyfile/kaitai/parsers/vlq_base128_le.py +129 -0
  184. polyfile/kaitai/parsers/vmware_vmdk.py +167 -0
  185. polyfile/kaitai/parsers/vp8_ivf.py +112 -0
  186. polyfile/kaitai/parsers/warcraft_2_pud.py +423 -0
  187. polyfile/kaitai/parsers/wav.py +1014 -0
  188. polyfile/kaitai/parsers/websocket.py +167 -0
  189. polyfile/kaitai/parsers/windows_evt_log.py +304 -0
  190. polyfile/kaitai/parsers/windows_lnk_file.py +467 -0
  191. polyfile/kaitai/parsers/windows_minidump.py +575 -0
  192. polyfile/kaitai/parsers/windows_resource_file.py +243 -0
  193. polyfile/kaitai/parsers/windows_shell_items.py +190 -0
  194. polyfile/kaitai/parsers/windows_systemtime.py +52 -0
  195. polyfile/kaitai/parsers/wmf.py +502 -0
  196. polyfile/kaitai/parsers/xar.py +181 -0
  197. polyfile/kaitai/parsers/xwd.py +189 -0
  198. polyfile/kaitai/parsers/zip.py +685 -0
  199. polyfile/kaitai/parsers/zisofs.py +158 -0
  200. polyfile/kaitai/parsers/zx_spectrum_tap.py +184 -0
  201. polyfile/kaitaimatcher.py +113 -0
  202. polyfile/languagematcher.py +217 -0
  203. polyfile/logger.py +135 -0
  204. polyfile/magic.py +2983 -0
  205. polyfile/magic_defs/COPYING +29 -0
  206. polyfile/magic_defs/__init__.py +0 -0
  207. polyfile/magic_defs/acorn +102 -0
  208. polyfile/magic_defs/adi +13 -0
  209. polyfile/magic_defs/adventure +122 -0
  210. polyfile/magic_defs/aes +29 -0
  211. polyfile/magic_defs/algol68 +35 -0
  212. polyfile/magic_defs/allegro +9 -0
  213. polyfile/magic_defs/alliant +18 -0
  214. polyfile/magic_defs/alpha +32 -0
  215. polyfile/magic_defs/amanda +12 -0
  216. polyfile/magic_defs/amigaos +218 -0
  217. polyfile/magic_defs/android +259 -0
  218. polyfile/magic_defs/animation +1197 -0
  219. polyfile/magic_defs/aout +46 -0
  220. polyfile/magic_defs/apache +28 -0
  221. polyfile/magic_defs/apl +7 -0
  222. polyfile/magic_defs/apple +773 -0
  223. polyfile/magic_defs/application +7 -0
  224. polyfile/magic_defs/applix +13 -0
  225. polyfile/magic_defs/apt +52 -0
  226. polyfile/magic_defs/archive +2586 -0
  227. polyfile/magic_defs/aria +38 -0
  228. polyfile/magic_defs/arm +50 -0
  229. polyfile/magic_defs/asf +132 -0
  230. polyfile/magic_defs/assembler +18 -0
  231. polyfile/magic_defs/asterix +18 -0
  232. polyfile/magic_defs/att3b +41 -0
  233. polyfile/magic_defs/audio +1291 -0
  234. polyfile/magic_defs/avm +33 -0
  235. polyfile/magic_defs/basis +18 -0
  236. polyfile/magic_defs/beetle +7 -0
  237. polyfile/magic_defs/ber +65 -0
  238. polyfile/magic_defs/bflt +14 -0
  239. polyfile/magic_defs/bhl +10 -0
  240. polyfile/magic_defs/bioinformatics +178 -0
  241. polyfile/magic_defs/biosig +154 -0
  242. polyfile/magic_defs/blackberry +8 -0
  243. polyfile/magic_defs/blcr +25 -0
  244. polyfile/magic_defs/blender +50 -0
  245. polyfile/magic_defs/blit +24 -0
  246. polyfile/magic_defs/bm +10 -0
  247. polyfile/magic_defs/bout +11 -0
  248. polyfile/magic_defs/bsdi +33 -0
  249. polyfile/magic_defs/bsi +10 -0
  250. polyfile/magic_defs/btsnoop +13 -0
  251. polyfile/magic_defs/burp +7 -0
  252. polyfile/magic_defs/bytecode +41 -0
  253. polyfile/magic_defs/c-lang +110 -0
  254. polyfile/magic_defs/c64 +531 -0
  255. polyfile/magic_defs/cad +437 -0
  256. polyfile/magic_defs/cafebabe +107 -0
  257. polyfile/magic_defs/cbor +21 -0
  258. polyfile/magic_defs/ccf +14 -0
  259. polyfile/magic_defs/cddb +12 -0
  260. polyfile/magic_defs/chord +15 -0
  261. polyfile/magic_defs/cisco +12 -0
  262. polyfile/magic_defs/citrus +12 -0
  263. polyfile/magic_defs/clarion +27 -0
  264. polyfile/magic_defs/claris +48 -0
  265. polyfile/magic_defs/clipper +65 -0
  266. polyfile/magic_defs/clojure +30 -0
  267. polyfile/magic_defs/coff +98 -0
  268. polyfile/magic_defs/commands +201 -0
  269. polyfile/magic_defs/communications +22 -0
  270. polyfile/magic_defs/compress +461 -0
  271. polyfile/magic_defs/console +1213 -0
  272. polyfile/magic_defs/convex +69 -0
  273. polyfile/magic_defs/coverage +91 -0
  274. polyfile/magic_defs/cracklib +14 -0
  275. polyfile/magic_defs/crypto +31 -0
  276. polyfile/magic_defs/csv +8 -0
  277. polyfile/magic_defs/ctags +6 -0
  278. polyfile/magic_defs/ctf +23 -0
  279. polyfile/magic_defs/cubemap +8 -0
  280. polyfile/magic_defs/cups +56 -0
  281. polyfile/magic_defs/dact +11 -0
  282. polyfile/magic_defs/database +886 -0
  283. polyfile/magic_defs/dataone +47 -0
  284. polyfile/magic_defs/dbpf +15 -0
  285. polyfile/magic_defs/der +146 -0
  286. polyfile/magic_defs/diamond +12 -0
  287. polyfile/magic_defs/dif +33 -0
  288. polyfile/magic_defs/diff +41 -0
  289. polyfile/magic_defs/digital +59 -0
  290. polyfile/magic_defs/dolby +69 -0
  291. polyfile/magic_defs/dsf +25 -0
  292. polyfile/magic_defs/dump +96 -0
  293. polyfile/magic_defs/dwarfs +45 -0
  294. polyfile/magic_defs/dyadic +61 -0
  295. polyfile/magic_defs/ebml +8 -0
  296. polyfile/magic_defs/edid +11 -0
  297. polyfile/magic_defs/editors +43 -0
  298. polyfile/magic_defs/efi +15 -0
  299. polyfile/magic_defs/elf +379 -0
  300. polyfile/magic_defs/encore +22 -0
  301. polyfile/magic_defs/epoc +62 -0
  302. polyfile/magic_defs/erlang +21 -0
  303. polyfile/magic_defs/espressif +57 -0
  304. polyfile/magic_defs/esri +28 -0
  305. polyfile/magic_defs/etf +33 -0
  306. polyfile/magic_defs/fcs +9 -0
  307. polyfile/magic_defs/filesystems +2694 -0
  308. polyfile/magic_defs/finger +16 -0
  309. polyfile/magic_defs/firmware +133 -0
  310. polyfile/magic_defs/flash +62 -0
  311. polyfile/magic_defs/flif +36 -0
  312. polyfile/magic_defs/fonts +449 -0
  313. polyfile/magic_defs/forth +82 -0
  314. polyfile/magic_defs/fortran +9 -0
  315. polyfile/magic_defs/frame +62 -0
  316. polyfile/magic_defs/freebsd +164 -0
  317. polyfile/magic_defs/fsav +128 -0
  318. polyfile/magic_defs/fusecompress +12 -0
  319. polyfile/magic_defs/games +696 -0
  320. polyfile/magic_defs/gcc +17 -0
  321. polyfile/magic_defs/gconv +10 -0
  322. polyfile/magic_defs/gentoo +85 -0
  323. polyfile/magic_defs/geo +166 -0
  324. polyfile/magic_defs/geos +20 -0
  325. polyfile/magic_defs/gimp +77 -0
  326. polyfile/magic_defs/git +13 -0
  327. polyfile/magic_defs/glibc +21 -0
  328. polyfile/magic_defs/gnome +59 -0
  329. polyfile/magic_defs/gnu +173 -0
  330. polyfile/magic_defs/gnumeric +8 -0
  331. polyfile/magic_defs/gpt +240 -0
  332. polyfile/magic_defs/gpu +28 -0
  333. polyfile/magic_defs/grace +21 -0
  334. polyfile/magic_defs/graphviz +12 -0
  335. polyfile/magic_defs/gringotts +48 -0
  336. polyfile/magic_defs/guile +13 -0
  337. polyfile/magic_defs/hardware +12 -0
  338. polyfile/magic_defs/hitachi-sh +30 -0
  339. polyfile/magic_defs/hp +433 -0
  340. polyfile/magic_defs/human68k +26 -0
  341. polyfile/magic_defs/ibm370 +52 -0
  342. polyfile/magic_defs/ibm6000 +35 -0
  343. polyfile/magic_defs/icc +214 -0
  344. polyfile/magic_defs/iff +80 -0
  345. polyfile/magic_defs/images +4210 -0
  346. polyfile/magic_defs/inform +9 -0
  347. polyfile/magic_defs/intel +310 -0
  348. polyfile/magic_defs/interleaf +9 -0
  349. polyfile/magic_defs/island +10 -0
  350. polyfile/magic_defs/ispell +63 -0
  351. polyfile/magic_defs/isz +15 -0
  352. polyfile/magic_defs/java +52 -0
  353. polyfile/magic_defs/javascript +171 -0
  354. polyfile/magic_defs/jpeg +252 -0
  355. polyfile/magic_defs/json +8 -0
  356. polyfile/magic_defs/karma +9 -0
  357. polyfile/magic_defs/kde +11 -0
  358. polyfile/magic_defs/keepass +20 -0
  359. polyfile/magic_defs/kerberos +45 -0
  360. polyfile/magic_defs/kicad +85 -0
  361. polyfile/magic_defs/kml +34 -0
  362. polyfile/magic_defs/lammps +64 -0
  363. polyfile/magic_defs/lecter +6 -0
  364. polyfile/magic_defs/lex +12 -0
  365. polyfile/magic_defs/lif +50 -0
  366. polyfile/magic_defs/linux +557 -0
  367. polyfile/magic_defs/lisp +78 -0
  368. polyfile/magic_defs/llvm +22 -0
  369. polyfile/magic_defs/locoscript +12 -0
  370. polyfile/magic_defs/lua +31 -0
  371. polyfile/magic_defs/luks +126 -0
  372. polyfile/magic_defs/m4 +11 -0
  373. polyfile/magic_defs/mach +303 -0
  374. polyfile/magic_defs/macintosh +505 -0
  375. polyfile/magic_defs/macos +7 -0
  376. polyfile/magic_defs/magic +10 -0
  377. polyfile/magic_defs/magic.mgc +0 -0
  378. polyfile/magic_defs/mail.news +132 -0
  379. polyfile/magic_defs/make +21 -0
  380. polyfile/magic_defs/map +413 -0
  381. polyfile/magic_defs/maple +109 -0
  382. polyfile/magic_defs/marc21 +30 -0
  383. polyfile/magic_defs/mathcad +8 -0
  384. polyfile/magic_defs/mathematica +188 -0
  385. polyfile/magic_defs/matroska +17 -0
  386. polyfile/magic_defs/mcrypt +52 -0
  387. polyfile/magic_defs/measure +44 -0
  388. polyfile/magic_defs/mercurial +13 -0
  389. polyfile/magic_defs/metastore +8 -0
  390. polyfile/magic_defs/meteorological +53 -0
  391. polyfile/magic_defs/microfocus +21 -0
  392. polyfile/magic_defs/mime +9 -0
  393. polyfile/magic_defs/mips +120 -0
  394. polyfile/magic_defs/mirage +8 -0
  395. polyfile/magic_defs/misctools +140 -0
  396. polyfile/magic_defs/mkid +11 -0
  397. polyfile/magic_defs/mlssa +8 -0
  398. polyfile/magic_defs/mmdf +6 -0
  399. polyfile/magic_defs/modem +92 -0
  400. polyfile/magic_defs/modulefile +9 -0
  401. polyfile/magic_defs/motorola +71 -0
  402. polyfile/magic_defs/mozilla +37 -0
  403. polyfile/magic_defs/msdos +2304 -0
  404. polyfile/magic_defs/msooxml +68 -0
  405. polyfile/magic_defs/msvc +222 -0
  406. polyfile/magic_defs/msx +309 -0
  407. polyfile/magic_defs/mup +24 -0
  408. polyfile/magic_defs/music +17 -0
  409. polyfile/magic_defs/nasa +7 -0
  410. polyfile/magic_defs/natinst +24 -0
  411. polyfile/magic_defs/ncr +49 -0
  412. polyfile/magic_defs/neko +12 -0
  413. polyfile/magic_defs/netbsd +251 -0
  414. polyfile/magic_defs/netscape +26 -0
  415. polyfile/magic_defs/netware +11 -0
  416. polyfile/magic_defs/news +13 -0
  417. polyfile/magic_defs/nifty +202 -0
  418. polyfile/magic_defs/nim-lang +29 -0
  419. polyfile/magic_defs/nitpicker +14 -0
  420. polyfile/magic_defs/numpy +9 -0
  421. polyfile/magic_defs/oasis +12 -0
  422. polyfile/magic_defs/ocaml +14 -0
  423. polyfile/magic_defs/octave +6 -0
  424. polyfile/magic_defs/ole2compounddocs +760 -0
  425. polyfile/magic_defs/olf +98 -0
  426. polyfile/magic_defs/openfst +17 -0
  427. polyfile/magic_defs/opentimestamps +16 -0
  428. polyfile/magic_defs/oric +16 -0
  429. polyfile/magic_defs/os2 +186 -0
  430. polyfile/magic_defs/os400 +39 -0
  431. polyfile/magic_defs/os9 +80 -0
  432. polyfile/magic_defs/osf1 +10 -0
  433. polyfile/magic_defs/palm +156 -0
  434. polyfile/magic_defs/parix +13 -0
  435. polyfile/magic_defs/parrot +22 -0
  436. polyfile/magic_defs/pascal +39 -0
  437. polyfile/magic_defs/pbf +11 -0
  438. polyfile/magic_defs/pbm +8 -0
  439. polyfile/magic_defs/pc88 +24 -0
  440. polyfile/magic_defs/pc98 +77 -0
  441. polyfile/magic_defs/pci_ids +116 -0
  442. polyfile/magic_defs/pcjr +8 -0
  443. polyfile/magic_defs/pdf +51 -0
  444. polyfile/magic_defs/pdp +42 -0
  445. polyfile/magic_defs/perl +100 -0
  446. polyfile/magic_defs/pgf +52 -0
  447. polyfile/magic_defs/pgp +581 -0
  448. polyfile/magic_defs/pgp-binary-keys +388 -0
  449. polyfile/magic_defs/pkgadd +7 -0
  450. polyfile/magic_defs/plan9 +25 -0
  451. polyfile/magic_defs/playdate +57 -0
  452. polyfile/magic_defs/plus5 +18 -0
  453. polyfile/magic_defs/pmem +46 -0
  454. polyfile/magic_defs/polyfile_zip +5 -0
  455. polyfile/magic_defs/polyml +23 -0
  456. polyfile/magic_defs/printer +269 -0
  457. polyfile/magic_defs/project +10 -0
  458. polyfile/magic_defs/psdbms +14 -0
  459. polyfile/magic_defs/psl +14 -0
  460. polyfile/magic_defs/pulsar +13 -0
  461. polyfile/magic_defs/puzzle +17 -0
  462. polyfile/magic_defs/pwsafe +14 -0
  463. polyfile/magic_defs/pyramid +12 -0
  464. polyfile/magic_defs/python +305 -0
  465. polyfile/magic_defs/qt +30 -0
  466. polyfile/magic_defs/revision +66 -0
  467. polyfile/magic_defs/riff +840 -0
  468. polyfile/magic_defs/rinex +44 -0
  469. polyfile/magic_defs/ringdove +45 -0
  470. polyfile/magic_defs/rpi +52 -0
  471. polyfile/magic_defs/rpm +45 -0
  472. polyfile/magic_defs/rpmsg +7 -0
  473. polyfile/magic_defs/rst +11 -0
  474. polyfile/magic_defs/rtf +94 -0
  475. polyfile/magic_defs/ruby +55 -0
  476. polyfile/magic_defs/rust +21 -0
  477. polyfile/magic_defs/sc +7 -0
  478. polyfile/magic_defs/sccs +24 -0
  479. polyfile/magic_defs/scientific +144 -0
  480. polyfile/magic_defs/securitycerts +6 -0
  481. polyfile/magic_defs/selinux +24 -0
  482. polyfile/magic_defs/sendmail +37 -0
  483. polyfile/magic_defs/sequent +42 -0
  484. polyfile/magic_defs/sereal +35 -0
  485. polyfile/magic_defs/sgi +144 -0
  486. polyfile/magic_defs/sgml +161 -0
  487. polyfile/magic_defs/sharc +23 -0
  488. polyfile/magic_defs/sinclair +40 -0
  489. polyfile/magic_defs/sisu +18 -0
  490. polyfile/magic_defs/sketch +6 -0
  491. polyfile/magic_defs/smalltalk +25 -0
  492. polyfile/magic_defs/smile +34 -0
  493. polyfile/magic_defs/sniffer +482 -0
  494. polyfile/magic_defs/softquad +40 -0
  495. polyfile/magic_defs/sosi +40 -0
  496. polyfile/magic_defs/spec +21 -0
  497. polyfile/magic_defs/spectrum +184 -0
  498. polyfile/magic_defs/sql +288 -0
  499. polyfile/magic_defs/ssh +39 -0
  500. polyfile/magic_defs/ssl +20 -0
  501. polyfile/magic_defs/statistics +45 -0
  502. polyfile/magic_defs/subtitle +38 -0
  503. polyfile/magic_defs/sun +141 -0
  504. polyfile/magic_defs/svf +5 -0
  505. polyfile/magic_defs/sylk +36 -0
  506. polyfile/magic_defs/symbos +42 -0
  507. polyfile/magic_defs/sysex +429 -0
  508. polyfile/magic_defs/tcl +29 -0
  509. polyfile/magic_defs/teapot +6 -0
  510. polyfile/magic_defs/terminfo +63 -0
  511. polyfile/magic_defs/tex +141 -0
  512. polyfile/magic_defs/tgif +7 -0
  513. polyfile/magic_defs/ti-8x +239 -0
  514. polyfile/magic_defs/timezone +42 -0
  515. polyfile/magic_defs/tplink +95 -0
  516. polyfile/magic_defs/troff +38 -0
  517. polyfile/magic_defs/tuxedo +8 -0
  518. polyfile/magic_defs/typeset +8 -0
  519. polyfile/magic_defs/uf2 +72 -0
  520. polyfile/magic_defs/unicode +15 -0
  521. polyfile/magic_defs/unisig +12 -0
  522. polyfile/magic_defs/unknown +34 -0
  523. polyfile/magic_defs/usd +21 -0
  524. polyfile/magic_defs/uterus +16 -0
  525. polyfile/magic_defs/uuencode +28 -0
  526. polyfile/magic_defs/vacuum-cleaner +54 -0
  527. polyfile/magic_defs/varied.out +46 -0
  528. polyfile/magic_defs/varied.script +21 -0
  529. polyfile/magic_defs/vax +32 -0
  530. polyfile/magic_defs/vicar +17 -0
  531. polyfile/magic_defs/virtual +307 -0
  532. polyfile/magic_defs/virtutech +12 -0
  533. polyfile/magic_defs/visx +32 -0
  534. polyfile/magic_defs/vms +30 -0
  535. polyfile/magic_defs/vmware +6 -0
  536. polyfile/magic_defs/vorbis +155 -0
  537. polyfile/magic_defs/vxl +14 -0
  538. polyfile/magic_defs/warc +16 -0
  539. polyfile/magic_defs/weak +16 -0
  540. polyfile/magic_defs/web +18 -0
  541. polyfile/magic_defs/webassembly +17 -0
  542. polyfile/magic_defs/windows +1811 -0
  543. polyfile/magic_defs/wireless +7 -0
  544. polyfile/magic_defs/wordprocessors +630 -0
  545. polyfile/magic_defs/wsdl +23 -0
  546. polyfile/magic_defs/x68000 +25 -0
  547. polyfile/magic_defs/xdelta +13 -0
  548. polyfile/magic_defs/xenix +106 -0
  549. polyfile/magic_defs/xilinx +58 -0
  550. polyfile/magic_defs/xo65 +37 -0
  551. polyfile/magic_defs/xwindows +43 -0
  552. polyfile/magic_defs/yara +17 -0
  553. polyfile/magic_defs/zfs +96 -0
  554. polyfile/magic_defs/zilog +12 -0
  555. polyfile/magic_defs/zip +126 -0
  556. polyfile/magic_defs/zyxel +17 -0
  557. polyfile/nes.py +144 -0
  558. polyfile/nitf.py +15 -0
  559. polyfile/pdf.py +1264 -0
  560. polyfile/pickles.py +45 -0
  561. polyfile/polyfile.py +409 -0
  562. polyfile/profiling.py +115 -0
  563. polyfile/repl.py +624 -0
  564. polyfile/search.py +310 -0
  565. polyfile/serialization.py +323 -0
  566. polyfile/structmatcher.py +46 -0
  567. polyfile/structs.py +281 -0
  568. polyfile/templates/download.js +162 -0
  569. polyfile/templates/hexdump.css +268 -0
  570. polyfile/templates/hexdump.js +756 -0
  571. polyfile/templates/jquery-3.4.1.min.js +2 -0
  572. polyfile/templates/template.html +119 -0
  573. polyfile/wildcards.py +62 -0
  574. polyfile/zipmatcher.py +183 -0
  575. polyfile_weave-0.5.5.dist-info/METADATA +173 -0
  576. polyfile_weave-0.5.5.dist-info/RECORD +585 -0
  577. polyfile_weave-0.5.5.dist-info/WHEEL +5 -0
  578. polyfile_weave-0.5.5.dist-info/entry_points.txt +2 -0
  579. polyfile_weave-0.5.5.dist-info/licenses/LICENSE +202 -0
  580. polyfile_weave-0.5.5.dist-info/top_level.txt +2 -0
  581. polymerge/__init__.py +1 -0
  582. polymerge/__main__.py +296 -0
  583. polymerge/cfg.py +127 -0
  584. polymerge/polymerge.py +227 -0
  585. polymerge/polytracker.py +190 -0
@@ -0,0 +1,760 @@
1
+
2
+ #------------------------------------------------------------------------------
3
+ # $File: ole2compounddocs,v 1.26 2023/05/15 16:46:12 christos Exp $
4
+ # Microsoft OLE 2 Compound Documents : file(1) magic for Microsoft Structured
5
+ # storage (https://en.wikipedia.org/wiki/Compound_File_Binary_Format)
6
+ # Additional tests for OLE 2 Compound Documents should be under this recipe.
7
+ # reference: https://www.openoffice.org/sc/compdocfileformat.pdf
8
+
9
+ 0 string \320\317\021\340\241\261\032\341
10
+ # https://digital-preservation.github.io/droid/
11
+ # skip droid skeleton like fmt-39-signature-id-128.doc by valid version
12
+ >0x1A ushort !0xABAB OLE 2 Compound Document
13
+ #>0x1C uleshort x \b, endnian %#4.4x
14
+ # big endian not tested
15
+ >>0x1C ubeshort =0xfffe \b, big-endian
16
+ >>>546 string jbjb : Microsoft Word Document
17
+ !:mime application/msword
18
+ !:apple MSWDWDBN
19
+ !:ext doc
20
+ # Byte Order 0xFFFE means little-endian found in real world applications
21
+ #>>0x1C uleshort =0xfffe \b, little-endian
22
+ >>0x1C uleshort =0xfffe
23
+ # From: Joerg Jenderek
24
+ # Major Version 3 or 4
25
+ >>>0x1A uleshort x \b, v%u
26
+ # Minor Version 32h=50 3Bh=59 3Eh=62
27
+ >>>0x18 uleshort x \b.%u
28
+ # SecID of first sector of the directory stream is often 1 but high like 3144h
29
+ >>>48 ulelong x \b, SecID %#x
30
+ # Sector Shift Exponent in short-stream container stream: 6~64 bytes
31
+ >>>32 uleshort !6 \b, exponent of short stream %u
32
+ # total number of sectors used for the FAT
33
+ >>>44 ulelong >1 \b, %u FAT sectors
34
+ # SecID of first sector of the short-sector allocation table (Mini FAT)
35
+ # or -2 (End Of ChainSecID) if not extant
36
+ >>>60 ulelong !0xffFFffFE \b, Mini FAT start sector %#x
37
+ # total number of sectors used for the short-sector allocation table
38
+ >>>64 ulelong !1 \b, %u Mini FAT sector
39
+ # plural s
40
+ >>>>64 ulelong >1 \bs
41
+ # SecID of first sector of the master sector allocation table (DIFAT)
42
+ # or -2 (End Of Chain SecID) if no additional sectors used
43
+ >>>68 ulelong !0xffFFffFE \b, DIFAT start sector %#x
44
+ # total number of sectors used for the master sector allocation table (DIFAT)
45
+ >>>72 ulelong >0 \b, %u DIFAT sectors
46
+ # First part of the master sector allocation table (DIFAT) containing 109 SecIDs
47
+ #>>>76 ubequad x \b, DIFAT=%#16.16llx
48
+ #>>>84 ubequad x \b%16.16llx...
49
+ # pointer to root entry only works with standard configuration for SecID ~< 800h
50
+ # Red-Carpet-presentation-1.0-1.sdd sg10.sdv 2000_GA_Annual_Review_Data.xls
51
+ # "ORLEN Factbook 2017.xls" XnView_metadata.doc
52
+ # "Barham, Lisa - Die Shopping-Prinzessinnen.doc" then not recognized
53
+ >>>48 ulelong >0x800 too big for FILE_BYTES_MAX = 1 MiB
54
+ # Sector Shift Exponent 9~512 for major version 3 or C~4096 for major version 4
55
+ >>>0x1E uleshort 0xc \b, blocksize 4096
56
+ # jump to one block (4096 bytes per block) before root storage block
57
+ >>>>(48.l*4096) ubyte x
58
+ >>>>>&4095 use ole2-directory
59
+ #>>>0x1E uleshort 9 \b, blocksize 512
60
+ >>>0x1E uleshort 9
61
+ # jump to one block (512 bytes per block) before root storage block
62
+ # in 5.37 only true for offset ~< FILE_BYTES_MAX=7 MiB defined in ../../src/file.h
63
+ >>>>(48.l*512) ubyte x
64
+ >>>>>&511 use ole2-directory
65
+ # check directory entry structure and display types by GUID
66
+ 0 name ole2-directory
67
+ # directory entry name like "Root Entry"
68
+ #>0 lestring16 x \b, 1st %.10s
69
+ # type of the entry; 5~Root storage
70
+ #>66 ubyte x \b, type %x
71
+ # node colour of the entry: 00H ~ Red 01H ~ Black
72
+ #>67 ubyte x \b, color %x
73
+ # the DirIDs of the child nodes. Should both be -1 in the root storage entry
74
+ #>68 bequad !0xffffffffffffffff \b, DirIDs %llx
75
+ # NEXT lines for DEBUGGING
76
+ # second directory entry name like VisioDocument Control000
77
+ #>128 lestring16 x \b, 2nd %.20s
78
+ # third directory entry like WordDocument
79
+ #>256 lestring16 x \b, 3rd %.20s
80
+ # forth
81
+ #>384 lestring16 x \b, 4th %.10s
82
+ # 5th
83
+ #>512 lestring16 x \b, 5th %.10s
84
+ # 6th
85
+ #>640 lestring16 x \b, 6th %.10s
86
+ # 7th
87
+ #>768 lestring16 x \b, 7th %.10s
88
+ # https://wikileaks.org/ciav7p1/cms/page_13762814.html
89
+ # https://m.blog.naver.com/superman4u/40047693679
90
+ # https://misc.daniel-marschall.de/projects/guid_analysis/guid.txt
91
+ # https://toolslick.com/conversion/data/guid
92
+ #>80 ubequad !0 \b, clsid %#16.16llx
93
+ #>>88 ubequad x \b%16.16llx
94
+ # test for "Root Entry" inside directory by type 5 value
95
+ >66 ubyte 5
96
+ # look for CLSID GUID 0
97
+ >>88 ubequad 0x0
98
+ >>>80 ubequad 0x0
99
+ # - Microstation V8 DGN files (www.bentley.com)
100
+ # URL: https://en.wikipedia.org/wiki/MicroStation
101
+ # Last update on 10/23/2006 by Lester Hightower
102
+ # 07/24/2019 by Joerg Jenderek
103
+ # Second directory entry name like Dgn~H Dgn~S
104
+ >>>>128 lestring16 Dgn~ : Microstation V8 CAD
105
+ #!:mime application/x-ole-storage
106
+ !:mime application/x-bentley-dgn
107
+ # http://www.q-cad.com/files/samples_cad_files/1344468165.dgn
108
+ !:ext dgn
109
+ #
110
+ # URL: http://fileformats.archiveteam.org/wiki/WordPerfect
111
+ # Second directory entry name PerfectOffice_
112
+ >>>>128 lestring16 PerfectOffice_ : WordPerfect 7-X3 presentations Master, Document or Graphic
113
+ !:mime application/vnd.wordperfect
114
+ # https://www.macdisk.com/macsigen.php "WPC2" for Wordperfect 2 *.wpd
115
+ !:apple ????WPC7
116
+ !:ext mst/wpd/wpg
117
+ #
118
+ # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Word_Processor
119
+ # Second directory entry name MatOST_
120
+ >>>>128 lestring16 MatOST : Microsoft Works 3.0 document
121
+ !:mime application/vnd.ms-works
122
+ !:apple ????AWWP
123
+ !:ext wps
124
+ #
125
+ # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Spreadsheet
126
+ # 3rd directory entry name WksSSWorkBook
127
+ >>>>256 lestring16 WksSSWorkBook : Microsoft Works 6-9 spreadsheet
128
+ !:mime application/vnd.ms-works
129
+ !:apple ????AWSS
130
+ !:ext xlr
131
+ #
132
+ # URL: http://fileformats.archiveteam.org/wiki/XLS
133
+ # what is the difference to {00020820-0000-0000-c000-000000000046} ?
134
+ # Second directory entry name Workbook
135
+ >>>>128 lestring16 Workbook
136
+ >>>>>256 lestring16 !WksSSWorkBook : Microsoft Excel 97-2003 worksheet 0 clsid
137
+ !:mime application/vnd.ms-excel
138
+ # https://www.macdisk.com/macsigen.php XLS5 for Excel 5
139
+ !:apple ????XLS9
140
+ !:ext xls
141
+ #
142
+ # URL: http://fileformats.archiveteam.org/wiki/PPT
143
+ # Second directory entry name Object1 Object12 Object35
144
+ >>>>128 lestring16 Object : Microsoft PowerPoint 4 presentation
145
+ !:mime application/vnd.ms-powerpoint
146
+ # https://www.macdisk.com/macsigen.php
147
+ !:apple ????PPT3
148
+ !:ext ppt
149
+ #
150
+ # URL: https://www.msoutlook.info/question/164
151
+ # Second directory entry name __CollDataStm
152
+ >>>>128 lestring16 __CollDataStm : Microsoft Outlook Send Receive Settings
153
+ #!:mime application/vnd.ms-outlook
154
+ !:mime application/x-ms-srs
155
+ # %APPDATA%\Microsoft\Outlook\Outlook.srs
156
+ !:ext srs
157
+ #
158
+ # URL: https://www.file-extensions.org/cag-file-extension
159
+ # Second directory entry name Category
160
+ >>>>128 lestring16 Category : Microsoft Clip Art Gallery
161
+ #!:mime application/x-ole-storage
162
+ !:mime application/x-ms-cag
163
+ !:apple MScgCGdb
164
+ !:ext cag/
165
+ #
166
+ # URL: https://www.filesuffix.com/de/extension/rra
167
+ # 3rd directory entry name StrIndex_StringTable
168
+ >>>>256 lestring16 StrIndex_StringTable : Windows temporarily installer
169
+ #!:mime application/x-ole-storage
170
+ !:mime application/x-ms-rra
171
+ !:ext rra
172
+ #
173
+ # URL: https://www.forensicswiki.org/wiki/Jump_Lists
174
+ # 3rd directory entry name DestList
175
+ >>>>256 lestring16 DestList : Windows jump list
176
+ #!:mime application/x-ole-storage
177
+ !:mime application/x-ms-jumplist
178
+ # %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\*.automaticDestinations-ms
179
+ !:ext automaticDestinations-ms
180
+ #
181
+ # URL: https://en.wikipedia.org/wiki/Windows_thumbnail_cache
182
+ # Second directory entry name 256_
183
+ >>>>128 lestring16 256_ : Windows thumbnail database 256
184
+ #!:mime application/x-ole-storage
185
+ !:mime application/x-ms-thumbnail
186
+ # Thumbs.db
187
+ !:ext db
188
+ >>>>128 lestring16 96_ : Windows thumbnail database 96
189
+ !:mime application/x-ms-thumbnail
190
+ !:ext db
191
+ # 3rd directory entry name Catalog_
192
+ >>>>256 lestring16 Catalog : Windows thumbnail database
193
+ !:mime application/x-ms-thumbnail
194
+ !:ext db
195
+ #
196
+ # URL: https://support.microsoft.com/en-us/help/300887/how-to-use-system-information-msinfo32-command-line-tool-switches
197
+ # Note: older Microsoft Systeminfo (MSInfo Configuration File of msinfo32); newer use xml based
198
+ # Second directory entry name Control000
199
+ >>>>128 lestring16 Control000 : Microsoft old Systeminfo
200
+ #!:mime application/x-ole-storage
201
+ !:mime application/x-ms-info
202
+ !:ext nfo
203
+ #
204
+ # From: Joerg Jenderek
205
+ # URL: https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns
206
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/a/arn-autoruns-v14.trid.xml
207
+ # Note: older versions til 13 about middle 2021 handled by ./windows
208
+ # called "Sysinternals Autoruns data (v14)" by TrID
209
+ # second, third and fourth directory entry name like Header Items 0
210
+ >>>>128 lestring16 Header : Microsoft sysinternals AutoRuns data, version 14
211
+ #!:mime application/x-ole-storage
212
+ !:mime application/x-ms-arn
213
+ # like: MyHOSTNAME.arn
214
+ !:ext arn
215
+ #
216
+ # From: Joerg Jenderek
217
+ # URL: https://en.wikipedia.org/wiki/Microsoft_Access
218
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/m/mdz.trid.xml
219
+ # http://fileformats.archiveteam.org/wiki/Microsoft_Compound_File
220
+ # Note: only version foo tested and called "Microsoft Access Wizard template" by TrID
221
+ # Fourth directory entry name TemplateID
222
+ >>>>384 lestring16 TemplateID : Microsoft Access wizard template
223
+ # Second directory entry name like \005SummaryInformation and 3rd name like \005DocumentSummaryInformation
224
+ #!:mime application/x-ole-storage
225
+ #!:mime application/vnd.ms-office
226
+ #!:mime application/vnd.ms-access
227
+ #!:mime application/msaccess
228
+ !:mime application/x-ms-mdz
229
+ # http://extension.nirsoft.net/mdz
230
+ !:ext mdz
231
+ #
232
+ # URL: http://fileformats.archiveteam.org/wiki/Corel_Print_House
233
+ # Second directory entry name Thumbnail
234
+ >>>>128 lestring16 Thumbnail : Corel PrintHouse image
235
+ #!:mime application/x-ole-storage
236
+ !:mime application/x-corel-cph
237
+ !:ext cph
238
+ # 3rd directory entry name Thumbnail
239
+ >>>>256 lestring16 Thumbnail : Corel PrintHouse image
240
+ !:mime application/x-corel-cph
241
+ !:ext cph
242
+ # URL: http://fileformats.archiveteam.org/wiki/Corel_Gallery
243
+ # Note: format since Gallery 2; sometimes called Corel Multimedia Manager Album
244
+ # third directory entry name _INFO_
245
+ >>>>256 lestring16 _INFO_ : Corel Gallery
246
+ # second directory entry name _ITEM_ or _DATA_
247
+ # later directory entry names: _ALBUM_ _THUMBNAIL_
248
+ #!:mime application/x-ole-storage
249
+ !:mime application/x-corel-gal
250
+ !:ext gal
251
+ #
252
+ # From: Joerg Jenderek
253
+ # URL: https://archive.org/details/iPhoto-Plus-4
254
+ # https://filext.com/file-extension/TPL
255
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/t/tpl-ulead.trid.xml
256
+ # Note: found in Template sub directory in program directory of software iPhoto Plus version 4
257
+ # second, third and fourth directory entry name like TplHeader TplMainImage TplPreview
258
+ >>>>128 lestring16 TplHeader : Ulead iPhoto Template
259
+ #!:mime application/x-ole-storage
260
+ !:mime image/x-ulead-tpl
261
+ # https://www.file-extensions.org/tpl-file-extension-ulead-photo-express-template
262
+ !:ext tpl
263
+ #
264
+ # URL: https://en.wikipedia.org/wiki/Hangul_(word_processor)
265
+ # https://www.hancom.com/etc/hwpDownload.do
266
+ # Note: "HWP Document File" signature found in FileHeader
267
+ # Hangul Word Processor WORDIAN, 2002 and later is using HWP 5.0 format.
268
+ # Second directory entry name FileHeader hint for Thinkfree Office document
269
+ >>>>128 lestring16 FileHeader : Hancom HWP (Hangul Word Processor) file, version 5.0
270
+ #!:mime application/haansofthwp
271
+ !:mime application/x-hwp
272
+ # https://example-files.online-convert.com/document/hwp/example.hwp
273
+ !:ext hwp
274
+ #
275
+ # URL: https://ask.libreoffice.org/en/question/26303/creating-new-themes-for-the-gallery-not-functioning/
276
+ # Second directory entry name like dd2000 dd2001 dd2036 dd2060 dd2083
277
+ >>>>128 lestring16 dd2 : StarOffice Gallery view
278
+ #!:mime application/x-ole-storage
279
+ !:mime application/x-star-sdv
280
+ !:ext sdv
281
+ # URL: https://en.wikipedia.org/wiki/SoftMaker_Office
282
+ # second directory entry name Current User
283
+ >>>>128 lestring16 Current\ User : SoftMaker
284
+ # third directory entry name SMNativeObjData
285
+ >>>>>256 lestring16 SMNativeObjData
286
+ # 5th directory entry name PowerPoint
287
+ >>>>>>512 lestring16 PowerPoint PowerPoint presentation or template
288
+ !:mime application/vnd.ms-powerpoint
289
+ !:ext ppt/pps/pot
290
+ # 4th directory entry name PowerPoint
291
+ >>>>>384 lestring16 PowerPoint Presentations or template
292
+ # http://extension.nirsoft.net/prv
293
+ !:mime application/vnd.softmaker.presentations
294
+ !:ext prd/prv
295
+ # third directory entry name like Current User
296
+ >>>>256 lestring16 Current\ User : SoftMaker
297
+ # 5th directory entry name PowerPoint
298
+ >>>>>512 lestring16 PowerPoint Presentations or template
299
+ # http://extension.nirsoft.net/prd
300
+ !:mime application/vnd.softmaker.presentations
301
+ !:ext prd/prv
302
+ # 2nd directory entry name Pictures
303
+ >>>>>>128 lestring16 Pictures with pictures
304
+ #
305
+ # URL: http://fileformats.archiveteam.org/wiki/PageMaker
306
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/p
307
+ # pagemaker-generic.trid.xml
308
+ # pagemaker-pm6.trid.xml
309
+ # pagemaker-pm65.trid.xml
310
+ # pmd-pm7.trid.xml
311
+ # From: Joerg Jenderek
312
+ # Note: since version 6 embedd as stream with PageMaker name the "old" format handled by ./wordprocessors
313
+ # verified by Michal Mutl Structured Storage Viewer `SSView.exe brochus.pt6`
314
+ # Second directory entry name PageMaker
315
+ >>>>128 lestring16 PageMaker :
316
+ # look for magic of "old" PageMaker like in 02TEMPLT.T65
317
+ >>>>>0 search/0xa900/s \0\0\0\0\0\0\xff\x99
318
+ # GRR: jump to PageMaker stream and inspect it by sub routine PageMaker of ./wordprocessors failed with wrong version!
319
+ #>>>>>>&0 use PageMaker
320
+ # THIS WORKS PARTLY!
321
+ >>>>>>&0 indirect x
322
+ # remaining null clsid
323
+ >>>>128 default x
324
+ >>>>>0 use ole2-unknown
325
+ # look for CLSID where "second" part is 0
326
+ >>>80 ubequad !0x0
327
+ #
328
+ # Summary: Family Tree Maker
329
+ # From: Joerg Jenderek
330
+ # URL: http://fileformats.archiveteam.org/wiki/Family_Tree_Maker
331
+ # https://en.wikipedia.org/wiki/Family_Tree_Maker
332
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/f/ftw.trid.xml
333
+ # Note called "Family Tree Maker Family Tree" by TrID and
334
+ # "FamilyTree Maker Database" with version "1-4" by DROID via PUID fmt/1352
335
+ # tested only with version 2.0
336
+ # verified by Michal Mutl Structured Storage Viewer `SSView.exe my.ftw`
337
+ # newer versions are SQLite based and handled by ./sql
338
+ # directory names like: IND.DB AUX.DB GENERAL.DB NAME.NDX BIRTH.NDX EXTRA.DB
339
+ >>>>80 ubequad 0x5702000000000000 : Family Tree Maker Windows database, version 1-4
340
+ # look for "File Format (C) Copyright 1993 Banner Blue Software Inc. - All Rights Reserved" in GENERAL.DB
341
+ #>>>>>0 search/0x5460c/s F\0i\0l\0e\0\040\0F\0o\0r\0m\0a\0t\0\040\0(\0C\0)\0 \b, VERSION
342
+ # GRR: jump to version value like 2 does not work!
343
+ #>>>>>>&-8 ubyte x %u
344
+ #!:mime application/x-ole-storage
345
+ !:mime application/x-fmt
346
+ # FBK is used for backup of FTW
347
+ !:ext ftw/fbk
348
+ #
349
+ >>>>80 default x
350
+ >>>>>0 use ole2-unknown
351
+ # look for known clsid GUID
352
+ # - Visio documents
353
+ # URL: http://fileformats.archiveteam.org/wiki/Visio
354
+ # Last update on 10/23/2006 by Lester Hightower, 07/20/2019 by Joerg Jenderek
355
+ >>88 ubequad 0xc000000000000046
356
+ >>>80 ubequad 0x131a020000000000 : Microsoft Visio 2000-2002 Document, stencil or template
357
+ !:mime application/vnd.visio
358
+ # VSD~Drawing VSS~Stencil VST~Template
359
+ !:ext vsd/vss/vst
360
+ >>>80 ubequad 0x141a020000000000 : Microsoft Visio 2003-2010 Document, stencil or template
361
+ !:mime application/vnd.visio
362
+ !:ext vsd/vss/vst
363
+ #
364
+ # URL: http://fileformats.archiveteam.org/wiki/Windows_Installer
365
+ # https://en.wikipedia.org/wiki/Windows_Installer#ICE_validation
366
+ # Update: Joerg Jenderek
367
+ # Windows Installer Package *.MSI or validation module *.CUB
368
+ >>>80 ubequad 0x84100c0000000000 : Microsoft Windows Installer Package or validation module
369
+ !:mime application/x-msi
370
+ #!:mime application/x-ms-win-installer
371
+ # https://learn.microsoft.com/en-us/windows/win32/msi/internal-consistency-evaluators-ices
372
+ # cub is used for validation module like: Vstalogo.cub XPlogo.cub darice.cub logo.cub mergemod.cub
373
+ #!:mime application/x-ms-cub
374
+ !:ext msi/cub
375
+ # From: Joerg Jenderek
376
+ # URL: http://en.wikipedia.org/wiki/Windows_Installer
377
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/m/mst.trid.xml
378
+ # called "Windows SDK Setup Transform script" by TrID
379
+ >>>80 ubequad 0x82100c0000000000 : Microsoft Windows Installer transform script
380
+ #!:mime application/x-ole-storage
381
+ !:mime application/x-ms-mst
382
+ !:ext mst
383
+ >>>80 ubequad 0x86100c0000000000 : Microsoft Windows Installer Patch
384
+ # ??
385
+ !:mime application/x-wine-extension-msp
386
+ #!:mime application/x-ms-msp
387
+ !:ext msp
388
+ #
389
+ # URL: http://fileformats.archiveteam.org/wiki/DOC
390
+ >>>80 ubequad 0x0009020000000000 : Microsoft Word 6-95 document or template
391
+ !:mime application/msword
392
+ # for template MSWDW8TN
393
+ !:apple MSWDWDBN
394
+ !:ext doc/dot
395
+ >>>80 ubequad 0x0609020000000000 : Microsoft Word 97-2003 document or template
396
+ !:mime application/msword
397
+ !:apple MSWDWDBN
398
+ # dot for template; no extension on Macintosh
399
+ !:ext doc/dot/
400
+ #
401
+ # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Word_Processor
402
+ >>>80 ubequad 0x0213020000000000 : Microsoft Works 3-4 document or template
403
+ !:mime application/vnd.ms-works
404
+ !:apple ????AWWP
405
+ # ps for template https://filext.com/file-extension/PS bps for backup
406
+ !:ext wps/ps/bps
407
+ #
408
+ # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Database
409
+ >>>80 ubequad 0x0313020000000000 : Microsoft Works 3-4 database or template
410
+ !:mime application/vnd.ms-works-db
411
+ # https://www.macdisk.com/macsigen.php
412
+ !:apple ????AWDB
413
+ # db for template www.file-extensions.org/db-file-extension-microsoft-works-data bdb for backup
414
+ !:ext wdb/db/bdb
415
+ #
416
+ # URL: https://en.wikipedia.org/wiki/Microsoft_Excel
417
+ >>>80 ubequad 0x1008020000000000 : Microsoft Excel 5-95 worksheet, addin or template
418
+ !:mime application/vnd.ms-excel
419
+ # https://www.macdisk.com/macsigen.php
420
+ !:apple ????XLS5
421
+ # worksheet/addin/template/no extension on Macintosh
422
+ !:ext xls/xla/xlt/
423
+ #
424
+ >>>80 ubequad 0x2008020000000000 : Microsoft Excel 97-2003
425
+ !:mime application/vnd.ms-excel
426
+ # https://www.macdisk.com/macsigen.php XLS5 for Excel 5
427
+ !:apple ????XLS9
428
+ # 3rd directory entry name
429
+ >>>>256 lestring16 _VBA_PROJECT_CUR addin
430
+ !:ext xla/
431
+ # 4th directory entry name
432
+ >>>>384 lestring16 _VBA_PROJECT_CUR addin
433
+ !:ext xla
434
+ #!:ext xla/
435
+ >>>>256 default x worksheet or template
436
+ !:ext xls/xlt
437
+ #!:ext xls/xlt/
438
+ #
439
+ # URL: http://fileformats.archiveteam.org/wiki/OLE2
440
+ >>>80 ubequad 0x0b0d020000000000 : Microsoft Outlook 97-2003 item
441
+ #>>>80 ubequad 0x0b0d020000000000 : Microsoft Outlook 97-2003 Message
442
+ #!:mime application/vnd.ms-outlook
443
+ !:mime application/x-ms-msg
444
+ !:ext msg
445
+ # URL: https://wiki.fileformat.com/email/oft/
446
+ >>>80 ubequad 0x46f0060000000000 : Microsoft Outlook 97-2003 item template
447
+ #!:mime application/vnd.ms-outlook
448
+ !:mime application/x-ms-oft
449
+ !:ext oft
450
+ #
451
+ # URL: http://fileformats.archiveteam.org/wiki/PPT
452
+ >>>80 ubequad 0x5148040000000000 : Microsoft PowerPoint 4.0 presentation
453
+ !:mime application/vnd.ms-powerpoint
454
+ # https://www.macdisk.com/macsigen.php
455
+ !:apple ????PPT3
456
+ !:ext ppt
457
+ # Summary: "newer" Greenstreet Art drawing
458
+ # From: Joerg Jenderek
459
+ # URL: http://fileformats.archiveteam.org/wiki/GST_ART
460
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/a/art-gst-docfile.trid.xml
461
+ # Note: called like "Greenstreet Art drawing" by TrID
462
+ # Note: CONTENT stream contains binary part of older versions with phrase GST:ART at offset 16
463
+ # verified by Michal Mutl Structured Storage Viewer `SSView.exe BCARD2.ART`
464
+ >>>80 ubequad 0x602c020000000000 : Greenstreet Art drawing
465
+ #!:mime application/x-ole-storage
466
+ !:mime image/x-greenstreet-art
467
+ !:ext art
468
+ >>>80 default x
469
+ >>>>0 use ole2-unknown
470
+ #??
471
+ # URL: http://www.checkfilename.com/view-details/Microsoft-Works/RespageIndex/0/sTab/2/
472
+ >>88 ubequad 0xa29a00aa004a1a72 : Microsoft
473
+ # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Word_Processor
474
+ >>>80 ubequad 0xc2dbcd28e20ace11 Works 4 document
475
+ !:mime application/vnd.ms-works
476
+ !:apple ????AWWP
477
+ !:ext wps
478
+ #
479
+ # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Database
480
+ >>>80 ubequad 0xc3dbcd28e20ace11 Works 4 database
481
+ !:mime application/vnd.ms-works-db
482
+ !:apple ????AWDB
483
+ !:ext wdb/bdb
484
+ #??
485
+ >>88 ubequad 0xa40700c04fb932ba : Microsoft
486
+ # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Word_Processor
487
+ >>>80 ubequad 0xb25aa40e0a9ed111 Works 5-6 document
488
+ !:mime application/vnd.ms-works
489
+ !:apple ????AWWP
490
+ !:ext wps
491
+ # From: Joerg Jenderek
492
+ # URL: https://en.wikipedia.org/wiki/Microsoft_Works
493
+ # Reference: http://fileformats.archiveteam.org/wiki/Microsoft_Compound_File
494
+ # Note: probably version 6 and 7
495
+ # organize pictures like JPFG images in streams __cf1 with names like
496
+ # 001.JPG, 002.JPG ... in streams __fname
497
+ >>88 ubequad 0xa1c800c04f612452 : Microsoft
498
+ >>>80 ubequad 0xc0c7266eb98cd311 Works portfolio
499
+ # 2nd directory entry name PfOrder, 3rd __LastID and 4th __SizeUsed
500
+ #!:mime application/x-ole-storage
501
+ # https://www.iana.org/assignments/media-types/application/vnd.ms-works
502
+ !:mime application/vnd.ms-works
503
+ # https://extension.nirsoft.net/wsb
504
+ # like: wsbsamp.wsb WORKS2003_CD:\MSWorks\Common\Sammlung.wsb
505
+ !:ext wsb
506
+ #??
507
+ # URL: http://fileformats.archiveteam.org/wiki/Microsoft_Publisher
508
+ >>88 ubequad 0x00c0000000000046 : Microsoft
509
+ >>>80 ubequad 0x0112020000000000 Publisher
510
+ !:mime application/vnd.ms-publisher
511
+ !:ext pub
512
+ #
513
+ # URL: http://fileformats.archiveteam.org/wiki/PPT
514
+ #??
515
+ >>88 ubequad 0xa90300aa00510ea3 : Microsoft
516
+ >>>80 ubequad 0x70ae7bea3bfbcd11 PowerPoint 95 presentation
517
+ !:mime application/vnd.ms-powerpoint
518
+ # https://www.macdisk.com/macsigen.php
519
+ !:apple ????PPT3
520
+ !:ext ppt/pot
521
+ #??
522
+ >>88 ubequad 0x86ea00aa00b929e8 : Microsoft
523
+ >>>80 ubequad 0x108d81649b4fcf11 PowerPoint 97-2003 presentation or template
524
+ !:mime application/vnd.ms-powerpoint
525
+ !:apple ????PPT3
526
+ # /autostart/template
527
+ !:ext ppt/pps/pot
528
+ # From: Joerg Jenderek
529
+ # URL: https://www.file-extensions.org/ppa-file-extension
530
+ # https://en.wikipedia.org/wiki/Microsoft_PowerPoint#cite_note-231
531
+ # Reference: http://fileformats.archiveteam.org/wiki/Microsoft_Compound_File
532
+ >>88 ubequad 0x871800aa0060263b : Microsoft
533
+ # only version 8 (97) tested; PowerPoint 4.0 to 11.0 (2004) (Wikipedia); 97 to 2003 (file-extensions.org)
534
+ >>>80 ubequad 0xf04672810a72cf11 PowerPoint Addin or Wizard
535
+ # second, third and fourth directory entry name like VBA PROJECT PROJECTwm
536
+ # http://extension.nirsoft.net/pwz
537
+ !:mime application/vnd.ms-powerpoint
538
+ # like: BSHPPT97.PPA "AutoContent Wizard.pwz"
539
+ !:ext ppa/pwz
540
+ #
541
+ # From: Joerg Jenderek
542
+ # URL: http://fileformats.archiveteam.org/wiki/AWD_(At_Work_Document)
543
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/a/awd-fax.trid.xml
544
+ # Note: called "Microsoft At Work Fax document" by TrID
545
+ >>88 ubequad 0xb29400dd010f2bf9 : Microsoft
546
+ >>>80 ubequad 0x801cb0023de01a10 At Work fax Document
547
+ #!:mime application/x-ole-storage
548
+ !:mime image/x-ms-awd
549
+ !:ext awd
550
+ #
551
+ # URL: https://en.wikipedia.org/wiki/Microsoft_Project
552
+ #??
553
+ >>88 ubequad 0xbe1100c04fb6faf1 : Microsoft
554
+ >>>80 ubequad 0x3a8fb774c8c8d111 Project
555
+ !:mime application/vnd.ms-project
556
+ !:ext mpp
557
+ # From: Joerg Jenderek
558
+ # URL: https://en.wikipedia.org/wiki/Microsoft_Office_shared_tools#Binder
559
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/o/obd.trid.xml
560
+ # http://fileformats.archiveteam.org/wiki/Microsoft_Compound_File
561
+ # Note: only version 8 tested and called "Office Binder Document" by TrID and
562
+ # "Microsoft Office Binder File for Windows" version 97-2000 by DROID fmt/240
563
+ >>88 ubequad 0xb21c00aa004ba90b : Microsoft
564
+ >>>80 ubequad 0x0004855964661b10 Office Binder Document, Template or wizard
565
+ # second directory entry name like Binder
566
+ # https://www.file-extensions.org/obd-file-extension
567
+ #!:mime application/vnd.ms-binder
568
+ !:mime application/x-msbinder
569
+ # obt for template; obz for Microsoft Office Binder wizard
570
+ !:ext obd/obt/obz
571
+ #
572
+ # URL: http://fileformats.archiveteam.org/wiki/WordPerfect
573
+ # Reference: http://fileformats.archiveteam.org/wiki/Microsoft_Compound_File
574
+ # https://github.com/OneWingedShark/WordPerfect/
575
+ # blob/master/doc/SDK_Help/FileFormats/WPFF_DocumentStructure.htm
576
+ # From: Joerg Jenderek
577
+ # Note: internal version x.2 or 2.2 like in embedded ole6-PerfectOffice_MAIN.wpd
578
+ # 3rd directory entry name PerfectOffice_OBJECT and 2nd PerfectOffice_MAIN,
579
+ # which contains WordPerfect document \xffWPC signature handled by ./wordprocessors
580
+ >>88 ubequad 0x19370000929679cd : WordPerfect 7
581
+ >>>80 ubequad 0xff739851ad2d2002 Document
582
+ !:mime application/vnd.wordperfect
583
+ #!:apple ????WPC?
584
+ # https://fossies.org/linux/wp2latex/test/ole6.wpd
585
+ !:ext wpd
586
+ #>>>>0 search/0xc01/s \xffWPC \b, WPC SIGNATURE
587
+ # inspect embedded WordPerfect document by ./wordprocessors with 1 space at end
588
+ #>>>>>&0 indirect x \b; contains
589
+ # GRR: the above expression does not work correctly
590
+ #
591
+ # URL: http://fileformats.archiveteam.org/wiki/SHW_(Corel)
592
+ #???
593
+ >>88 ubequad 0x99ae04021c007002 : WordPerfect
594
+ >>>80 ubequad 0x62fe2e4099191b10 7-X3 presentation
595
+ !:mime application/x-corelpresentations
596
+ #!:mime application/x-shw-viewer
597
+ #!:mime image/x-presentations
598
+ !:ext shw
599
+ #
600
+ # URL: http://www.checkfilename.com/view-details/WordPerfect-Office-X3/RespageIndex/0/sTab/2/
601
+ >>>80 ubequad 0x60fe2e4099191b10 9 Graphic
602
+ #!:mime application/x-wpg
603
+ #!:mime image/x-wordperfect-graphics
604
+ !:mime image/x-wpg
605
+ # https://www.macdisk.com/macsigen.php "WPC2" for Wordperfect 2 *.wpd
606
+ !:apple ????WPC9
607
+ !:ext wpg
608
+ #
609
+ # From: Joerg Jenderek
610
+ # URL: http://fileformats.archiveteam.org/wiki/CorelCAD
611
+ # https://en.wikipedia.org/wiki/CorelCAD
612
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/c/ccd-corelcad.trid.xml
613
+ # Note: called "CorelCAD Drawing" by TrID and CorelCAD
614
+ # directory entry names like Contents ViewInfo CustomViewDescriptions LayerInfo
615
+ >>88 ubequad 0xbe26db67235e2689 : Corel
616
+ >>>80 ubequad 0x20f414de1cacce11 \bCAD Drawing or Template
617
+ #!:mime application/x-ole-storage
618
+ !:mime application/x-corel-cad
619
+ # CCT for CorelCAD Template
620
+ !:ext ccd/cct
621
+ #
622
+ # URL: http://fileformats.archiveteam.org/wiki/StarOffice_binary_formats
623
+ >>88 ubequad 0x996104021c007002 : StarOffice
624
+ >>>80 ubequad 0x407e5cdc5cb31b10 StarWriter 3.0 document or template
625
+ # https://www.openoffice.org/framework/documentation/mimetypes/mimetypes.html
626
+ !:mime application/x-starwriter
627
+ !:ext sdw/vor
628
+ #
629
+ >>>80 ubequad 0xa03f543fa6b61b10 StarCalc 3.0 spreadsheet or template
630
+ !:mime application/x-starcalc
631
+ !:ext sdc/vor
632
+ #
633
+ >>>80 ubequad 0xe0aa10af6db31b10 StarDraw 3.0 drawing or template
634
+ !:mime application/x-starimpress
635
+ #!:mime application/x-stardraw
636
+ # sda ??
637
+ !:ext sdd/sda/vor
638
+ #??
639
+ >>88 ubequad 0x89cb008029e4b0b1 : StarOffice
640
+ >>>80 ubequad 0x41d461633542d011 StarCalc 4.0 spreadsheet or template
641
+ !:mime application/x-starcalc
642
+ !:ext sdc/vor
643
+ #
644
+ >>>80 ubequad 0x61b8a5c6d685d111 StarCalc 5.0 spreadsheet or template
645
+ !:mime application/vnd.stardivision.cal
646
+ !:ext sdc/vor
647
+ #
648
+ >>>80 ubequad 0xc03c2d011642d011 StarImpress 4.0 presentation or template
649
+ !:mime application/x-starimpress
650
+ !:ext sdd/vor
651
+ #??
652
+ >>88 ubequad 0xb12a04021c007002 : StarOffice
653
+ >>>80 ubequad 0x600459d4fd351c10 StarMath 3.0
654
+ !:mime application/x-starmath
655
+ !:ext smf
656
+ #??
657
+ >>88 ubequad 0x8e2c00001b4cc711 : StarOffice
658
+ >>>80 ubequad 0xe0999cfb6d2c1c10 StarChart 3.0
659
+ !:mime application/x-starchart
660
+ !:ext sds
661
+ #??
662
+ >>88 ubequad 0xa45e00a0249d57b1 : StarOffice
663
+ >>>80 ubequad 0xb0e9048b0e42d011 StarWriter 4.0 document or template
664
+ !:mime application/x-starwriter
665
+ !:ext sdw/vor
666
+ #??
667
+ >>88 ubequad 0x89ca008029e4b0b1 : StarOffice
668
+ >>>80 ubequad 0xe1b7b3022542d011 StarMath 4.0
669
+ !:mime application/x-starmath
670
+ !:ext smf
671
+ #
672
+ >>>80 ubequad 0xe0b7b3022542d011 StarChart 4.0
673
+ !:mime application/x-starchart
674
+ !:ext sds
675
+ #??
676
+ >>88 ubequad 0xa53f00a0249d57b1 : StarOffice
677
+ >>>80 ubequad 0x70c90a340de3d011 Master 4.0 document
678
+ !:mime application/x-starwriter-global
679
+ !:ext sgl
680
+ #??
681
+ >>88 ubequad 0x89d0008029e4b0b1 : StarOffice
682
+ >>>80 ubequad 0x40e6b5ffde85d111 StarMath 5.0
683
+ !:mime application/vnd.stardivision.math
684
+ !:ext smf
685
+ #
686
+ >>>80 ubequad 0xa005892ebd85d111 StarDraw 5.0 drawing or template
687
+ !:mime application/vnd.stardivision.draw
688
+ !:ext sda/vor
689
+ #
690
+ >>>80 ubequad 0x21725c56bc85d111 StarImpress 5.0 presentation or template
691
+ !:mime application/vnd.stardivision.impress
692
+ # sda is used for what?
693
+ !:ext sdd/vor/sda
694
+ #
695
+ >>>80 ubequad 0x214388bfdd85d111 StarChart 5.0
696
+ !:mime application/vnd.stardivision.chart
697
+ !:ext sds
698
+ # ??
699
+ >>88 ubequad 0xaab4006097da561a : StarOffice
700
+ >>>80 ubequad 0xd1f90cc2ae85d111 StarWriter 5.0 document or template
701
+ !:mime application/vnd.stardivision.writer
702
+ !:ext sdw/vor
703
+ #
704
+ >>>80 ubequad 0xd3f90cc2ae85d111 Master 5.0 document
705
+ !:mime application/vnd.stardivision.writer-global
706
+ !:ext sgl
707
+ #??
708
+ # URL: http://fileformats.archiveteam.org/wiki/FlashPix
709
+ >>88 ubequad 0x855300aa00a1f95b : Kodak
710
+ >>>80 ubequad 0x0067615654c1ce11 FlashPIX Image
711
+ !:mime image/vnd.fpx
712
+ !:apple ????FPix
713
+ !:ext fpx
714
+ # URL: https://en.wikipedia.org/wiki/SoftMaker_Office
715
+ >>88 ubequad 0x95f600a0cc3cca14 : PlanMaker
716
+ >>>80 ubequad 0x9174088a6452d411 document or template
717
+ !:mime application/vnd.softmaker.planmaker
718
+ # pmv for template https://www.file-extensions.org/pmv-file-extension
719
+ !:ext pmd/pmv
720
+ # URL: http://fileformats.archiveteam.org/wiki/MAX_(3ds_Max)
721
+ # https://en.wikipedia.org/wiki/Autodesk_3ds_Max
722
+ # Reference: http://fileformats.archiveteam.org/wiki/Microsoft_Compound_File
723
+ # Note: called "3D Studio Max Scene" by TrID and "3DS Max" by DROID and
724
+ # "3DSMax thumbnail" by XnView and verfied by `nconvert -info A380.max`
725
+ # applies only to "newer" versions (about 2008-2020)
726
+ >>88 ubequad 0x9fed04143144cc1e : Autodesk
727
+ >>>80 ubequad 0x7b8cdd1cc081a045 3ds Max
728
+ #!:mime application/x-ole-storage
729
+ !:mime model/x-autodesk-max
730
+ # like: https://static.free3d.com/models/dropbox/dropbox/sq/A380.7z/A380.max
731
+ !:ext max
732
+ # also chr for character file according to DROID https://www.nationalarchives.gov.uk/PRONOM/fmt/978
733
+ #!:ext max/chr
734
+ # remaining non null clsid
735
+ >>88 default x
736
+ >>>0 use ole2-unknown
737
+ # display information about directory for not detected CDF files
738
+ 0 name ole2-unknown
739
+ >80 ubequad x : UNKNOWN
740
+ # https://reposcope.com/mimetype/application/x-ole-storage
741
+ !:mime application/x-ole-storage
742
+ # according to file version 5.41 with -e soft option
743
+ #!:mime application/CDFV2
744
+ #!:ext ???
745
+ >80 ubequad !0 \b, clsid %#16.16llx
746
+ >>88 ubequad x \b%16.16llx
747
+ # converted hexadecimal format to standard GUUID notation
748
+ >>80 guid x {%s}
749
+ # second directory entry name like VisioDocument Control000
750
+ >128 lestring16 x with names %.20s
751
+ # third directory entry like WordDocument Preview.dib
752
+ >256 lestring16 x %.20s
753
+ # forth like \005SummaryInformation
754
+ >384 lestring16 x %.25s
755
+ # 5th
756
+ >512 lestring16 x %.10s
757
+ # 6th
758
+ >640 lestring16 x %.10s
759
+ # 7th
760
+ >768 lestring16 x %.10s