# Magic data for mod_mime_magic (originally for file(1) command)
#
# The format is 4-5 columns:
#    Column #1: byte number to begin checking from, ">" indicates continuation
#    Column #2: type of data to match
#    Column #3: contents of data to match
#    Column #4: MIME type of result
#    Column #5: MIME encoding of result (optional)

#------------------------------------------------------------------------------
# Localstuff:  file(1) magic for locally observed files
# Add any locally observed files here.

# Real Audio (Magic .ra\0375)
0	belong		0x2e7261fd	audio/x-pn-realaudio
0	string		.RMF		application/vnd.rn-realmedia

#video/x-pn-realvideo
#video/vnd.rn-realvideo
#application/vnd.rn-realmedia
#	sigh, there are many mimes for that but the above are the most common.

# Taken from magic, converted to magic.mime
# mime types according to http://www.geocities.com/nevilo/mod.htm:
#	audio/it	.it
#	audio/x-zipped-it	.itz
#	audio/xm	fasttracker modules
#	audio/x-s3m	screamtracker modules
#	audio/s3m	screamtracker modules
#	audio/x-zipped-mod	mdz
#	audio/mod	mod
#	audio/x-mod	All modules (mod, s3m, 669, mtm, med, xm, it, mdz, stm, itz, xmz, s3z)

# Taken from loader code from mikmod version 2.14
# by Steve McIntyre (stevem@chiark.greenend.org.uk)
# <doj@cubic.org> added title printing on 2003-06-24
0	string	MAS_UTrack_V00
>14	string	>/0		audio/x-mod
#audio/x-tracker-module

#0	string	UN05		MikMod UNI format module sound data

0	string	Extended\ Module: audio/x-mod
#audio/x-tracker-module
##>17	string	>\0		Title: "%s"

21	string/c	\!SCREAM!	audio/x-mod
#audio/x-screamtracker-module
21	string	BMOD2STM	audio/x-mod
#audio/x-screamtracker-module
1080	string	M.K.		audio/x-mod
#audio/x-protracker-module
#>0	string	>\0		Title: "%s"
1080	string	M!K!		audio/x-mod
#audio/x-protracker-module
#>0	string	>\0		Title: "%s"
1080	string	FLT4		audio/x-mod
#audio/x-startracker-module
#>0	string	>\0		Title: "%s"
1080	string	FLT8		audio/x-mod
#audio/x-startracker-module
#>0	string	>\0		Title: "%s"
1080	string	4CHN		audio/x-mod
#audio/x-fasttracker-module
#>0	string	>\0		Title: "%s"
1080	string	6CHN		audio/x-mod
#audio/x-fasttracker-module
#>0	string	>\0		Title: "%s"
1080	string	8CHN		audio/x-mod
#audio/x-fasttracker-module
#>0	string	>\0		Title: "%s"
1080	string	CD81		audio/x-mod
#audio/x-oktalyzer-tracker-module
#>0	string	>\0		Title: "%s"
1080	string	OKTA		audio/x-mod
#audio/x-oktalyzer-tracker-module
#>0	string	>\0		Title: "%s"
# Not good enough.
#1082	string	CH
#>1080	string	>/0		%.2s-channel Fasttracker "oktalyzer" module sound data
1080	string	16CN		audio/x-mod
#audio/x-taketracker-module
#>0	string	>\0		Title: "%s"
1080	string	32CN		audio/x-mod
#audio/x-taketracker-module
#>0	string	>\0		Title: "%s"

# Impuse tracker module (it)
0	string		IMPM		audio/x-mod
#>4	string		>\0		"%s"
#>40	leshort		!0		compatible w/ITv%x
#>42	leshort		!0		created w/ITv%x

#------------------------------------------------------------------------------
# end local stuff
#------------------------------------------------------------------------------

# xml based formats!

# svg

0	string		\<?xml
#			text/xml
>38	string		\<\!DOCTYPE\040svg	image/svg+xml


# xml
0	string		\<?xml			text/xml


#------------------------------------------------------------------------------
# Java

0	short		0xcafe
>2	short		0xbabe		application/java

#------------------------------------------------------------------------------
# audio:  file(1) magic for sound formats
#
# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,
#

# Sun/NeXT audio data
0	string		.snd
>12	belong		1		audio/basic
>12	belong		2		audio/basic
>12	belong		3		audio/basic
>12	belong		4		audio/basic
>12	belong		5		audio/basic
>12	belong		6		audio/basic
>12	belong		7		audio/basic

>12	belong		23		audio/x-adpcm

# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
# that uses little-endian encoding and has a different magic number
# (0x0064732E in little-endian encoding).
0	lelong		0x0064732E	
>12	lelong		1		audio/x-dec-basic
>12	lelong		2		audio/x-dec-basic
>12	lelong		3		audio/x-dec-basic
>12	lelong		4		audio/x-dec-basic
>12	lelong		5		audio/x-dec-basic
>12	lelong		6		audio/x-dec-basic
>12	lelong		7		audio/x-dec-basic
#                                       compressed (G.721 ADPCM)
>12	lelong		23		audio/x-dec-adpcm

# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are "FORM"
#					AIFF audio data
8	string		AIFF		audio/x-aiff	
#					AIFF-C audio data
8	string		AIFC		audio/x-aiff	
#					IFF/8SVX audio data
8	string		8SVX		audio/x-aiff	



# Creative Labs AUDIO stuff
#					Standard MIDI data
0	string	MThd			audio/unknown	
#>9 	byte	>0			(format %d)
#>11	byte	>1			using %d channels
#					Creative Music (CMF) data
0	string	CTMF			audio/unknown	
#					SoundBlaster instrument data
0	string	SBI			audio/unknown	
#					Creative Labs voice data
0	string	Creative\ Voice\ File	audio/unknown	
## is this next line right?  it came this way...
#>19	byte	0x1A
#>23	byte	>0			- version %d
#>22	byte	>0			\b.%d

# [GRR 950115:  is this also Creative Labs?  Guessing that first line
#  should be string instead of unknown-endian long...]
#0	long		0x4e54524b	MultiTrack sound data
#0	string		NTRK		MultiTrack sound data
#>4	long		x		- version %ld

# Microsoft WAVE format (*.wav)
# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]
#					Microsoft RIFF
0	string		RIFF
#					- WAVE format
>8	string		WAVE		audio/x-wav
>8	string/B	AVI		video/x-msvideo
#
>8 	string		CDRA		image/x-coreldraw

# AAC (aka MPEG-2 NBC)
0       beshort&0xfff6    0xfff0          audio/X-HX-AAC-ADTS
0       string          ADIF            audio/X-HX-AAC-ADIF
0       beshort&0xffe0  0x56e0          audio/MP4A-LATM
0       beshort         0x4De1          audio/MP4A-LATM

# MPEG Layer 3 sound files
0       beshort&0xfffe  =0xfffa         audio/mpeg
#MP3 with ID3 tag
0	string		ID3		audio/mpeg
# Ogg/Vorbis
0	string		OggS		application/ogg

#------------------------------------------------------------------------------
# c-lang:  file(1) magic for C programs or various scripts
#

# XPM icons (Greg Roelofs, newt@uchicago.edu)
# ideally should go into "images", but entries below would tag XPM as C source
0	string		/*\ XPM		image/x-xpmi 7bit

# 3DS (3d Studio files)
#16	beshort		0x3d3d		image/x-3ds

# this first will upset you if you're a PL/1 shop... (are there any left?)
# in which case rm it; ascmagic will catch real C programs
#					C or REXX program text
#0	string		/*		text/x-c
#					C++ program text
#0	string		//		text/x-c++

#------------------------------------------------------------------------------
# commands:  file(1) magic for various shells and interpreters
#
#0       string          :\ shell archive or commands for antique kernel text
0       string          #!/bin/sh               application/x-shellscript
0       string          #!\ /bin/sh             application/x-shellscript
0       string          #!/bin/csh              application/x-shellscript
0       string          #!\ /bin/csh            application/x-shellscript
# korn shell magic, sent by George Wu, gwu@clyde.att.com
0       string          #!/bin/ksh              application/x-shellscript
0       string          #!\ /bin/ksh            application/x-shellscript
0       string          #!/bin/tcsh             application/x-shellscript
0       string          #!\ /bin/tcsh           application/x-shellscript
0       string          #!/usr/local/tcsh       application/x-shellscript
0       string          #!\ /usr/local/tcsh     application/x-shellscript
0       string          #!/usr/local/bin/tcsh   application/x-shellscript
0       string          #!\ /usr/local/bin/tcsh application/x-shellscript
# bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
0       string          #!/bin/bash     		application/x-shellscript
0       string          #!\ /bin/bash           application/x-shellscript
0       string          #!/usr/local/bin/bash   application/x-shellscript
0       string          #!\ /usr/local/bin/bash application/x-shellscript

#
# zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson)
0       string          #!/bin/zsh	        application/x-shellscript
0       string          #!/usr/bin/zsh	        application/x-shellscript
0       string          #!/usr/local/bin/zsh    application/x-shellscript
0       string          #!\ /usr/local/bin/zsh  application/x-shellscript
0       string          #!/usr/local/bin/ash    application/x-shellscript
0       string          #!\ /usr/local/bin/ash  application/x-shellscript
#0       string          #!/usr/local/bin/ae     Neil Brown's ae
#0       string          #!\ /usr/local/bin/ae   Neil Brown's ae
0       string          #!/bin/nawk             application/x-nawk
0       string          #!\ /bin/nawk           application/x-nawk
0       string          #!/usr/bin/nawk         application/x-nawk
0       string          #!\ /usr/bin/nawk       application/x-nawk
0       string          #!/usr/local/bin/nawk   application/x-nawk
0       string          #!\ /usr/local/bin/nawk application/x-nawk
0       string          #!/bin/gawk             application/x-gawk
0       string          #!\ /bin/gawk           application/x-gawk
0       string          #!/usr/bin/gawk         application/x-gawk
0       string          #!\ /usr/bin/gawk       application/x-gawk
0       string          #!/usr/local/bin/gawk   application/x-gawk
0       string          #!\ /usr/local/bin/gawk application/x-gawk
#
0       string          #!/bin/awk              application/x-awk
0       string          #!\ /bin/awk            application/x-awk
0       string          #!/usr/bin/awk          application/x-awk
0       string          #!\ /usr/bin/awk        application/x-awk
# update to distinguish from *.vcf files by Joerg Jenderek: joerg dot jenderek at web dot de
#0	regex		BEGIN[[:space:]]*[{]	application/x-awk

# For Larry Wall's perl language.  The ``eval'' line recognizes an
# outrageously clever hack for USG systems.
#                               Keith Waclena <keith@cerberus.uchicago.edu>
0       string          #!/bin/perl                     application/x-perl
0       string          #!\ /bin/perl                   application/x-perl
0       string          eval\ "exec\ /bin/perl          application/x-perl
0       string          #!/usr/bin/perl                 application/x-perl
0       string          #!\ /usr/bin/perl               application/x-perl
0       string          eval\ "exec\ /usr/bin/perl      application/x-perl
0       string          #!/usr/local/bin/perl           application/x-perl
0       string          #!\ /usr/local/bin/perl         application/x-perl
0       string          eval\ "exec\ /usr/local/bin/perl application/x-perl

#------------------------------------------------------------------------------
# compress:  file(1) magic for pure-compression formats (no archives)
#
# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.
#
# Formats for various forms of compressed data
# Formats for "compress" proper have been moved into "compress.c",
# because it tries to uncompress it to figure out what's inside.

# standard unix compress
#0	string		\037\235	application/x-compress

# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)
#0       string          \037\213        application/x-gzip

0		string			PK\003\004		application/x-zip

# RAR archiver (Greg Roelofs, newt@uchicago.edu)
0	string		Rar!		application/x-rar

# According to gzip.h, this is the correct byte order for packed data.
0	string		\037\036	application/octet-stream
#
# This magic number is byte-order-independent.
#
0	short		017437		application/octet-stream

# XXX - why *two* entries for "compacted data", one of which is
# byte-order independent, and one of which is byte-order dependent?
#
# compacted data
0	short		0x1fff		application/octet-stream
0	string		\377\037	application/octet-stream
# huf output
0	short		0145405		application/octet-stream

# Squeeze and Crunch...
# These numbers were gleaned from the Unix versions of the programs to
# handle these formats.  Note that I can only uncrunch, not crunch, and
# I didn't have a crunched file handy, so the crunch number is untested.
#				Keith Waclena <keith@cerberus.uchicago.edu>
#0	leshort		0x76FF		squeezed data (CP/M, DOS)
#0	leshort		0x76FE		crunched data (CP/M, DOS)

# Freeze
#0	string		\037\237	Frozen file 2.1
#0	string		\037\236	Frozen file 1.0 (or gzip 0.5)

# lzh?
#0	string		\037\240	LZH compressed data

257	string		ustar\0		application/x-tar	posix
257	string		ustar\040\040\0		application/x-tar	gnu

0	short		070707		application/x-cpio
0	short		0143561		application/x-cpio	swapped

0	string		=<ar>		application/x-archive
0	string		\!<arch>	application/x-archive
>8	string		debian		application/x-debian-package

#------------------------------------------------------------------------------
#
# RPM: file(1) magic for Red Hat Packages   Erik Troan (ewt@redhat.com)
#
0       beshort         0xedab
>2      beshort         0xeedb          application/x-rpm

0	lelong&0x8080ffff	0x0000081a	application/x-arc	lzw
0	lelong&0x8080ffff	0x0000091a	application/x-arc	squashed
0	lelong&0x8080ffff	0x0000021a	application/x-arc	uncompressed
0	lelong&0x8080ffff	0x0000031a	application/x-arc	packed
0	lelong&0x8080ffff	0x0000041a	application/x-arc	squeezed
0	lelong&0x8080ffff	0x0000061a	application/x-arc	crunched

0	leshort	0xea60	application/x-arj

# LHARC/LHA archiver (Greg Roelofs, newt@uchicago.edu)
2	string	-lh0-	application/x-lharc	lh0
2	string	-lh1-	application/x-lharc	lh1
2	string	-lz4-	application/x-lharc	lz4
2	string	-lz5-	application/x-lharc	lz5
#	[never seen any but the last; -lh4- reported in comp.compression:]
2	string	-lzs-	application/x-lha	lzs
2	string	-lh\ -	application/x-lha	lh
2	string	-lhd-	application/x-lha	lhd
2	string	-lh2-	application/x-lha	lh2
2	string	-lh3-	application/x-lha	lh3
2	string	-lh4-	application/x-lha	lh4
2	string	-lh5-	application/x-lha	lh5
2	string	-lh6-	application/x-lha	lh6
2	string	-lh7-	application/x-lha	lh7
# Shell archives
10	string	#\ This\ is\ a\ shell\ archive	application/octet-stream	x-shell

#------------------------------------------------------------------------------
# frame:  file(1) magic for FrameMaker files
#
# This stuff came on a FrameMaker demo tape, most of which is
# copyright, but this file is "published" as witness the following:
#
0	string		\<MakerFile	application/x-frame
0	string		\<MIFFile	application/x-frame
0	string		\<MakerDictionary	application/x-frame
0	string		\<MakerScreenFon	application/x-frame
0	string		\<MML		application/x-frame
0	string		\<Book		application/x-frame
0	string		\<Maker		application/x-frame

#------------------------------------------------------------------------------
# html:  file(1) magic for HTML (HyperText Markup Language) docs
#
# from Daniel Quinlan <quinlan@yggdrasil.com>
#
0	string/cB	\<!DOCTYPE\ html	text/html
0	string/cb	\<head	text/html
0	string/cb	\<title	text/html
0       string/bc	\<html	text/html
0	string		\<!--	text/html
0	string/c	\<h1	text/html

0	string		\<?xml			text/xml

#------------------------------------------------------------------------------
# images:  file(1) magic for image formats (see also "c-lang" for XPM bitmaps)
#
# originally from jef@helicsn!2F --
# @@ (Jef Poskanzr)

# bddinions Iby anl@ifi.uio.no>as will arsother .  an Nlso "suggsted.# miering asver alone -and Cwo*-ine riles bnto "ere.

## XXX - wyte order for pGIFand CTFF afel ds?# [GRR   fTFF allows ybthewyte order s;pGIFas "robably aittle-endian ]#

# XGRR   fhat yhe fell as this adong ins"ere.?]#0	string		\xbtoa		btoa' file 
# XPBMPLUS#					CPBMfile 
	string		\P1	image/x-3ortebled-itmaps	bit

					CPGMfile 
	string		\P2	image/x-3ortebled-greyaps	bit

					CPPMfile 
	string		\P3	image/x-3ortebled-pixaps	bit

					CPBMf"rawit
s"file 
	string		\P4	image/x-3ortebled-itmaps
					CPGMf"rawit
s"file 
	string		\P5	image/x-3ortebled-greyaps
					CPPMf"rawit
s"file 
	string		\P6	image/x-3ortebled-pixaps
# XNFF a(Navy Iterphange tile	Formats,a madifycation/of wTFF )# XGRR   fhis a*msta*go iefore eTFF ]0	string		IDIN1	image/x-3iff"
# TaFF ald firinds 
					CTFF afee, fbigendian 0	string		IM		image/xtif
#					STFF afee, fittle-endian 0	string		IDI	image/xtif
## prosiole wGIFaepolacment s;pone
 ye reaeasted!# (0reg Roelofs, newt@uchicago.edu)
# # (RR 950115:  phis ways mne r("Zp 0GIF"):#					SZIFasage f(GIF+eflate_allpha
0	string		RGIF94z	image/xnknown-# # (RR 950115:  phis ws wJre.my Woh's preez GrapicasFormats (beterp):#					SFGFasage f(GIF+eflate_abeta
0	string		RFGF95a	image/xnknown-# # (RR 950115:  phis ws wThomys Boutel's pPrtebled BtmapsFormats ropeosal# (0esht;not cye rmple_ent ed):#					SPBFasage f(eflate_aompression:
0	string		RPBF	image/xnknown-## (RIF0	string		RGIF	image/xgi
## pJEG Lmages:0	belhort		0x7ffd8	image/xjeg
## XPCbitmaps) (OS/2, Windozd BMPfiles)
 (Greg Roelofs, newt@uchicago.edu)
0	string		RB		image/x-xms-bmp#>194byte	>	12	i(OS/2 1.xformats)#>194byte	>	64	i(OS/2 2.xformats)#>194byte	>	40	i(Windos y3.xformats)#>	string		IDC	imcn
# 	string		RPI	iponterp# 	string		RCI	comlr imcn
# 	string		RCP	comlr iponterp# 	string		RBA		btmapsFarray
# CrDROMtile	ystems.
32769   string     CD001    application/x-riso9660
# XNewr fSuff Itarchives
 (rante@netbs.org.
0	string		RSuff It		application/x-shuff t

	>16	string	->0			\: %

# gBinHexis the cMacnto sh ASCII-ncodid file hormat (*ee also "cpplie")# Xaniel Quinlan , uinlan@yggdrasil.com>
1	string	Bmsta\abe\converted \with \gBinHex\ 4application/xmacbin/hex40##>14	string	Bx				S\b,version %l.3s

#------------------------------------------------------------------------------
# Jishp  file(1) magic for loshpprograms
#	# virious foshppypes ,from Daniel Quinlan <(uinlan@yggdrasil.com>
0	string		;;		text/xlain 	8it

	 Emacs 18- whis ws walwayscorrect  but not Cersymagic al
0	string		\012(		application/x-selc
	 Emacs 190	string		;ELC\02\004000400040application/x-selc
#------------------------------------------------------------------------------
# Jail .ewt:  file(1) magic for iail add fewt:#
# The e are meste to uscmagic .cto comp with sail add fewt:
0	string		\Relay-Vrsion:
 	essages/rfc822	bit

	string		\!\ /rewt:	essages/rfc822	bit

	string		\N!\ /rewt:	essages/rfc822	bit

	string		\ormwar \wo c	essages/rfc822	bit

	string		\Pipe\wo c	essages/rfc822	bit

	string		\Rturn -Path:	essages/rfc822	bit

	string		\Rtcevesd:	essages/rfc822
	string		\Path:		essages/ewt:	8it

	string		\Xref:		essages/ewt:	8it

	string		\Fom :		essages/rfc822	bit

	string		\Artice h	essages/ewt:	8it

------------------------------------------------------------------------------
# Jaswrde file(1) magic for RMS Wordfiles
#
# Tonteriut r coainm:
#  Rver sd-ergingeeed bMS Wordfagic number 
#

#	string		\3776\067\\0403		application/xaswrde#	string		\3720\317\\21\340\241\261application/xaswrde#	string		\3733\245-\\040		aapplication/xaswrde#

#------------------------------------------------------------------------------
# Jrintier  file(1) magic for puintier-ormat td files
# ## XPostSript
0 string		\%		application/xpsts_ript
0 string		\004	%		application/xpsts_ript
0# Accobab

	 (du to chlaentcs.ucmuedu)
0	string		R%PDF-	application/xpdf
#------------------------------------------------------------------------------
# Jsc  file(1) magic for p"sc" sresadshee

	
8	string		\Sresadshee
application/x-shc
#------------------------------------------------------------------------------
# Jext  file(1) magic for pTeXfiles
#
# TXX - wgeed byte-ondian ltuff c(bigendian and lottle-endian eDVI?
# # (Fom  <onvklin@taoshman.kaleidacom>
## Aclhoutghwe cmayknow tha of fet of fcrtein text
afel dsins"TeXfDVI
 and mfntefiles
 we can ' usesthem teaeibly aecause ihemyare mot # zserotexrmneted . [ut nw docany way, chriso s]#	string		\3767\\02application/x-devi#0	string		\0767\203	TeXfenerac fort data
00	string		\0767\131	TeXfacked dort data
00	string		\0767\312	TeXfirtual hort data
00	string		\his\ is\ aTeX,	TeXftant_ript
text
	00	string		\his\ is\ aMETAFONT,	METAFONTftant_ript
text

# The e as neoway.to dietct bTeXfFrt dMetac f(*.tfm)files wilhout # byeaksig them tapartand mesadig themdata.
 The forlowing 3pt tdrs
# Tatch
most o*.tfmfiles wenerated pbyaMETAFONTor adfm2tfm.2	string	-	00400021application/x-dext-tfm2	string	-	00400022application/x-dext-tfm2#>3	string		>\0		"(%s

# Taexnfo ond mNU znfo-,from Daniel Quinlan <(uinlan@yggdrasil.com>
0	string			\\inpua\atexnfo 	text/x-ctexnfo 
	string		\his\ is\ anfo-\filestext/x-cnfo 
# coprect bTeXfagic for pLinux (nd moaybemore )# from Deter Tobias (tobias@server.et-inf.fho-emden.de)
0#
	leshort		0x702f		application/x-cevi##  RTF- wRch iext Mormats
	string		\{\\rtf	text/xrtf
#------------------------------------------------------------------------------
# auimalton:
 file(1) magic for puimalton:/movi formats # # (uimalton:formats ,originally from jvax@ccwf.cc.uextasedu) (VaX#n8)#					S	PEG Lile 
 MPEG Lsquesncs
0       besong&             x0000061BA
>4     bete ooooooooooooooo&0x40ooooooooooideo/xmp2p
>4     bete ooooooooooooooo^0x40ooooooooooideo/xmpeg0       besong&             x0000061BBoooooideo/xmpeg0       besong&             x0000061B0oooooideo/xmp4v-s
0       besong&             x0000061B5oooooideo/xmp4v-s
0       besong&             x0000061B3oooooideo/xmpv0       besong&&0xFF5FFF1F 0x4D7400610oooooideo/xmp2t0       besong&             x000006061
>4     bete &0x1F          x007           ideo/xh264
# FrLI(uimalton:formats
	leshort		0x7AF1			uvideo/xfli# FrLC(uimalton:formats
	leshort		0x7AF12		uvideo/xflc#
# SoGIond mAplieformats # Add d pISOmimes 0	string		IMOVI	      ideo/xsgi
	string		>moov	      ideo/xuincktme
#	string		>mata	      ideo/xuincktme
#	string		>wdeo	      ideo/xuincktme
#	string		>skip	      ideo/xuincktme
#	string		>reez	      ideo/xuincktme
#	string		>idsc	      mage/x-xuincktme
#	string		>idta	      mage/x-xuincktme
#	string		>pckg	      pplication/x-cuincktme
#	string	/B	jP	      mage/xjp2#	string		>rtyp>8	string		disom	      ideo/xmp4>8	string		dmp41	      ideo/xmp4>8	string		dmp42	      ideo/xmp4>8	string	/B	jp2	      mage/xjp2#8	string		d3gp	      ideo/x3gpp>8	      tring          \avc          aideo/x3gpp>8	string		dmmp4	      ideo/xmp4>8	string	/B	M4A	      pdio/mpe4>8	string	/B	qa	      ideo/xuincktme
##The conferiut r coainm:
#   I cauld  ' ufin a leal Cagic number ior the se, howeer, bhis
# s  -ppearas-to dork   Note that Ii might match rther siles
 wtoo,# s  so BE CAREFUL!#
# Sote that Iitle pnd mauhourappearain the ftwo 20-ete ochunk
# sa de
cmal |f fet s 2pnd m22,respoctive ly but thimyare mXOR'd with # s255 (hex FF)! DLhormat (SUCKS BIG ROCKS.#
#			EEEEDLhole hersion %1  med,iumhormat (*160x100, 4Lmages:/sreenF
0	bete	>	1	uvideo/xnknown-#	bete	>	2	uvideo/xnknown-#
# Dita.ased # # (GDBMfagic number 
#
  Wll cbemoin ein d ws (partaf the pGDBMfistiriut on %n the fiuure.
#
 <dojwnsj@tenFyorg> 0       besong&  0x13579ace      pplication/x-cgdb
0       slsong&  0x13579ace      pplication/x-cgdb
0       string   GDBMffffffffffffpplication/x-cgdb
0#0       besong&  0x061561ffffffffpplication/x-cdb
0#0# xec
uebleds#
0	string		\<177ELF 
>16leshort		0x	application/octet-stream

>16leshort		0		application/x-cobjcti
>16leshort		02	application/x-seec
uebled
>16leshort		03	application/x-shered lib
>16leshort		0		application/x-zoreldump
>16lbshort		0x	application/octet-stream

>16lbshort		0		application/x-cobjcti
>16lbshort		02	application/x-seec
uebled
>16lbshort		03	application/x-shered lib
>16lbshort		0		application/x-zoreldump

# DiOS0		string			PMZ			application/x-sdoseec
#	# DKDE0		string		[KDE\ Desktop\ Efery	application/x-akdelnk0		string		\#\ KDE\ Cnfigu File	auplication/x-akdelnk0 xmlc data
asedfile horm kscd0		string		\#\ mlc ddddddddddddddddext/xmlcd
#------------------------------------------------------------------------------
# Jrkgadd
 file(1) magic for pSysV R4 PKGDita.tream
s#
0       string          #!\ PaCkAgE\ DaTaStReAm application/x-shvr4package

#-PNG Iage formats
	string		\\x89PNG		image/xpn
## XMNG Vdeo/Formats,a<URL:ttp://www.glibpn
org>/pub/mg	/poct/>
	string		\\x8aMNG		iideo/x-msng
	string		\\x8aJNG		iideo/x-mjn

#------------------------------------------------------------------------------
# cHiratrhicaglDita.Formats,ased wo fiaciliatem scientfycadata (exhange # Jsoctfycation/ssa dttp://whdf.ncsa.uiucedu)/
#HiratrhicaglDita.Formats (ersion %4 data
0	selong		0x20e03130		application/x-chdf
#HiratrhicaglDita.Formats (ersion %5 data
0	string	C	\211HDF\r\n\032	application/x-shdf
#-AddobemPhoo shop0	string	C	8BPS		image/x-3ohoo shop0# Frelx ven %Letnesr <felx -ile(@fefede)>
	string		\d8:announcs	application/x-sbittprecnt

# Clotus 1-2-3documenta0	selong		x000001a40application/x-s1230	selong		x000000200 application/x-s1230# XMSAccoss tata
ased#	string		tandard \ Jet\ DBapplication/xasacoss 
## iagic for pXBsedfile s#0       ete ooooooox702
#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox703
#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox704
#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox705
#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox730#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox743#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox77b#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox783
#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox78b#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox78e
#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox7b3#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0       ete ooooooox7f5#>98    slshort		  >0#>9>12  slshort	ooooxapplication/x-sdbf#
#0 leshort		0x70006	application/x-sdb

# TDbian-has antries for "ha ofld PGPformats 
#  pgp  file(1) magic for lPretty God ePrivacy# Jseedttp://wlstis.gnup
org>/piperail /gnup
-deerl/1999-Septeber /016052html
#
ext/xPGPfkmyaublisc ing	0	belhort		0x7990		aapplication/xpgp#
ext/xPGPfkmyasc
uity Ping	0	belhort		0x7950		aapplication/xpgp#
ext/xPGPfkmyasc
uity Ping	0	belhort		0x7950		aapplication/xpgp#
ext/xPGPfencryped data
0	selhort		0x7a60		aapplication/xpgp-encryped #
ext/xPGPfarore  data
# #ublisc kmyablock2	string	-l--EGIN[\ PGP\ PUBLIC\ KEY\ BLOCK-application/xpgp-kmy 0	string		----
EGIN[\040PGP\40MESSAGE-	aapplication/xpgp#	string		----
EGIN[\040PGP\40SIGNATURE-	aapplication/xpgp-sgnature.# # (GnuPGMagic 
#  # # ext/xGnuPGMkmyaublisc ing	0	belhort		0x7990		aapplication/xpgp#
ext/xOpenPGPfata
0	selhort		0x7850		aapplication/xpgp-encryped 	
# Tflash:ooooooofile(1) magic for RMacroedia
 Flashfile hormat #
# Soe.# # (((((((ttp://www.gmacroedia
com/noft wre/aflash/open/#
0	string		\FWS             
>	byte	>Bx			pplication/x-sheockwave-flash
# The forlowing 3ptraat rs wre mreated wor RNaatzu
#
 <ttp://www.gnaatzu
rg>/
#
# T1999/08/1300	string		\0!--	\ MHonArc	text/html
; x-ypes=mhnaryc0	string		RBZh			pplication/x-sbzip2
# T1999/09/09# TVRL (Hsuggsted.pbyaMasaoTakeak)
0	string		R#VRL \ V1.0\uscmiimod
rl/vrl
0	string		\#VRL \ V2.0\uutf8mod
rl/vrl
0#------------------------------------------------------------------------------
# imhictaro456 file(1) magic for RJst cSstems WordfProoss r RIhictaro#
# Tonteriut r ckenzo-
#  Rver sd-ergingeeed bJSRIhictarofagic number 
#

#	string		\DOC
>4	byte	>B0x1		application/xmhictaro4>14		string		JDASH	application/xmhictaro4>#	string		\DOC
>4	byte	>B0x15	application/xmhictaro5>#	string		\DOC
>4	byte	>B0x16	application/xmhictaro60#------------------------------------------------------------------------------
# iofycae97 file(1) magic for RMcrosSft ROfycaefiles
#
# Tonteriut r ckenzo-
#  Rver sd-ergingeeed bMSAOfycaefagic number 
#

#0       string          \0720\317\\21\340\241\261\032\341#>4	8     ete oooooooooooox71Boooooooooooopplication/xexhe
0#280	string	M!crosoft \ Exhe
\ 5.0\uWorkshee
application/xexhe
0211	string		Biff5				application/xexhe
0#       string 	\224\246\056	application/xaswrde#
	selong		x031be0000	application/xaswrde#
	string 	PO^Q`	aapplication/xaswrde#
	string		\720\317\\21\340\241\261\032\341#>546string		bjbj	aapplication/xaswrde#>546string		jbjb	aapplication/xaswrde#
51	string	-R\0o\0o\0t\0\u\0E\0n\0t\0r\0yapplication/xaswrde#
280	string	M!crosoft \ Word\ 6.0\uocument application/xaswrde#280	string	Mocument o\ !crosoft \ Word\ 6application/xaswrde#211	string	-MSWordocu	aapplication/xaswrde#
#	string		\720\317\\21\340\241\261\032\341application/xpswerponte
	string		\720\317\\21\340\241\261\032\341application/xaswrde#
	      string   !\ PaCkAgE\ DaTaStReAm application/x-shvr4package

##  WinNT/WinCE PEfiles w(Waresr Losh,rmpl@villge. rg.
0#
128	string		E\04400040application/xctet-stream
0	sstring		E\04400040application/xctet-stream
0# Taishe
laneus formsts #	sstring		LZ	application/octet-stream

## T.EX format
 (Greg Roelofs, newt@uchicago.edu)
# #	sstring		MZ
>24sstring		@	application/octet-stream

#	sstring		MZ
>3	sstring		Cpyright,\T1989-1990\uKWARE] anfc.application/x-zip

#	sstring		MZ
>3	sstring		PKLITE\ Cnpr.application/x-zip

#	sstring		MZ
>36sstring		LHa's\ SFXapplication/x-lha	
#	sstring		MZ	application/octet-stream

# SHA archiver 2	sstring		-lh
>6sstring		-		pplication/x-sha	
## SZooarchiver 2		ssllong		x0fdc4a7dcapplication/x-zio 
# cARCarchiver 2	      slelong&0x8080ffff	0x0000081a	application/x-arc	
	ssllong	0x8080ffff	0x0000091a	application/x-arc	
	ssllong	0x8080ffff	0x0000091a	application/x-arc	
	ssllong	0x8080ffff	0x0000091a	application/x-arc	
	ssllong	0x8080ffff	0x0000091a	application/x-arc	
	ssllong	0x8080ffff	0x0000091a	application/x-arc	
# Microsoft WOutlook's Tant_ort oNetragl Encapsullton:formats (TNEF)
	ssllong		x0223e9f78application/xas-tnef
# (Fom :strephane.loeuillet@tishali.f# htmp://www.gdjvuzon. rg./
	string		\AT&TORM"image/x-gdjvu
# XaninyaMilosavljevc n<dniny.milo@gmx.net>
 this fre madrit W(advnt re ogme otandard )ogme oiles
 wetendion %.taf# hependeig on 2ersion %agic nontinuas wilhoox793453E6139FA (V 4.0)# fx79445376139FA (V 3.90)# fx79445366139FA (V 3.80)# fhis ws wrom jource
 (tmp://www.gadrit org.uk)/)pnd mIhave asoe thaf# hiles
 wnd mheckie the m.
#	selong		x03C423FC9#>4	lelong		x06A87C2CFapplication/x-ardrit 
#	string		\040004000410040amage/x-3ic 
# cQuark Xress i3tile	y
#  (mad the moimeype oup) 0	string		\0\0MMXPR3\xapplication/x-squark-xress -30# XEETarchiver# (Fom :sTilman Saurberck <tilman@odid-monkmyde)>
	selong		x01ee7ff40application/x-seet
# (Fom :sDens wKnaf, sva
 gnt oo
0	string		fLa		audio/x-aflac0	string		CWS		pplication/x-sheockwave-flash
# TGumbrac fsresadshee

	This sntriyws wnly usemi-helpful,ws (Gumbrac fompressed it shiles
 wo
# hhimyaill crdingariy ueported is ("ompressed
, but ets eastt -zfellps
39     string          \=<gmr:Workbookooooooooooopplication/xx-gumbrac 
