ole2compounddocs 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. #------------------------------------------------------------------------------
  2. # $File: ole2compounddocs,v 1.6 2019/04/19 00:42:27 christos Exp $
  3. # Microsoft OLE 2 Compound Documents : file(1) magic for Microsoft Structured
  4. # storage (https://en.wikipedia.org/wiki/Compound_File_Binary_Format)
  5. # Additional tests for OLE 2 Compound Documents should be under this recipe.
  6. 0 string \320\317\021\340\241\261\032\341 OLE 2 Compound Document
  7. # - Microstation V8 DGN files (www.bentley.com)
  8. # Last update on 10/23/2006 by Lester Hightower
  9. > 0x480 string D\000g\000n\000~\000H : Microstation V8 DGN
  10. # - Visio documents
  11. # Last update on 10/23/2006 by Lester Hightower
  12. > 0x480 string V\000i\000s\000i\000o\000D\000o\000c : Visio Document
  13. # Note: moved & merged Microsoft Office parts from ./msdos Oct 2017
  14. # Update: Joerg Jenderek
  15. # from https://filext.com by Derek M Jones <derek@knosof.co.uk>
  16. # False positive with PPT (also currently this string is too long)
  17. #0 string/b \xD0\xCF\x11\xE0\xA1\xB1\x1A\xE1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x3E\x00\x03\x00\xFE\xFF\x09\x00\x06 Microsoft Installer
  18. #0 string/b \320\317\021\340\241\261\032\341 Microsoft Office Document
  19. #>48 byte 0x1B Excel Document
  20. #!:mime application/vnd.ms-excel
  21. >546 string bjbj : Microsoft Word Document
  22. !:mime application/msword
  23. # https://www.macdisk.com/macsigen.php
  24. !:apple MSWDWDBN
  25. !:ext doc/dot
  26. >546 string jbjb : Microsoft Word Document
  27. !:mime application/msword
  28. !:apple MSWDWDBN
  29. !:ext doc