]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/file/magic/Magdir/ole2compounddocs
Merge clang trunk r338150 (just before the 7.0.0 branch point), and
[FreeBSD/FreeBSD.git] / contrib / file / magic / Magdir / ole2compounddocs
1
2 #------------------------------------------------------------------------------
3 # $File: ole2compounddocs,v 1.5 2017/10/27 21:43:23 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
8 0   string  \320\317\021\340\241\261\032\341      OLE 2 Compound Document
9 # - Microstation V8 DGN files (www.bentley.com)
10 #   Last update on 10/23/2006 by Lester Hightower
11 > 0x480  string  D\000g\000n\000~\000H                : Microstation V8 DGN
12 # - Visio documents
13 #   Last update on 10/23/2006 by Lester Hightower
14 > 0x480  string  V\000i\000s\000i\000o\000D\000o\000c : Visio Document
15
16 # Note: moved & merged Microsoft Office parts from ./msdos Oct 2017
17 # Update: Joerg Jenderek
18 # from http://filext.com by Derek M Jones <derek@knosof.co.uk>
19 # False positive with PPT (also currently this string is too long)
20 #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
21 #0      string/b        \320\317\021\340\241\261\032\341        Microsoft Office Document
22 #>48    byte    0x1B                                    Excel Document
23 #!:mime application/vnd.ms-excel
24 >546    string  bjbj                    : Microsoft Word Document
25 !:mime  application/msword
26 # https://www.macdisk.com/macsigen.php
27 !:apple MSWDWDBN
28 !:ext   doc/dot
29 >546    string  jbjb                    : Microsoft Word Document
30 !:mime  application/msword
31 !:apple MSWDWDBN
32 !:ext   doc
33