SHARE
TWEET

Untitled

a guest Aug 12th, 2016 616 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  4. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  5. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  6. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  7. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  8. read(53, "", 4096)                      = 0
  9. close(53)                               = 0
  10. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  11. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  12. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  13. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  14. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  15. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  16. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  17. read(53, "", 4096)                      = 0
  18. close(53)                               = 0
  19. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  20. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  21. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  22. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  23. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  24. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  25. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  26. read(53, "", 4096)                      = 0
  27. close(53)                               = 0
  28. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  29. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  30. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  31. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  32. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  33. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  34. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  35. read(53, "", 4096)                      = 0
  36. close(53)                               = 0
  37. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  38. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  39. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  40. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  41. brk(0xb7dfc000)                         = 0xb7dfc000
  42. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  43. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  44. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  45. read(53, "", 4096)                      = 0
  46. close(53)                               = 0
  47. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  48. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  49. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  50. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  51. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  52. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  53. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  54. read(53, "", 4096)                      = 0
  55. close(53)                               = 0
  56. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  57. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  58. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  59. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  60. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  61. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  62. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  63. read(53, "", 4096)                      = 0
  64. close(53)                               = 0
  65. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  66. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  67. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  68. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  69. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  70. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  71. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  72. read(53, "", 4096)                      = 0
  73. close(53)                               = 0
  74. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  75. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  76. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  77. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  78. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  79. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  80. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  81. read(53, "", 4096)                      = 0
  82. close(53)                               = 0
  83. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  84. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  85. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  86. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  87. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  88. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  89. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  90. read(53, "", 4096)                      = 0
  91. close(53)                               = 0
  92. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  93. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  94. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  95. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  96. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  97. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  98. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  99. read(53, "", 4096)                      = 0
  100. close(53)                               = 0
  101. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  102. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  103. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  104. brk(0xb7e1e000)                         = 0xb7e1e000
  105. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  106. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  107. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  108. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  109. read(53, "", 4096)                      = 0
  110. close(53)                               = 0
  111. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  112. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  113. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  114. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  115. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  116. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  117. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  118. read(53, "", 4096)                      = 0
  119. close(53)                               = 0
  120. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  121. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  122. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  123. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  124. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  125. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  126. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  127. read(53, "", 4096)                      = 0
  128. close(53)                               = 0
  129. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  130. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  131. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  132. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  133. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  134. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  135. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  136. read(53, "", 4096)                      = 0
  137. close(53)                               = 0
  138. open("/etc/httpd/conf/magic", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  139. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  140. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  141. read(53, "# Magic data for mod_mime_magic Apache module (originally for file(1) command)\n# The module is described in /manual/mod/mod_mime_magic.html\n#\n# The format is 4-5 columns:\n#    Column #1: byte number to begin checking from, \">\" indicates continuation\n#    Column #2: type of data to match\n#    Column #3: contents of data to match\n#    Column #4: MIME type of result\n#    Column #5: MIME encoding of result (optional)\n\n#------------------------------------------------------------------------------\n# Localstuff:  file(1) magic for locally observed files\n# Add any locally observed files here.\n\n#------------------------------------------------------------------------------\n# end local stuff\n#------------------------------------------------------------------------------\n\n#------------------------------------------------------------------------------\n# Java\n\n0\tshort\t\t0xcafe\n>2\tshort\t\t0xbabe\t\tapplication/java\n\n#------------------------------------------------------------------------------\n# audio:  file(1) magic for sound formats\n#\n# from Jan Nicolai Langfeldt <janl@ifi.uio.no>,\n#\n\n# Sun/NeXT audio data\n0\tstring\t\t.snd\n>12\tbelong\t\t1\t\taudio/basic\n>12\tbelong\t\t2\t\taudio/basic\n>12\tbelong\t\t3\t\taudio/basic\n>12\tbelong\t\t4\t\taudio/basic\n>12\tbelong\t\t5\t\taudio/basic\n>12\tbelong\t\t6\t\taudio/basic\n>12\tbelong\t\t7\t\taudio/basic\n\n>12\tbelong\t\t23\t\taudio/x-adpcm\n\n# DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format\n# that uses little-endian encoding and has a different magic number\n# (0x0064732E in little-endian encoding).\n0\tlelong\t\t0x0064732E\t\n>12\tlelong\t\t1\t\taudio/x-dec-basic\n>12\tlelong\t\t2\t\taudio/x-dec-basic\n>12\tlelong\t\t3\t\taudio/x-dec-basic\n>12\tlelong\t\t4\t\taudio/x-dec-basic\n>12\tlelong\t\t5\t\taudio/x-dec-basic\n>12\tlelong\t\t6\t\taudio/x-dec-basic\n>12\tlelong\t\t7\t\taudio/x-dec-basic\n#                                       compressed (G.721 ADPCM)\n>12\tlelong\t\t23\t\taudio/x-dec-adpcm\n\n# Bytes 0-3 of AIFF, AIFF-C, & 8SVX audio files are \"FORM\"\n#\t\t\t\t\tAIFF audio data\n8\tstring\t\tAIFF\t\taudio/x-aiff\t\n#\t\t\t\t\tAIFF-C audio data\n8\tstring\t\tAIFC\t\taudio/x-aiff\t\n#\t\t\t\t\tIFF/8SVX audio data\n8\tstring\t\t8SVX\t\taudio/x-aiff\t\n\n# Creative Labs AUDIO stuff\n#\t\t\t\t\tStandard MIDI data\n0\tstring\tMThd\t\t\taudio/unknown\t\n#>9 \tbyte\t>0\t\t\t(format %d)\n#>11\tbyte\t>1\t\t\tusing %d channels\n#\t\t\t\t\tCreative Music (CMF) data\n0\tstring\tCTMF\t\t\taudio/unknown\t\n#\t\t\t\t\tSoundBlaster instrument data\n0\tstring\tSBI\t\t\taudio/unknown\t\n#\t\t\t\t\tCreative Labs voice data\n0\tstring\tCreative\\ Voice\\ File\taudio/unknown\t\n## is this next line right?  it came this way...\n#>19\tbyte\t0x1A\n#>23\tbyte\t>0\t\t\t- version %d\n#>22\tbyte\t>0\t\t\t\\b.%d\n\n# [GRR 950115:  is this also Creative Labs?  Guessing that first line\n#  should be string instead of unknown-endian long...]\n#0\tlong\t\t0x4e54524b\tMultiTrack sound data\n#0\tstring\t\tNTRK\t\tMultiTrack sound data\n#>4\tlong\t\tx\t\t- version %ld\n\n# Microsoft WAVE format (*.wav)\n# [GRR 950115:  probably all of the shorts and longs should be leshort/lelong]\n#\t\t\t\t\tMicrosoft RIFF\n0\tstring\t\tRIFF\t\taudio/unknown\n#\t\t\t\t\t- WAVE format\n>8\tstring\t\tWAVE\t\taudio/x-wav\n# MPEG audio.\n0   beshort&0xfff0  0xfff0  audio/mpeg\n# C64 SID Music files, from Linus Walleij <triad@df.lth.se>\n0   string      PSID        audio/prs.sid\n\n#------------------------------------------------------------------------------\n# c-lang:  file(1) magic for C programs or various scripts\n#\n\n# XPM icons (Greg Roelofs, newt@uchicago.edu)\n# ideally should go into \"images\", but entries below would tag XPM as C source\n0\tstring\t\t/*\\ XPM\t\timage/x-xbm\t7bit\n\n# this first will upset you if you're a PL/1 shop... (are there any left?)\n# in which case rm it; ascmagic will catch real C programs\n#\t\t\t\t\tC or REXX program text\n0\tstring\t\t/*\t\ttext/plain\n#\t\t\t\t\tC++ program text\n0\tstring\t\t//\t\ttext/plain\n\n#------------------------------------------------------------------------------\n# compress:  file(1) magic for pure-compression formats (no archives)\n#\n# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.\n#\n# Formats for various forms of compressed data\n# Formats for \"compress\" proper have been moved into \"compress.c\",\n# because it tries to uncompress it t", 4096) = 4096
  142. read(53, "o figure out what's inside.\n\n# standard unix compress\n0\tstring\t\t\\037\\235\tapplication/octet-stream\tx-compress\n\n# gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)\n0       string          \\037\\213        application/octet-stream\tx-gzip\n\n# According to gzip.h, this is the correct byte order for packed data.\n0\tstring\t\t\\037\\036\tapplication/octet-stream\n#\n# This magic number is byte-order-independent.\n#\n0\tshort\t\t017437\t\tapplication/octet-stream\n\n# XXX - why *two* entries for \"compacted data\", one of which is\n# byte-order independent, and one of which is byte-order dependent?\n#\n# compacted data\n0\tshort\t\t0x1fff\t\tapplication/octet-stream\n0\tstring\t\t\\377\\037\tapplication/octet-stream\n# huf output\n0\tshort\t\t0145405\t\tapplication/octet-stream\n\n# Squeeze and Crunch...\n# These numbers were gleaned from the Unix versions of the programs to\n# handle these formats.  Note that I can only uncrunch, not crunch, and\n# I didn't have a crunched file handy, so the crunch number is untested.\n#\t\t\t\tKeith Waclena <keith@cerberus.uchicago.edu>\n#0\tleshort\t\t0x76FF\t\tsqueezed data (CP/M, DOS)\n#0\tleshort\t\t0x76FE\t\tcrunched data (CP/M, DOS)\n\n# Freeze\n#0\tstring\t\t\\037\\237\tFrozen file 2.1\n#0\tstring\t\t\\037\\236\tFrozen file 1.0 (or gzip 0.5)\n\n# lzh?\n#0\tstring\t\t\\037\\240\tLZH compressed data\n\n#------------------------------------------------------------------------------\n# frame:  file(1) magic for FrameMaker files\n#\n# This stuff came on a FrameMaker demo tape, most of which is\n# copyright, but this file is \"published\" as witness the following:\n#\n0\tstring\t\t\\<MakerFile\tapplication/x-frame\n0\tstring\t\t\\<MIFFile\tapplication/x-frame\n0\tstring\t\t\\<MakerDictionary\tapplication/x-frame\n0\tstring\t\t\\<MakerScreenFon\tapplication/x-frame\n0\tstring\t\t\\<MML\t\tapplication/x-frame\n0\tstring\t\t\\<Book\t\tapplication/x-frame\n0\tstring\t\t\\<Maker\t\tapplication/x-frame\n\n#------------------------------------------------------------------------------\n# html:  file(1) magic for HTML (HyperText Markup Language) docs\n#\n# from Daniel Quinlan <quinlan@yggdrasil.com>\n# and Anna Shergold <anna@inext.co.uk>\n#\n0   string      \\<!DOCTYPE\\ HTML    text/html\n0   string      \\<!doctype\\ html    text/html\n0   string      \\<HEAD      text/html\n0   string      \\<head      text/html\n0   string      \\<TITLE     text/html\n0   string      \\<title     text/html\n0   string      \\<html      text/html\n0   string      \\<HTML      text/html\n0   string      \\<!--       text/html\n0   string      \\<h1        text/html\n0   string      \\<H1        text/html\n\n# XML eXtensible Markup Language, from Linus Walleij <triad@df.lth.se>\n0   string      \\<?xml      text/xml\n\n#------------------------------------------------------------------------------\n# images:  file(1) magic for image formats (see also \"c-lang\" for XPM bitmaps)\n#\n# originally from jef@helios.ee.lbl.gov (Jef Poskanzer),\n# additions by janl@ifi.uio.no as well as others. Jan also suggested\n# merging several one- and two-line files into here.\n#\n# XXX - byte order for GIF and TIFF fields?\n# [GRR:  TIFF allows both byte orders; GIF is probably little-endian]\n#\n\n# [GRR:  what the hell is this doing in here?]\n#0\tstring\t\txbtoa\t\tbtoa'd file\n\n# PBMPLUS\n#\t\t\t\t\tPBM file\n0\tstring\t\tP1\t\timage/x-portable-bitmap\t7bit\n#\t\t\t\t\tPGM file\n0\tstring\t\tP2\t\timage/x-portable-greymap\t7bit\n#\t\t\t\t\tPPM file\n0\tstring\t\tP3\t\timage/x-portable-pixmap\t7bit\n#\t\t\t\t\tPBM \"rawbits\" file\n0\tstring\t\tP4\t\timage/x-portable-bitmap\n#\t\t\t\t\tPGM \"rawbits\" file\n0\tstring\t\tP5\t\timage/x-portable-greymap\n#\t\t\t\t\tPPM \"rawbits\" file\n0\tstring\t\tP6\t\timage/x-portable-pixmap\n\n# NIFF (Navy Interchange File Format, a modification of TIFF)\n# [GRR:  this *must* go before TIFF]\n0\tstring\t\tIIN1\t\timage/x-niff\n\n# TIFF and friends\n#\t\t\t\t\tTIFF file, big-endian\n0\tstring\t\tMM\t\timage/tiff\n#\t\t\t\t\tTIFF file, little-endian\n0\tstring\t\tII\t\timage/tiff\n\n# possible GIF replacements; none yet released!\n# (Greg Roelofs, newt@uchicago.edu)\n#\n# GRR 950115:  this was mine (\"Zip GIF\"):\n#\t\t\t\t\tZIF image (GIF+deflate alpha)\n0\tstring\t\tGIF94z\t\timage/unknown\n#\n# GRR 950115:  this is Jeremy Wohl's Free Graphics Format (better):\n#\t\t\t\t\tFGF image (GIF+deflate beta)\n0\tstring\t\t", 4096) = 4096
  143. read(53, "FGF95a\t\timage/unknown\n#\n# GRR 950115:  this is Thomas Boutell's Portable Bitmap Format proposal\n# (best; not yet implemented):\n#\t\t\t\t\tPBF image (deflate compression)\n0\tstring\t\tPBF\t\timage/unknown\n\n# GIF\n0\tstring\t\tGIF\t\timage/gif\n\n# JPEG images\n0\tbeshort\t\t0xffd8\t\timage/jpeg\n\n# PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)\n0\tstring\t\tBM\t\timage/bmp\n#>14\tbyte\t\t12\t\t(OS/2 1.x format)\n#>14\tbyte\t\t64\t\t(OS/2 2.x format)\n#>14\tbyte\t\t40\t\t(Windows 3.x format)\n#0\tstring\t\tIC\t\ticon\n#0\tstring\t\tPI\t\tpointer\n#0\tstring\t\tCI\t\tcolor icon\n#0\tstring\t\tCP\t\tcolor pointer\n#0\tstring\t\tBA\t\tbitmap array\n\n\n#------------------------------------------------------------------------------\n# lisp:  file(1) magic for lisp programs\n#\n# various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)\n0\tstring\t;;\t\t\ttext/plain\t8bit\n# Emacs 18 - this is always correct, but not very magical.\n0\tstring\t\\012(\t\t\tapplication/x-elc\n# Emacs 19\n0\tstring\t;ELC\\023\\000\\000\\000\tapplication/x-elc\n\n#------------------------------------------------------------------------------\n# mail.news:  file(1) magic for mail and news\n#\n# There are tests to ascmagic.c to cope with mail and news.\n0\tstring\t\tRelay-Version: \tmessage/rfc822\t7bit\n0\tstring\t\t#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tN#!\\ rnews\tmessage/rfc822\t7bit\n0\tstring\t\tForward\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tPipe\\ to \tmessage/rfc822\t7bit\n0\tstring\t\tReturn-Path:\tmessage/rfc822\t7bit\n0\tstring\t\tPath:\t\tmessage/news\t8bit\n0\tstring\t\tXref:\t\tmessage/news\t8bit\n0\tstring\t\tFrom:\t\tmessage/rfc822\t7bit\n0\tstring\t\tArticle \tmessage/news\t8bit\n#------------------------------------------------------------------------------\n# msword: file(1) magic for MS Word files\n#\n# Contributor claims:\n# Reversed-engineered MS Word magic numbers\n#\n\n0\tstring\t\t\\376\\067\\0\\043\t\t\tapplication/msword\n0\tstring\t\t\\333\\245-\\0\\0\\0\t\t\tapplication/msword\n\n# disable this one because it applies also to other\n# Office/OLE documents for which msword is not correct. See PR#2608.\n#0\tstring\t\t\\320\\317\\021\\340\\241\\261\tapplication/msword\n\n\n\n#------------------------------------------------------------------------------\n# printer:  file(1) magic for printer-formatted files\n#\n\n# PostScript\n0\tstring\t\t%!\t\tapplication/postscript\n0\tstring\t\t\\004%!\t\tapplication/postscript\n\n# Acrobat\n# (due to clamen@cs.cmu.edu)\n0\tstring\t\t%PDF-\t\tapplication/pdf\n\n#------------------------------------------------------------------------------\n# sc:  file(1) magic for \"sc\" spreadsheet\n#\n38\tstring\t\tSpreadsheet\tapplication/x-sc\n\n#------------------------------------------------------------------------------\n# tex:  file(1) magic for TeX files\n#\n# XXX - needs byte-endian stuff (big-endian and little-endian DVI?)\n#\n# From <conklin@talisman.kaleida.com>\n\n# Although we may know the offset of certain text fields in TeX DVI\n# and font files, we can't use them reliably because they are not\n# zero terminated. [but we do anyway, christos]\n0\tstring\t\t\\367\\002\tapplication/x-dvi\n#0\tstring\t\t\\367\\203\tTeX generic font data\n#0\tstring\t\t\\367\\131\tTeX packed font data\n#0\tstring\t\t\\367\\312\tTeX virtual font data\n#0\tstring\t\tThis\\ is\\ TeX,\tTeX transcript text\t\n#0\tstring\t\tThis\\ is\\ METAFONT,\tMETAFONT transcript text\n\n# There is no way to detect TeX Font Metric (*.tfm) files without\n# breaking them apart and reading the data.  The following patterns\n# match most *.tfm files generated by METAFONT or afm2tfm.\n#2\tstring\t\t\\000\\021\tTeX font metric data\n#2\tstring\t\t\\000\\022\tTeX font metric data\n#>34\tstring\t\t>\\0\t\t(%s)\n\n# Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)\n#0\tstring\t\t\\\\input\\ texinfo\tTexinfo source text\n#0\tstring\t\tThis\\ is\\ Info\\ file\tGNU Info text\n\n# correct TeX magic for Linux (and maybe more)\n# from Peter Tobias (tobias@server.et-inf.fho-emden.de)\n#\n0\tleshort\t\t0x02f7\t\tapplication/x-dvi\n\n# RTF - Rich Text Format\n0\tstring\t\t{\\\\rtf\t\tapplication/rtf\n\n#------------------------------------------------------------------------------\n# animation:  file(1) magic for animation/movie formats\n#\n# animation formats, originally from vax@ccwf.cc.utexas.edu (VaX#n8)\n#\t\t\t\t\t\tMPEG file\n0\tstring\t\t\\000\\000\\001\\263\tvideo/mpeg\n#\n#", 4096) = 4096
  144. read(53, " The contributor claims:\n#   I couldn't find a real magic number for these, however, this\n#   -appears- to work.  Note that it might catch other files, too,\n#   so BE CAREFUL!\n#\n# Note that title and author appear in the two 20-byte chunks\n# at decimal offsets 2 and 22, respectively, but they are XOR'ed with\n# 255 (hex FF)! DL format SUCKS BIG ROCKS.\n#\n#\t\t\t\t\t\tDL file version 1 , medium format (160x100, 4 images/screen)\n0\tbyte\t\t1\t\t\tvideo/unknown\n0\tbyte\t\t2\t\t\tvideo/unknown\n# Quicktime video, from Linus Walleij <triad@df.lth.se>\n# from Apple quicktime file format documentation.\n4   string      moov        video/quicktime\n4   string      mdat        video/quicktime\n\n# PNG [Portable Network Graphics, or \"PNG's Not GIF\"] images\n#\n# 137 P N G \\r \\n ^Z \\n [4-byte length] H E A D [HEAD data] [HEAD crc] ...\n0   string      \\211PNG\\015      image/png\n", 4096) = 851
  145. read(53, "", 4096)                      = 0
  146. close(53)                               = 0
  147. open("/etc/mime.types", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  148. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  149. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  150. fstat64(53, {st_mode=S_IFREG|0644, st_size=43591, ...}) = 0
  151. read(53, "# This is a comment. I love comments.\t\t    -*- indent-tabs-mode: t -*-\n\n# This file controls what Internet media types are sent to the client for\n# given file extension(s).  Sending the correct media type to the client\n# is important so they know how to handle the content of the file.\n# Extra types can either be added here or by using an AddType directive\n# in your config files. For more information about Internet media types,\n# please read RFC 2045, 2046, 2047, 2048, and 2077.  The Internet media type\n# registry is at <http://www.iana.org/assignments/media-types/>.\n\n# IANA types\n\n# MIME type\t\t\t\t\tExtensions\napplication/3gpp-ims+xml\napplication/activemessage\napplication/andrew-inset\t\t\tez\napplication/applefile\napplication/atom+xml\t\t\t\tatom\napplication/atomicmail\napplication/atomcat+xml\t\t\t\tatomcat\napplication/atomsvc+xml\t\t\t\tatomsvc\napplication/auth-policy+xml\t\t\tapxml\napplication/batch-SMTP\napplication/beep+xml\napplication/cals-1840\napplication/ccxml+xml\t\t\t\tccxml\napplication/cea-2018+xml\napplication/cellml+xml\t\t\t\tcellml cml\napplication/cnrp+xml\napplication/commonground\napplication/conference-info+xml\napplication/cpl+xml\t\t\t\tcpl\napplication/csta+xml\napplication/CSTAdata+xml\napplication/cybercash\napplication/davmount+xml\t\t\tdavmount\napplication/dca-rft\napplication/dec-dx\napplication/dialog-info+xml\napplication/dicom\t\t\t\tdcm\napplication/dns\napplication/dssc+der\t\t\t\tdssc\napplication/dssc+xml\t\t\t\txdssc\napplication/dvcs\t\t\t\tdvc\napplication/ecmascript\napplication/EDI-Consent\napplication/EDI-X12\napplication/EDIFACT\napplication/emma+xml\t\t\t\temma\napplication/epp+xml\napplication/eshop\napplication/fastinfoset\t\t\t\tfinf\napplication/fastsoap\n# fits, fit, fts: image/fits\napplication/fits\napplication/font-tdpfr\t\t\t\tpfr\napplication/H224\napplication/held+xml\napplication/http\napplication/hyperstudio\t\t\t\tstk\napplication/ibe-key-request+xml\napplication/ibe-pkg-reply+xml\napplication/ibe-pp-data\napplication/iges\napplication/im-iscomposing+xml\napplication/index\napplication/index.cmd\napplication/index.obj\napplication/index.response\napplication/index.vnd\napplication/iotp\napplication/ipfix\t\t\t\tipfix\napplication/ipp\napplication/isup\n# js: text/javascript (obsolete) for browser support for now\napplication/javascript\napplication/json\t\t\t\tjson\napplication/kpml-request+xml\napplication/kpml-response+xml\napplication/lost+xml\t\t\t\tlostxml\napplication/mac-binhex40\t\t\thqx\napplication/macwriteii\napplication/marc\t\t\t\tmrc\napplication/mathematica\t\t\t\tnb ma mb\napplication/mbms-associated-procedure-description+xml\napplication/mbms-deregister+xml\napplication/mbms-envelope+xml\napplication/mbms-msk-response+xml\napplication/mbms-msk+xml\napplication/mbms-protection-description+xml\napplication/mbms-reception-report+xml\napplication/mbms-register-response+xml\napplication/mbms-register+xml\napplication/mbms-user-service-description+xml\napplication/mbox\t\t\t\tmbox\napplication/media_control+xml\napplication/mediaservercontrol+xml\napplication/mikey\napplication/moss-keys\napplication/moss-signature\napplication/mosskey-data\napplication/mosskey-request\napplication/mp21\t\t\t\tm21 mp21\n# mp4, mpg4: video/mp4, see RFC 4337\napplication/mp4\napplication/mpeg4-generic\napplication/mpeg4-iod\napplication/mpeg4-iod-xmt\napplication/msword\t\t\t\tdoc\napplication/mxf\t\t\t\t\tmxf\napplication/nasdata\napplication/news-checkgroups\napplication/news-groupinfo\napplication/news-transmission\napplication/nss\napplication/ocsp-request\t\t\torq\napplication/ocsp-response\t\t\tors\napplication/octet-stream\t\tbin lha lzh exe class so dll img iso\napplication/oda\t\t\t\t\toda\napplication/oebps-package+xml\t\t\topf\napplication/ogg\t\t\t\t\togx\napplication/parityfec\n# xer: application/xcap-error+xml\napplication/patch-ops-error+xml\napplication/pdf\t\t\t\t\tpdf\napplication/pgp-encrypted\napplication/pgp-keys\napplication/pgp-signature\t\t\tsig\napplication/pidf-diff+xml\napplication/pidf+xml\napplication/pkcs10\t\t\t\tp10\napplication/pkcs7-mime\t\t\t\tp7m p7c\napplication/pkcs7-signature\t\t\tp7s\napplication/pkix-cert\t\t\t\tcer\napplication/pkix-crl\t\t\t\tcrl\napplication/pkix-pkipath\t\t\tpkipath\napplication/pkixcmp\napplication/pls+xml\t\t\t\tpls\napplication/poc-settings+xml\napplication/postscript\t\t\t\tai eps ps\n", 4096) = 4096
  152. read(53, "application/prs.alvestrand.titrax-sheet\napplication/prs.cww\t\t\t\tcw cww\napplication/prs.nprend\t\t\t\trnd rct\napplication/prs.plucker\napplication/qsig\napplication/rdf+xml\t\t\t\trdf\napplication/reginfo+xml\t\t\t\trif\napplication/relax-ng-compact-syntax\t\trnc\napplication/remote-printing\napplication/resource-lists-diff+xml\t\trld\napplication/resource-lists+xml\t\t\trl\napplication/riscos\napplication/rlmi+xml\napplication/rls-services+xml\t\t\trs\napplication/rtf\t\t\t\t\trtf\napplication/rtx\napplication/samlassertion+xml\napplication/samlmetadata+xml\napplication/sbml+xml\napplication/scvp-cv-request\t\t\tscq\napplication/scvp-cv-response\t\t\tscs\napplication/scvp-vp-request\t\t\tspq\napplication/scvp-vp-response\t\t\tspp\napplication/sdp\t\t\t\t\tsdp\napplication/set-payment\napplication/set-payment-initiation\napplication/set-registration\napplication/set-registration-initiation\napplication/sgml\napplication/sgml-open-catalog\t\t\tsoc\napplication/shf+xml\t\t\t\tshf\napplication/sieve\t\t\t\tsiv sieve\napplication/simple-filter+xml\t\t\tcl\napplication/simple-message-summary\napplication/simpleSymbolContainer\napplication/slate\n# obsoleted by application/smil+xml\napplication/smil\t\t\t\tsmil smi sml\n# smil, smi: application/smil for now\napplication/smil+xml\napplication/soap+fastinfoset\napplication/soap+xml\napplication/sparql-query\t\t\trq\napplication/sparql-results+xml\t\t\tsrx\napplication/spirits-event+xml\napplication/srgs\t\t\t\tgram\napplication/srgs+xml\t\t\t\tgrxml\napplication/ssml+xml\t\t\t\tssml\napplication/timestamp-query\t\t\ttsq\napplication/timestamp-reply\t\t\ttsr\napplication/tve-trigger\napplication/ulpfec\napplication/vemmi\napplication/vnd.3gpp.bsf+xml\napplication/vnd.3gpp.pic-bw-large\t\tplb\napplication/vnd.3gpp.pic-bw-small\t\tpsb\napplication/vnd.3gpp.pic-bw-var\t\t\tpvb\n# sms: application/vnd.3gpp2.sms\napplication/vnd.3gpp.sms\napplication/vnd.3gpp2.bcmcsinfo+xml\napplication/vnd.3gpp2.sms\t\t\tsms\napplication/vnd.3gpp2.tcap\t\t\ttcap\napplication/vnd.3M.Post-it-Notes\t\tpwn\napplication/vnd.accpac.simply.aso\t\taso\napplication/vnd.accpac.simply.imp\t\timp\napplication/vnd.acucobol\t\t\tacu\napplication/vnd.acucorp\t\t\t\tatc acutc\napplication/vnd.adobe.partial-upload\napplication/vnd.adobe.xdp+xml\t\t\txdp\napplication/vnd.adobe.xfdf\t\t\txfdf\napplication/vnd.aether.imp\napplication/vnd.airzip.filesecure.azf\t\tazf\napplication/vnd.airzip.filesecure.azs\t\tazs\napplication/vnd.americandynamics.acc\t\tacc\napplication/vnd.amiga.ami\t\t\tami\napplication/vnd.anser-web-certificate-issue-initiation\tcii\n# Not in IANA listing, but is on FTP site?\napplication/vnd.anser-web-funds-transfer-initiation\tfti\n# atx: audio/ATRAC-X\napplication/vnd.antix.game-component\napplication/vnd.apple.installer+xml\t\tdist distz pkg mpkg\n# m3u: application/x-mpegurl for now\napplication/vnd.apple.mpegurl\t\t\tm3u8\napplication/vnd.aristanetworks.swi\t\tswi\napplication/vnd.audiograph\t\t\taep\napplication/vnd.autopackage\t\t\tpackage\napplication/vnd.avistar+xml\napplication/vnd.blueice.multipass\t\tmpm\napplication/vnd.bluetooth.ep.oob\t\tep\napplication/vnd.bmi\t\t\t\tbmi\napplication/vnd.businessobjects\t\t\trep\napplication/vnd.cab-jscript\napplication/vnd.canon-cpdl\napplication/vnd.canon-lips\napplication/vnd.cendio.thinlinc.clientconf\ttlclient\napplication/vnd.chemdraw+xml\t\t\tcdxml\napplication/vnd.chipnuts.karaoke-mmd\t\tmmd\napplication/vnd.cinderella\t\t\tcdy\napplication/vnd.cirpack.isdn-ext\napplication/vnd.claymore\t\t\tcla\napplication/vnd.cloanto.rp9\t\t\trp9\napplication/vnd.clonk.c4group\t\t\tc4g c4d c4f c4p c4u\n# icc: application/vnd.iccprofile\napplication/vnd.commerce-battelle\tica icf icd ic0 ic1 ic2 ic3 ic4 ic5 ic6 ic7 ic8\napplication/vnd.commonspace\t\t\tcsp cst\napplication/vnd.contact.cmsg\t\t\tcdbcmsg\napplication/vnd.cosmocaller\t\t\tcmc\napplication/vnd.crick.clicker\t\t\tclkx\napplication/vnd.crick.clicker.keyboard\t\tclkk\napplication/vnd.crick.clicker.palette\t\tclkp\napplication/vnd.crick.clicker.template\t\tclkt\napplication/vnd.crick.clicker.wordbank\t\tclkw\napplication/vnd.criticaltools.wbs+xml\t\twbs\napplication/vnd.ctc-posml\t\t\tpml\napplication/vnd.ctct.ws+xml\napplication/vnd.cups-pdf\napplication/vnd.cups-postscript\napplication/vnd.cups-ppd\t\t\tppd\napplication/vnd.cups-raster\napplication/vnd.cups-raw\napplication/vnd.curl\t\t\t\tcurl\napplication/vnd.cyba", 4096) = 4096
  153. read(53, "nk\napplication/vnd.data-vision.rdz\t\t\trdz\napplication/vnd.denovo.fcselayout-link\t\tfe_launch\napplication/vnd.dir-bi.plate-dl-nosuffix\napplication/vnd.dna\t\t\t\tdna\napplication/vnd.dolby.mobile.1\napplication/vnd.dolby.mobile.2\napplication/vnd.dpgraph\t\t\t\tdpg mwc dpgraph\napplication/vnd.dreamfactory\t\t\tdfac\napplication/vnd.dvb.esgcontainer\napplication/vnd.dvb.ipdcdftnotifaccess\napplication/vnd.dvb.ipdcesgaccess\napplication/vnd.dvb.ipdcroaming\napplication/vnd.dvb.iptv.alfec-base\napplication/vnd.dvb.iptv.alfec-enhancement\napplication/vnd.dvb.notif-aggregate-root+xml\napplication/vnd.dvb.notif-container+xml\napplication/vnd.dvb.notif-generic+xml\napplication/vnd.dvb.notif-ia-msglist+xml\napplication/vnd.dvb.notif-ia-registration-request+xml\napplication/vnd.dvb.notif-ia-registration-response+xml\napplication/vnd.dvb.notif-init+xml\n# dxr: application/x-director\napplication/vnd.dxr\napplication/vnd.dynageo\t\t\t\tgeo\napplication/vnd.ecdis-update\napplication/vnd.ecowin.chart\t\t\tmag\napplication/vnd.ecowin.filerequest\napplication/vnd.ecowin.fileupdate\napplication/vnd.ecowin.series\napplication/vnd.ecowin.seriesrequest\napplication/vnd.ecowin.seriesupdate\napplication/vnd.enliven\t\t\t\tnml\napplication/vnd.epson.esf\t\t\tesf\napplication/vnd.epson.msf\t\t\tmsf\napplication/vnd.epson.quickanime\t\tqam\napplication/vnd.epson.salt\t\t\tslt\napplication/vnd.epson.ssf\t\t\tssf\napplication/vnd.ericsson.quickcall\t\tqcall qca\napplication/vnd.eszigno3+xml\t\t\tes3 et3\napplication/vnd.etsi.aoc+xml\napplication/vnd.etsi.cug+xml\napplication/vnd.etsi.iptvcommand+xml\napplication/vnd.etsi.iptvdiscovery+xml\napplication/vnd.etsi.iptvprofile+xml\napplication/vnd.etsi.iptvsad-bc+xml\napplication/vnd.etsi.iptvsad-cod+xml\napplication/vnd.etsi.iptvsad-npvr+xml\napplication/vnd.etsi.iptvueprofile+xml\napplication/vnd.etsi.mcid+xml\napplication/vnd.etsi.sci+xml\napplication/vnd.etsi.simservs+xml\napplication/vnd.etsi.tsl.der\napplication/vnd.etsi.tsl+xml\napplication/vnd.eudora.data\napplication/vnd.ezpix-album\t\t\tez2\napplication/vnd.ezpix-package\t\t\tez3\napplication/vnd.f-secure.mobile\napplication/vnd.fdf\t\t\t\tfdf\napplication/vnd.fdsn.mseed\t\t\tmsd mseed\napplication/vnd.fsdn.seed\t\t\tseed dataless\napplication/vnd.ffsns\n# all extensions: application/vnd.hbci\napplication/vnd.fints\napplication/vnd.FloGraphIt\t\t\tgph\napplication/vnd.fluxtime.clip\t\t\tftc\napplication/vnd.font-fontforge-sfd\t\tsfd\napplication/vnd.framemaker\t\t\tfm\napplication/vnd.frogans.fnc\t\t\tfnc\napplication/vnd.frogans.ltf\t\t\tltf\napplication/vnd.fsc.weblaunch\t\t\tfsc\napplication/vnd.fujitsu.oasys\t\t\toas\napplication/vnd.fujitsu.oasys2\t\t\toa2\napplication/vnd.fujitsu.oasys3\t\t\toa3\napplication/vnd.fujitsu.oasysgp\t\t\tfg5\napplication/vnd.fujitsu.oasysprs\t\tbh2\napplication/vnd.fujixerox.ART-EX\napplication/vnd.fujixerox.ART4\napplication/vnd.fujixerox.ddd\t\t\tddd\napplication/vnd.fujixerox.docuworks\t\txdw\napplication/vnd.fujixerox.docuworks.binder\txbd\napplication/vnd.fujixerox.HBPL\napplication/vnd.fut-misnet\napplication/vnd.fuzzysheet\t\t\tfzs\napplication/vnd.genomatix.tuxedo\t\ttxd\napplication/vnd.geogebra.file\t\t\tggb\napplication/vnd.geogebra.tool\t\t\tggt\napplication/vnd.geometry-explorer\t\tgex gre\napplication/vnd.geonext\t\t\t\tgxt\napplication/vnd.geoplan\t\t\t\tg2w\napplication/vnd.geospace\t\t\tg3w\napplication/vnd.globalplatform.card-content-mgt\napplication/vnd.globalplatform.card-content-mgt-response\n# application/vnd.gmx deprecated 2009-03-04\napplication/vnd.google-earth.kml+xml\t\tkml\napplication/vnd.google-earth.kmz\t\tkmz\napplication/vnd.grafeq\t\t\t\tgqf gqs\napplication/vnd.gridmp\napplication/vnd.groove-account\t\t\tgac\napplication/vnd.groove-help\t\t\tghf\napplication/vnd.groove-identity-message\t\tgim\napplication/vnd.groove-injector\t\t\tgrv\napplication/vnd.groove-tool-message\t\tgtm\napplication/vnd.groove-tool-template\t\ttpl\napplication/vnd.groove-vcard\t\t\tvcg\napplication/vnd.HandHeld-Entertainment+xml\tzmm\napplication/vnd.hbci\t\t\t\thbci hbc kom upa pkd bpd\n# rep: application/vnd.businessobjects\napplication/vnd.hcl-bireports\napplication/vnd.hhe.lesson-player\t\tles\napplication/vnd.hp-HPGL\t\t\t\thpgl\napplication/vnd.hp-hpid\t\t\t\thpi hpid\napplication/vnd.hp-hps\t\t\t\thps\napplication/vnd.hp-jlyt\t\t\t\tjlt\napplication/vnd.hp-PCL\t\t\t\tpcl\na", 4096) = 4096
  154. read(53, "pplication/vnd.hp-PCLXL\napplication/vnd.httphone\napplication/vnd.hydrostatix.sof-data\t\tsfd-hdstx\napplication/vnd.hzn-3d-crossword\t\tx3d\napplication/vnd.ibm.afplinedata\napplication/vnd.ibm.electronic-media\t\temm\napplication/vnd.ibm.MiniPay\t\t\tmpy\napplication/vnd.ibm.modcap\t\t\tlist3820 listafp afp pseg3820\napplication/vnd.ibm.rights-management\t\tirm\napplication/vnd.ibm.secure-container\t\tsc\napplication/vnd.iccprofile\t\t\ticc icm\napplication/vnd.igloader\t\t\tigl\napplication/vnd.immervision-ivp\t\t\tivp\napplication/vnd.immervision-ivu\t\t\tivu\napplication/vnd.informedcontrol.rms+xml\n# application/vnd.informix-visionary obsoleted by application/vnd.visionary\napplication/vnd.intercon.formnet\t\txpw xpx\napplication/vnd.intertrust.digibox\napplication/vnd.intertrust.nncp\napplication/vnd.intu.qbo\t\t\tqbo\napplication/vnd.intu.qfx\t\t\tqfx\napplication/vnd.iptc.g2.conceptitem+xml\napplication/vnd.iptc.g2.knowledgeitem+xml\napplication/vnd.iptc.g2.newsitem+xml\napplication/vnd.iptc.g2.packageitem+xml\napplication/vnd.ipunplugged.rcprofile\t\trcprofile\napplication/vnd.irepository.package+xml\t\tirp\napplication/vnd.is-xpr\t\t\t\txpr\napplication/vnd.jam\t\t\t\tjam\napplication/vnd.japannet-directory-service\napplication/vnd.japannet-jpnstore-wakeup\napplication/vnd.japannet-payment-wakeup\napplication/vnd.japannet-registration\napplication/vnd.japannet-registration-wakeup\napplication/vnd.japannet-setstore-wakeup\napplication/vnd.japannet-verification\napplication/vnd.japannet-verification-wakeup\napplication/vnd.jcp.javame.midlet-rms\t\trms\napplication/vnd.jisp\t\t\t\tjisp\napplication/vnd.joost.joda-archive\t\tjoda\napplication/vnd.kahootz\t\t\t\tktz ktr\napplication/vnd.kde.karbon\t\t\tkarbon\napplication/vnd.kde.kchart\t\t\tchrt\napplication/vnd.kde.kformula\t\t\tkfo\napplication/vnd.kde.kivio\t\t\tflw\napplication/vnd.kde.kontour\t\t\tkon\napplication/vnd.kde.kpresenter\t\t\tkpr kpt\napplication/vnd.kde.kspread\t\t\tksp\napplication/vnd.kde.kword\t\t\tkwd kwt\napplication/vnd.kenameaapp\t\t\thtke\napplication/vnd.kidspiration\t\t\tkia\napplication/vnd.Kinar\t\t\t\tkne knp sdf\napplication/vnd.koan\t\t\t\tskp skd skm skt\napplication/vnd.kodak-descriptor\t\tsse\napplication/vnd.liberty-request+xml\napplication/vnd.llamagraphics.life-balance.desktop\tlbd\napplication/vnd.llamagraphics.life-balance.exchange+xml\tlbe\napplication/vnd.lotus-1-2-3\t\t\t123 wk4 wk3 wk1\napplication/vnd.lotus-approach\t\t\tapr vew\napplication/vnd.lotus-freelance\t\t\tprz pre\napplication/vnd.lotus-notes\t\t\tnsf ntf ndl ns4 ns3 ns2 nsh nsg\napplication/vnd.lotus-organizer\t\t\tor3 or2 org\napplication/vnd.lotus-screencam\t\t\tscm\napplication/vnd.lotus-wordpro\t\t\tlwp sam\napplication/vnd.macports.portpkg\t\tportpkg\napplication/vnd.marlin.drm.actiontoken+xml\napplication/vnd.marlin.drm.conftoken+xml\napplication/vnd.marlin.drm.license+xml\napplication/vnd.marlin.drm.mdcf\t\t\tmdc\napplication/vnd.mcd\t\t\t\tmcd\napplication/vnd.medcalcdata\t\t\tmc1\napplication/vnd.mediastation.cdkey\t\tcdkey\napplication/vnd.meridian-slingshot\napplication/vnd.MFER\t\t\t\tmwf\napplication/vnd.mfmp\t\t\t\tmfm\napplication/vnd.micrografx.flo\t\t\tflo\napplication/vnd.micrografx.igx\t\t\tigx\napplication/vnd.mif\t\t\t\tmif\napplication/vnd.minisoft-hp3000-save\napplication/vnd.mitsubishi.misty-guard.trustweb\napplication/vnd.Mobius.DAF\t\t\tdaf\napplication/vnd.Mobius.DIS\t\t\tdis\napplication/vnd.Mobius.MBK\t\t\tmbk\napplication/vnd.Mobius.MQY\t\t\tmqy\napplication/vnd.Mobius.MSL\t\t\tmsl\napplication/vnd.Mobius.PLC\t\t\tplc\napplication/vnd.Mobius.TXF\t\t\ttxf\napplication/vnd.mophun.application\t\tmpn\napplication/vnd.mophun.certificate\t\tmpc\napplication/vnd.motorola.flexsuite\napplication/vnd.motorola.flexsuite.adsi\napplication/vnd.motorola.flexsuite.fis\napplication/vnd.motorola.flexsuite.gotap\napplication/vnd.motorola.flexsuite.kmr\napplication/vnd.motorola.flexsuite.ttc\napplication/vnd.motorola.flexsuite.wem\napplication/vnd.motorola.iprm\napplication/vnd.mozilla.xul+xml\t\t\txul\napplication/vnd.ms-artgalry\t\t\tcil\napplication/vnd.ms-asf\t\t\t\tasf\napplication/vnd.ms-cab-compressed\t\tcab\napplication/vnd.ms-excel\t\t\txls\napplication/vnd.ms-fontobject\t\t\teot\napplication/vnd.ms-htmlhelp\t\t\tchm\napplication/vnd.ms-ims\t\t\t\tims\napplication/vnd.ms-lrm\t\t\t\tlrm\napplication/vnd.ms-playready.initiator+xml\napplication/vnd.m", 4096) = 4096
  155. read(53, "s-powerpoint\t\t\tppt\napplication/vnd.ms-project\t\t\tmpp\napplication/vnd.ms-tnef\t\t\t\ttnef tnf\napplication/vnd.ms-wmdrm.lic-chlg-req\napplication/vnd.ms-wmdrm.lic-resp\napplication/vnd.ms-wmdrm.meter-chlg-req\napplication/vnd.ms-wmdrm.meter-resp\napplication/vnd.ms-works\t\t\twcm wdb wks wps\napplication/vnd.ms-wpl\t\t\t\twpl\napplication/vnd.ms-xpsdocument\t\t\txps\napplication/vnd.mseq\t\t\t\tmseq\napplication/vnd.msign\napplication/vnd.multiad.creator\t\t\tcrtr\napplication/vnd.multiad.creator.cif\t\tcif\napplication/vnd.music-niff\napplication/vnd.musician\t\t\tmus\napplication/vnd.muvee.style\t\t\tmsty\napplication/vnd.ncd.control\napplication/vnd.ncd.reference\napplication/vnd.nervana\t\t\t\tentity request bkm kcm\napplication/vnd.netfpx\napplication/vnd.neurolanguage.nlu\t\tnlu\napplication/vnd.noblenet-directory\t\tnnd\napplication/vnd.noblenet-sealer\t\t\tnns\napplication/vnd.noblenet-web\t\t\tnnw\napplication/vnd.nokia.catalogs\napplication/vnd.nokia.conml+wbxml\napplication/vnd.nokia.conml+xml\napplication/vnd.nokia.iptv.config+xml\napplication/vnd.nokia.iSDS-radio-presets\napplication/vnd.nokia.landmark+wbxml\napplication/vnd.nokia.landmark+xml\napplication/vnd.nokia.landmarkcollection+xml\napplication/vnd.nokia.n-gage.ac+xml\t\tac\napplication/vnd.nokia.n-gage.data\t\tngdat\napplication/vnd.nokia.n-gage.symbian.install\tn-gage\napplication/vnd.nokia.ncd\napplication/vnd.nokia.pcd+wbxml\napplication/vnd.nokia.pcd+xml\napplication/vnd.nokia.radio-preset\t\trpst\napplication/vnd.nokia.radio-presets\t\trpss\napplication/vnd.novadigm.EDM\t\t\tedm\napplication/vnd.novadigm.EDX\t\t\tedx\napplication/vnd.novadigm.EXT\t\t\text\napplication/vnd.oasis.opendocument.chart\t\t\todc\napplication/vnd.oasis.opendocument.chart-template\t\totc\napplication/vnd.oasis.opendocument.database\t\t\todb\napplication/vnd.oasis.opendocument.formula\t\t\todf\napplication/vnd.oasis.opendocument.formula-template\t\totf\napplication/vnd.oasis.opendocument.graphics\t\t\todg\napplication/vnd.oasis.opendocument.graphics-template\t\totg\napplication/vnd.oasis.opendocument.image\t\t\todi\napplication/vnd.oasis.opendocument.image-template\t\toti\napplication/vnd.oasis.opendocument.presentation\t\t\todp\napplication/vnd.oasis.opendocument.presentation-template\totp\napplication/vnd.oasis.opendocument.spreadsheet\t\t\tods\napplication/vnd.oasis.opendocument.spreadsheet-template\t\tots\napplication/vnd.oasis.opendocument.text\t\t\t\todt\napplication/vnd.oasis.opendocument.text-master\t\t\todm\napplication/vnd.oasis.opendocument.text-template\t\tott\napplication/vnd.oasis.opendocument.text-web\t\t\toth\napplication/vnd.obn\napplication/vnd.olpc-sugar\t\t\txo\napplication/vnd.oma.bcast.associated-procedure-parameter+xml\napplication/vnd.oma.bcast.drm-trigger+xml\napplication/vnd.oma.bcast.imd+xml\napplication/vnd.oma.bcast.ltkm\napplication/vnd.oma.bcast.notification+xml\napplication/vnd.oma.bcast.provisioningtrigger\napplication/vnd.oma.bcast.sgboot\napplication/vnd.oma.bcast.sgdd+xml\napplication/vnd.oma.bcast.sgdu\napplication/vnd.oma.bcast.simple-symbol-container\napplication/vnd.oma.bcast.smartcard-trigger+xml\napplication/vnd.oma.bcast.sprov+xml\napplication/vnd.oma.bcast.stkm\napplication/vnd.oma.dcd\napplication/vnd.oma.dcdc\napplication/vnd.oma.dd2+xml\t\t\tdd2\napplication/vnd.oma.drm.risd+xml\napplication/vnd.oma.group-usage-list+xml\napplication/vnd.oma.poc.detailed-progress-report+xml\napplication/vnd.oma.poc.final-report+xml\napplication/vnd.oma.poc.groups+xml\napplication/vnd.oma.poc.invocation-descriptor+xml\napplication/vnd.oma.poc.optimized-progress-report+xml\napplication/vnd.oma.push\napplication/vnd.oma.xcap-directory+xml\napplication/vnd.oma-scws-config\napplication/vnd.oma-scws-http-request\napplication/vnd.oma-scws-http-response\napplication/vnd.omads-email+xml\napplication/vnd.omads-file+xml\napplication/vnd.omads-folder+xml\napplication/vnd.omaloc-supl-init\napplication/vnd.openofficeorg.extension\t\toxt\napplication/vnd.openxmlformats-officedocument.custom-properties+xml\napplication/vnd.openxmlformats-officedocument.customXmlProperties+xml\napplication/vnd.openxmlformats-officedocument.drawing+xml\napplication/vnd.openxmlformats-officedocument.drawingml.chart+xml\napplication/vnd.openxmlformats-officedocument.drawingml.chartshapes+", 4096) = 4096
  156. read(53, "xml\napplication/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml\napplication/vnd.openxmlformats-officedocument.drawingml.diagramData+xml\napplication/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml\napplication/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml\napplication/vnd.openxmlformats-officedocument.extended-properties+xml\napplication/vnd.openxmlformats-officedocument.presentationml.commentAuthors+xml\napplication/vnd.openxmlformats-officedocument.presentationml.comments+xml\napplication/vnd.openxmlformats-officedocument.presentationml.handoutMaster+xml\napplication/vnd.openxmlformats-officedocument.presentationml.notesMaster+xml\napplication/vnd.openxmlformats-officedocument.presentationml.notesSlide+xml\napplication/vnd.openxmlformats-officedocument.presentationml.presProps+xml\napplication/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml\napplication/vnd.openxmlformats-officedocument.presentationml.slide+xml\napplication/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml\napplication/vnd.openxmlformats-officedocument.presentationml.slideMaster+xml\napplication/vnd.openxmlformats-officedocument.presentationml.slideUpdateInfo+xml\napplication/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml\napplication/vnd.openxmlformats-officedocument.presentationml.tableStyles+xml\napplication/vnd.openxmlformats-officedocument.presentationml.tags+xml\napplication/vnd.openxmlformats-officedocument.presentationml.template.main+xml\napplication/vnd.openxmlformats-officedocument.presentationml.viewProps+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml\napplication/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\napplication/vnd.openxmlformats-officedocument.theme+xml\napplication/vnd.openxmlformats-officedocument.themeOverride+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.sett", 4096) = 4096
  157. read(53, "ings+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml\napplication/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml\napplication/vnd.openxmlformats-package.core-properties+xml\napplication/vnd.openxmlformats-package.digital-signature-xmlsignature+xml\napplication/vnd.osa.netdeploy\t\t\tndc\n# jar: application/x-java-archive\napplication/vnd.osgi.bundle\napplication/vnd.osgi.dp\t\t\t\tdp\napplication/vnd.otps.ct-kip+xml\napplication/vnd.palm\t\t\t\tprc pdb pqa oprc\napplication/vnd.paos+xml\napplication/vnd.pg.format\t\t    \tstr\napplication/vnd.pg.osasli\t\t\tei6\napplication/vnd.piaccess.application-license\tpil\napplication/vnd.picsel\t\t\t\tefif\napplication/vnd.poc.group-advertisement+xml\napplication/vnd.pocketlearn\t\t\tplf\napplication/vnd.powerbuilder6\t\t\tpbd\napplication/vnd.powerbuilder6-s\napplication/vnd.powerbuilder7\napplication/vnd.powerbuilder7-s\napplication/vnd.powerbuilder75\napplication/vnd.powerbuilder75-s\napplication/vnd.preminet\t\t\tpreminet\napplication/vnd.previewsystems.box\t\tbox vbox\napplication/vnd.proteus.magazine\t\tmgz\napplication/vnd.publishare-delta-tree\t\tqps\n# pti: image/prs.pti\napplication/vnd.pvi.ptid1\t\t\tptid\napplication/vnd.pwg-multiplexed\napplication/vnd.pwg-xhtml-print+xml\napplication/vnd.qualcomm.brew-app-res\t\tbar\napplication/vnd.Quark.QuarkXPress\t\tqxd qxt qwd qwt qxl qxb\napplication/vnd.radisys.moml+xml\napplication/vnd.radisys.msml-audit-conf+xml\napplication/vnd.radisys.msml-audit-conn+xml\napplication/vnd.radisys.msml-audit-dialog+xml\napplication/vnd.radisys.msml-audit-stream+xml\napplication/vnd.radisys.msml-audit+xml\napplication/vnd.radisys.msml-conf+xml\napplication/vnd.radisys.msml-dialog-base+xml\napplication/vnd.radisys.msml-dialog-fax-detect+xml\napplication/vnd.radisys.msml-dialog-fax-sendrecv+xml\napplication/vnd.radisys.msml-dialog-group+xml\napplication/vnd.radisys.msml-dialog-speech+xml\napplication/vnd.radisys.msml-dialog-transform+xml\napplication/vnd.radisys.msml-dialog+xml\napplication/vnd.radisys.msml+xml\napplication/vnd.rapid\napplication/vnd.realvnc.bed\t\t\tbed\napplication/vnd.recordare.musicxml\t\tmxl\napplication/vnd.recordare.musicxml+xml\napplication/vnd.RenLearn.rlprint\napplication/vnd.route66.link66+xml\t\tlink66\napplication/vnd.ruckus.download\napplication/vnd.s3sms\napplication/vnd.sailingtracker.track\t\tst\napplication/vnd.sbm.cid\napplication/vnd.sbm.mid2\napplication/vnd.scribus\t\t\t\tscd sla slaz\napplication/vnd.sealed.3df\t\t\ts3df\napplication/vnd.sealed.csf\t\t\tscsf\napplication/vnd.sealed.doc\t\t\tsdoc sdo s1w\napplication/vnd.sealed.eml\t\t\tseml sem\napplication/vnd.sealed.mht\t\t\tsmht smh\napplication/vnd.sealed.net\n# spp: application/scvp-vp-response\napplication/vnd.sealed.ppt\t\t\tsppt s1p\napplication/vnd.sealed.tiff\t\t\tstif\napplication/vnd.sealed.xls\t\t\tsxls sxl s1e\n# stm: audio/x-stm\napplication/vnd.sealedmedia.softseal.html\tstml s1h\napplication/vnd.sealedmedia.softseal.pdf\tspdf spd s1a\napplication/vnd.seemail\t\t\t\tsee\napplication/vnd.sema\t\t\t\tsema\napplication/vnd.semd\t\t\t\tsemd\napplication/vnd.semf\t\t\t\tsemf\napplication/vnd.shana.informed.formdata\t\tifm\napplication/vnd.shana.informed.formtemplate\titp\napplication/vnd.shana.informed.interchange\tiif\napplication/vnd.shana.informed.package\t\tipk\napplication/vnd.SimTech-MindMapper\t\ttwd twds\napplication/vnd.smaf\t\t\t\tmmf\napplication/vnd.smart.teacher\t\t\tteacher\napplication/vnd.software602.filler.form+xml\tfo\napplication/vnd.software602.filler.form-xml-zip\tzfo\napplication/vnd.solent.sdkm+xml\t\t\tsdkm sdkd\napplication/vnd.spotfire.dxp\t\t\tdxp\napplication/vnd.spotfire.sfs\t\t\tsfs\napplication/vnd.sss-cod\napplication/vnd.sss-dtf\napplication/vnd.sss-ntf\napplication/vnd.street-stream\napplication/vnd.sun.wadl+xml\t\t\twadl\napplication/vnd.sus-calendar\t\t\tsus susp\napplication/vnd.svd\napplication/vnd.swiftview-ics\napplication/vnd.syncml.dm.notification\napplication/vnd.syncml.ds.notification\napplication/vnd.syncml.dm+wbxml\t\t\tbdm\napplication/vnd.syncml.dm+xml\t\t\txdm\napplication/vnd.syncml+xml\t\t\txsm\napplication/vnd.tao.intent-module-archive\ttao\napplication/vnd.tmobile-livetv\t\t\ttmo\napplication/vnd.trid.tpt\t\t", 4096) = 4096
  158. brk(0xb7e40000)                         = 0xb7e40000
  159. read(53, "\ttpt\napplication/vnd.triscape.mxs\t\t\tmxs\napplication/vnd.trueapp\t\t\t\ttra\napplication/vnd.truedoc\napplication/vnd.ufdl\t\t\t\tufdl ufd frm\napplication/vnd.uiq.theme\t\t\tutz\napplication/vnd.umajin\t\t\t\tumj\napplication/vnd.unity\t\t\t\tunityweb\napplication/vnd.uoml+xml\t\t\tuoml uo\napplication/vnd.uplanet.alert\napplication/vnd.uplanet.alert-wbxml\napplication/vnd.uplanet.bearer-choice\napplication/vnd.uplanet.bearer-choice-wbxml\napplication/vnd.uplanet.cacheop\napplication/vnd.uplanet.cacheop-wbxml\napplication/vnd.uplanet.channel\napplication/vnd.uplanet.channel-wbxml\napplication/vnd.uplanet.list\napplication/vnd.uplanet.list-wbxml\napplication/vnd.uplanet.listcmd\napplication/vnd.uplanet.listcmd-wbxml\napplication/vnd.uplanet.signal\napplication/vnd.vcx\t\t\t\tvcx\n# sxi: application/vnd.sun.xml.impress\napplication/vnd.vd-study\t\t\tmxi study-inter model-inter\n# mcd: application/vnd.mcd\napplication/vnd.vectorworks\t\t\tvwx\napplication/vnd.vidsoft.vidconference\t\tvsc\napplication/vnd.visio\t\t\t\tvsd vst vsw vss\napplication/vnd.visionary\t\t\tvis\n# vsc: application/vnd.vidsoft.vidconference\napplication/vnd.vividence.scriptfile\napplication/vnd.vsf\t\t\t\tvsf\napplication/vnd.wap.sic\t\t\t\tsic\napplication/vnd.wap.slc\t\t\t\tslc\napplication/vnd.wap.wbxml\t\t\twbxml\napplication/vnd.wap.wmlc\t\t\twmlc\napplication/vnd.wap.wmlscriptc\t\t\twmlsc\napplication/vnd.webturbo\t\t\twtb\napplication/vnd.wfa.wsc\t\t\t\twsc\napplication/vnd.wmc\t\t\t\twmc\napplication/vnd.wmf.bootstrap\n# nb: application/mathematica for now\napplication/vnd.wolfram.mathematica\napplication/vnd.wolfram.mathematica.package\tm\napplication/vnd.wolfram.player\t\t\tnbp\napplication/vnd.wordperfect\t\t\twpd\napplication/vnd.wqd\t\t\t\twqd\napplication/vnd.wrq-hp3000-labelled\napplication/vnd.wt.stf\t\t\t\tstf\napplication/vnd.wv.csp+xml\napplication/vnd.wv.csp+wbxml\t\t\twv\napplication/vnd.wv.ssp+xml\napplication/vnd.xara\t\t\t\txar\napplication/vnd.xfdl\t\t\t\txfdl xfd\napplication/vnd.xfdl.webform\napplication/vnd.xmi+xml\napplication/vnd.xmpie.cpkg\t\t\tcpkg\napplication/vnd.xmpie.dpkg\t\t\tdpkg\n# dpkg: application/vnd.xmpie.dpkg\napplication/vnd.xmpie.plan\napplication/vnd.xmpie.ppkg\t\t\tppkg\napplication/vnd.xmpie.xlim\t\t\txlim\napplication/vnd.yamaha.hv-dic\t\t\thvd\napplication/vnd.yamaha.hv-script\t\thvs\napplication/vnd.yamaha.hv-voice\t\t\thvp\napplication/vnd.yamaha.openscoreformat\t\tosf\napplication/vnd.yamaha.openscoreformat.osfpvg+xml\napplication/vnd.yamaha.smaf-audio\t\tsaf\napplication/vnd.yamaha.smaf-phrase\t\tspf\napplication/vnd.yellowriver-custom-menu\t\tcmp\napplication/vnd.zul\t\t\t\tzir zirz\napplication/vnd.zzazz.deck+xml\t\t\tzaz\napplication/voicexml+xml\t\t\tvxml\napplication/watcherinfo+xml\t\t\twif\napplication/whoispp-query\napplication/whoispp-response\napplication/wita\napplication/wordperfect5.1\napplication/wsdl+xml\t\t\t\twsdl\napplication/wspolicy+xml\t\t\twspolicy\napplication/x400-bp\napplication/xcap-att+xml\t\t\txav\napplication/xcap-caps+xml\t\t\txca\napplication/xcap-el+xml\t\t\t\txel\napplication/xcap-error+xml\t\t\txer\napplication/xcap-ns+xml\t\t\t\txns\napplication/xcon-conference-info-diff+xml\napplication/xcon-conference-info+xml\napplication/xenc+xml\napplication/xhtml+xml\t\t\t\txhtml xhtm xht\n# application/xhtml-voice+xml obsoleted by application/xv+xml\n# xml: text/xml\napplication/xml\n# mod: audio/x-mod\napplication/xml-dtd\t\t\t\tdtd\n# ent: text/xml-external-parsed-entity\napplication/xml-external-parsed-entity\napplication/xmpp+xml\napplication/xop+xml\t\t\t\txop\napplication/xslt+xml\t\t\t\txsl xslt\napplication/xv+xml\t\t\t\tmxml xhvml xvml xvm\napplication/zip\t\t\t\t\tzip\naudio/32kadpcm\t\t\t\t\t726\n# 3gp, 3gpp: video/3gpp\naudio/3gpp\n# 3g2, 3gpp2: video/3gpp2\naudio/3gpp2\naudio/ac3\t\t\t\t\tac3\naudio/AMR\t\t\t\t\tamr\naudio/AMR-WB\t\t\t\t\tawb\naudio/amr-wb+\naudio/asc\n# aa3, omg: audio/ATRAC3\naudio/ATRAC-ADVANCED-LOSSLESS\t\t\taal\n# aa3, omg: audio/ATRAC3\naudio/ATRAC-X\t\t\t\t\tatx\naudio/ATRAC3\t\t\t\t\tat3 aa3 omg\naudio/basic\t\t\t\t\tau snd\naudio/BV16\naudio/BV32\naudio/clearmode\naudio/CN\naudio/DAT12\naudio/dls\t\t\t\t\tdls\naudio/dsr-es201108\naudio/dsr-es202050\naudio/dsr-es202211\naudio/dsr-es202212\naudio/DVI4\naudio/eac3\naudio/EVRC\t\t\t\t\tevc\n# qcp: audio/qcelp\naudio/EVRC-QCP\naudio/EVRC0\naudio/EVRC1\naudio/EVRCB\t\t\t\t\tevb\naudio/EVRCB0\naudio/EVRCWB\t\t\t\t\tevw\naudio/EVRCWB0\naudio/EVRCWB1\naudio/G719\naudio/G72", 4096) = 4096
  160. read(53, "2\naudio/G7221\naudio/G723\naudio/G726-16\naudio/G726-24\naudio/G726-32\naudio/G726-40\naudio/G728\naudio/G729\naudio/G7291\naudio/G729D\naudio/G729E\naudio/GSM\naudio/GSM-EFR\naudio/iLBC\t\t\t\t\tlbc\n# wav: audio/wav\naudio/L16\t\t\t\t\tl16\naudio/L20\naudio/L24\naudio/L8\naudio/LPC\naudio/mobile-xmf\t\t\t\tmxmf\n# mp4, mpg4: video/mp4, see RFC 4337\naudio/mp4\naudio/MP4A-LATM\naudio/MPA\naudio/mpa-robust\naudio/mpeg\t\t\t\t\tmpga mp1 mp2 mp3\naudio/mpeg4-generic\naudio/ogg\t\t\t\t\toga ogg spx\naudio/parityfec\naudio/PCMA\naudio/PCMA-WB\naudio/PCMU\naudio/PCMU-WB\naudio/prs.sid\t\t\t\t\tsid psid\naudio/qcelp\t\t\t\t\tqcp\naudio/RED\naudio/rtp-enc-aescm128\naudio/rtp-midi\naudio/rtx\naudio/SMV\t\t\t\t\tsmv\n# qcp: audio/qcelp, see RFC 3625\naudio/SMV-QCP\naudio/SMV0\n# mid: audio/midi\naudio/sp-midi\naudio/speex\naudio/t140c\naudio/t38\naudio/telephone-event\naudio/tone\naudio/UEMCLIP\naudio/ulpfec\naudio/VDVI\naudio/VMR-WB\naudio/vnd.3gpp.iufp\naudio/vnd.4SB\naudio/vnd.audikoz\t\t\t\tkoz\naudio/vnd.CELP\naudio/vnd.cisco.nse\naudio/vnd.cmles.radio-events\naudio/vnd.cns.anp1\naudio/vnd.cns.inf1\naudio/vnd.digital-winds\t\t\t\teol\naudio/vnd.dlna.adts\naudio/vnd.dolby.heaac.1\naudio/vnd.dolby.heaac.2\naudio/vnd.dolby.mlp\t\t\t\tmlp\naudio/vnd.dolby.mps\naudio/vnd.dolby.pl2\naudio/vnd.dolby.pl2x\naudio/vnd.dolby.pl2z\naudio/vnd.dolby.pulse.1\naudio/vnd.dra\n# wav: audio/wav, cpt: application/mac-compactpro\naudio/vnd.dts\t\t\t\t\tdts\naudio/vnd.dts.hd\t\t\t\tdtshd\naudio/vnd.everad.plj\t\t\t\tplj\n# rm: audio/x-pn-realaudio\naudio/vnd.hns.audio\naudio/vnd.lucent.voice\t\t\t\tlvp\naudio/vnd.ms-playready.media.pya\t\tpya\n# mxmf: audio/mobile-xmf\naudio/vnd.nokia.mobile-xmf\naudio/vnd.nortel.vbk\t\t\t\tvbk\naudio/vnd.nuera.ecelp4800\t\t\tecelp4800\naudio/vnd.nuera.ecelp7470\t\t\tecelp7470\naudio/vnd.nuera.ecelp9600\t\t\tecelp9600\naudio/vnd.octel.sbc\n# audio/vnd.qcelp deprecated in favour of audio/qcelp\naudio/vnd.rhetorex.32kadpcm\naudio/vnd.sealedmedia.softseal.mpeg\t\tsmp3 smp s1m\naudio/vnd.vmx.cvsd\naudio/vorbis\naudio/vorbis-config\nimage/cgm\nimage/fits\t\t\t\t\tfits fit fts\nimage/g3fax\nimage/gif\t\t\t\t\tgif\nimage/ief\t\t\t\t\tief\nimage/jp2\t\t\t\t\tjp2 jpg2\nimage/jpeg\t\t\t\t\tjpeg jpg jpe jfif\nimage/jpm\t\t\t\t\tjpm jpgm\nimage/jpx\t\t\t\t\tjpx jpf\nimage/naplps\nimage/png\t\t\t\t\tpng\nimage/prs.btif\t\t\t\t\tbtif btf\nimage/prs.pti\t\t\t\t\tpti\nimage/t38\t\t\t\t\tt38\nimage/tiff\t\t\t\t\ttiff tif\nimage/tiff-fx\t\t\t\t\ttfx\nimage/vnd.adobe.photoshop\t\t\tpsd\nimage/vnd.cns.inf2\nimage/vnd.djvu\t\t\t\t\tdjvu djv\nimage/vnd.dwg\nimage/vnd.dxf\t\t\t\t\tdxf\nimage/vnd.fastbidsheet\t\t\t\tfbs\nimage/vnd.fpx\t\t\t\t\tfpx\nimage/vnd.fst\t\t\t\t\tfst\nimage/vnd.fujixerox.edmics-mmr\t\t\tmmr\nimage/vnd.fujixerox.edmics-rlc\t\t\trlc\nimage/vnd.globalgraphics.pgb\t\t\tpgb\nimage/vnd.microsoft.icon\t\t\tico\nimage/vnd.mix\nimage/vnd.ms-modi\t\t\t\tmdi\nimage/vnd.net-fpx\nimage/vnd.radiance\t\t\t\thdr rgbe xyze\nimage/vnd.sealed.png\t\t\t\tspng spn s1n\nimage/vnd.sealedmedia.softseal.gif\t\tsgif sgi s1g\nimage/vnd.sealedmedia.softseal.jpg\t\tsjpg sjp s1j\nimage/vnd.svf\nimage/vnd.wap.wbmp\t\t\t\twbmp\nimage/vnd.xiff\t\t\t\t\txif\nmessage/CPIM\nmessage/delivery-status\nmessage/disposition-notification\nmessage/external-body\nmessage/global\t\t\t\t\tu8msg\nmessage/global-delivery-status\t\t\tu8dsn\nmessage/global-disposition-notification\t\tu8mdn\nmessage/global-headers\t\t\t\tu8hdr\nmessage/http\n# cl: application/simple-filter+xml\nmessage/imdn+xml\n# message/news obsoleted by message/rfc822\nmessage/partial\nmessage/rfc822\t\t\t\t\teml mail art\nmessage/s-http\nmessage/sip\nmessage/sipfrag\nmessage/tracking-status\nmessage/vnd.si.simp\nmodel/iges\t\t\t\t\tigs iges\nmodel/mesh\t\t\t\t\tmsh mesh silo\nmodel/vnd.dwf\t\t\t\t\tdwf\n# 3dml, 3dm: text/vnd.in3d.3dml\nmodel/vnd.flatland.3dml\nmodel/vnd.gdl\t\t\t\t\tgdl gsm win dor lmp rsm msm ism\nmodel/vnd.gs-gdl\nmodel/vnd.gtw\t\t\t\t\tgtw\nmodel/vnd.moml+xml\t\t\t\tmoml\nmodel/vnd.mts\t\t\t\t\tmts\nmodel/vnd.parasolid.transmit.binary\t\tx_b xmt_bin\nmodel/vnd.parasolid.transmit.text\t\tx_t xmt_txt\nmodel/vnd.vtu\t\t\t\t\tvtu\nmodel/vrml\t\t\t\t\twrl vrml\nmultipart/alternative\nmultipart/appledouble\nmultipart/byteranges\nmultipart/digest\nmultipart/encrypted\nmultipart/form-data\nmultipart/header-set\nmultipart/mixed\nmultipart/parallel\nmultipart/related\nmultipart/report\nmultipart/signed\nmultipart/voice-message\t\t\t\tvpm\ntext/calendar\t\t\t\t\tics ifb\ntext/css\t\t\t\t\tcss\ntext/csv\t\t\t\t\tcsv\ntext/directory\ntext/dns\t\t\t\t\tsoa zone\n# t", 4096) = 4096
  161. read(53, "ext/ecmascript obsoleted by application/ecmascript\ntext/enriched\ntext/html\t\t\t\t\thtml htm\n# obsoleted by application/javascript\ntext/javascript\t\t\t\t\tjs\ntext/parityfec\ntext/plain\t\t\t\tasc txt text pm el c h cc hh cxx hxx f90\ntext/prs.fallenstein.rst\t\t\trst\ntext/prs.lines.tag\t\t\t\ttag dsc\ntext/RED\ntext/rfc822-headers\ntext/richtext\t\t\t\t\trtx\n# rtf: application/rtf\ntext/rtf\ntext/rtp-enc-aescm128\ntext/rtx\ntext/sgml\t\t\t\t\tsgml sgm\ntext/t140\ntext/tab-separated-values\t\t\ttsv\ntext/troff\ntext/ulpfec\ntext/uri-list\t\t\t\t\turis uri\ntext/vnd.abc\t\t\t\t\tabc\n# curl: application/vnd.curl\ntext/vnd.curl\ntext/vnd.DMClientScript\t\t\t\tdms\ntext/vnd.esmertec.theme-descriptor\t\tjtd\ntext/vnd.fly\t\t\t\t\tfly\ntext/vnd.fmi.flexstor\t\t\t\tflx\ntext/vnd.graphviz\t\t\t\tgv dot\ntext/vnd.in3d.3dml\t\t\t\t3dml 3dm\ntext/vnd.in3d.spot\t\t\t\tspot spo\ntext/vnd.IPTC.NewsML\ntext/vnd.IPTC.NITF\ntext/vnd.latex-z\ntext/vnd.motorola.reflex\ntext/vnd.ms-mediapackage\t\t\tmpf\ntext/vnd.net2phone.commcenter.command\t\tccc\ntext/vnd.radisys.msml-basic-layout\ntext/vnd.si.uricatalogue\t\t\turic\ntext/vnd.sun.j2me.app-descriptor\t\tjad\ntext/vnd.trolltech.linguist\t\t\tts\ntext/vnd.wap.si\t\t\t\t\tsi\ntext/vnd.wap.sl\t\t\t\t\tsl\ntext/vnd.wap.wml\t\t\t\twml\ntext/vnd.wap.wmlscript\t\t\t\twmls\ntext/xml\t\t\t\t\txml\ntext/xml-external-parsed-entity\t\t\tent\nvideo/3gpp\t\t\t\t\t3gp 3gpp\nvideo/3gpp2\t\t\t\t\t3g2 3gpp2\nvideo/3gpp-tt\nvideo/BMPEG\nvideo/BT656\nvideo/CelB\nvideo/DV\nvideo/H261\nvideo/H263\nvideo/H263-1998\nvideo/H263-2000\nvideo/H264\nvideo/JPEG\nvideo/jpeg2000\nvideo/mj2\t\t\t\t\tmj2 mjp2\nvideo/MP1S\nvideo/MP2P\nvideo/MP2T\nvideo/mp4\t\t\t\t\tmp4 mpg4\nvideo/MP4V-ES\nvideo/mpeg\t\t\t\t\tmpeg mpg mpe\nvideo/mpeg4-generic\nvideo/MPV\nvideo/nv\nvideo/ogg\t\t\t\t\togv\nvideo/parityfec\nvideo/pointer\nvideo/quicktime\t\t\t\t\tqt mov\nvideo/raw\nvideo/rtp-enc-aescm128\nvideo/rtx\nvideo/SMPTE292M\nvideo/ulpfec\nvideo/vc1\nvideo/vnd.CCTV\nvideo/vnd.dlna.mpeg-tts\nvideo/vnd.fvt\t\t\t\t\tfvt\n# rm: audio/x-pn-realaudio\nvideo/vnd.hns.video\nvideo/vnd.iptvforum.1dparityfec-1010\nvideo/vnd.iptvforum.1dparityfec-2005\nvideo/vnd.iptvforum.2dparityfec-1010\nvideo/vnd.iptvforum.2dparityfec-2005\nvideo/vnd.iptvforum.ttsavc\nvideo/vnd.iptvforum.ttsmpeg2\nvideo/vnd.motorola.video\nvideo/vnd.motorola.videop\nvideo/vnd.mpegurl\t\t\t\tmxu m4u\nvideo/vnd.ms-playready.media.pyv\t\tpyv\nvideo/vnd.nokia.interleaved-multimedia\t\tnim\nvideo/vnd.nokia.videovoip\n# mp4: video/mp4\nvideo/vnd.objectvideo\nvideo/vnd.sealed.mpeg1\t\t\t\tsmpg s11\n# smpg: video/vnd.sealed.mpeg1\nvideo/vnd.sealed.mpeg4\t\t\t\ts14\nvideo/vnd.sealed.swf\t\t\t\tsswf ssw\nvideo/vnd.sealedmedia.softseal.mov\t\tsmov smo s1q\nvideo/vnd.vivo\n\n# Non-IANA types\n\napplication/mac-compactpro\t\t\tcpt\napplication/mathml+xml\t\t\t\tmml\napplication/metalink+xml\t\t\tmetalink\napplication/rss+xml\t\t\t\trss\napplication/vnd.ms-excel.addin.macroEnabled.12\t\txlam\napplication/vnd.ms-excel.sheet.binary.macroEnabled.12\txlsb\napplication/vnd.ms-excel.sheet.macroEnabled.12\t\txlsm\napplication/vnd.ms-excel.template.macroEnabled.12\txltm\napplication/vnd.ms-powerpoint.addin.macroEnabled.12\t\tppam\napplication/vnd.ms-powerpoint.presentation.macroEnabled.12\tpptm\napplication/vnd.ms-powerpoint.slide.macroEnabled.12\t\tsldm\napplication/vnd.ms-powerpoint.slideshow.macroEnabled.12\t\tppsm\napplication/vnd.ms-powerpoint.template.macroEnabled.12\t\tpotm\napplication/vnd.ms-word.document.macroEnabled.12\tdocm\napplication/vnd.ms-word.template.macroEnabled.12\tdotm\napplication/vnd.oma.dd+xml\t\t\tdd\napplication/vnd.oma.drm.content\t\t\tdcf\n# odf: application/vnd.oasis.opendocument.formula\napplication/vnd.oma.drm.dcf\t\t\to4a o4v\napplication/vnd.oma.drm.message\t\t\tdm\napplication/vnd.oma.drm.rights+wbxml\t\tdrc\napplication/vnd.oma.drm.rights+xml\t\tdr\napplication/vnd.openxmlformats-officedocument.presentationml.presentation pptx\napplication/vnd.openxmlformats-officedocument.presentationml.slide\tsldx\napplication/vnd.openxmlformats-officedocument.presentationml.slideshow\tppsx\napplication/vnd.openxmlformats-officedocument.presentationml.template\tpotx\napplication/vnd.openxmlformats-officedocument.spreadsheetml.sheet\txlsx\napplication/vnd.openxmlformats-officedocument.spreadsheetml.template\txltx\napplication/vnd.openxmlformats-officedocument.wordprocessingml.document\tdocx\napplication/vnd.openxmlformats-officed", 4096) = 4096
  162. read(53, "ocument.wordprocessingml.template\tdotx\napplication/vnd.sun.xml.calc\t\t\tsxc\napplication/vnd.sun.xml.calc.template\t\tstc\napplication/vnd.sun.xml.draw\t\t\tsxd\napplication/vnd.sun.xml.draw.template\t\tstd\napplication/vnd.sun.xml.impress\t\t\tsxi\napplication/vnd.sun.xml.impress.template\tsti\napplication/vnd.sun.xml.math\t\t\tsxm\napplication/vnd.sun.xml.writer\t\t\tsxw\napplication/vnd.sun.xml.writer.global\t\tsxg\napplication/vnd.sun.xml.writer.template\t\tstw\napplication/vnd.symbian.install\t\t\tsis\napplication/vnd.wap.mms-message\t\t\tmms\napplication/x-bcpio\t\t\t\tbcpio\napplication/x-bittorrent\t\t\ttorrent\napplication/x-bzip2\t\t\t\tbz2\napplication/x-cdlink\t\t\t\tvcd\napplication/x-chess-pgn\t\t\t\tpgn\napplication/x-cpio\t\t\t\tcpio\napplication/x-csh\t\t\t\tcsh\napplication/x-director\t\t\t\tdcr dir dxr\napplication/x-dvi\t\t\t\tdvi\napplication/x-futuresplash\t\t\tspl\napplication/x-gtar\t\t\t\tgtar\napplication/x-gzip\t\t\t\tgz tgz\napplication/x-hdf\t\t\t\thdf\napplication/x-java-archive\t\t\tjar\napplication/x-java-jnlp-file\t\t\tjnlp\napplication/x-java-pack200\t\t\tpack\napplication/x-killustrator\t\t\tkil\napplication/x-latex\t\t\t\tlatex\napplication/x-netcdf\t\t\t\tnc cdf\napplication/x-perl\t\t\t\tpl\napplication/x-rpm\t\t\t\trpm\napplication/x-sh\t\t\t\tsh\napplication/x-shar\t\t\t\tshar\napplication/x-shockwave-flash\t\t\tswf\napplication/x-stuffit\t\t\t\tsit\napplication/x-sv4cpio\t\t\t\tsv4cpio\napplication/x-sv4crc\t\t\t\tsv4crc\napplication/x-tar\t\t\t\ttar\napplication/x-tcl\t\t\t\ttcl\napplication/x-tex\t\t\t\ttex\napplication/x-texinfo\t\t\t\ttexinfo texi\napplication/x-troff\t\t\t\tt tr roff\napplication/x-troff-man\t\t\t\tman 1 2 3 4 5 6 7 8\napplication/x-troff-me\t\t\t\tme\napplication/x-troff-ms\t\t\t\tms\napplication/x-ustar\t\t\t\tustar\napplication/x-wais-source\t\t\tsrc\napplication/x-xz\t\t\t\txz\naudio/midi\t\t\t\t\tmid midi kar\naudio/x-aiff\t\t\t\t\taif aiff aifc\naudio/x-mod\t\t\t\t\tmod ult uni m15 mtm 669 med\naudio/x-mpegurl\t\t\t\t\tm3u\naudio/x-ms-wax\t\t\t\t\twax\naudio/x-ms-wma\t\t\t\t\twma\naudio/x-pn-realaudio\t\t\t\tram rm\naudio/x-realaudio\t\t\t\tra\naudio/x-s3m\t\t\t\t\ts3m\naudio/x-stm\t\t\t\t\tstm\naudio/x-wav\t\t\t\t\twav\nchemical/x-xyz\t\t\t\t\txyz\nimage/bmp\t\t\t\t\tbmp\nimage/svg+xml\t\t\t\t\tsvg svgz\nimage/x-cmu-raster\t\t\t\tras\nimage/x-portable-anymap\t\t\t\tpnm\nimage/x-portable-bitmap\t\t\t\tpbm\nimage/x-portable-graymap\t\t\tpgm\nimage/x-portable-pixmap\t\t\t\tppm\nimage/x-rgb\t\t\t\t\trgb\nimage/x-targa\t\t\t\t\ttga\nimage/x-xbitmap\t\t\t\t\txbm\nimage/x-xpixmap\t\t\t\t\txpm\nimage/x-xwindowdump\t\t\t\txwd\ntext/cache-manifest\t\t\t\tmanifest\ntext/x-pod\t\t\t\t\tpod\ntext/x-setext\t\t\t\t\tetx\ntext/x-vcard\t\t\t\t\tvcf\nvideo/webm\t\t\t\t\twebm\nvideo/x-flv\t\t\t\t\tflv\nvideo/x-ms-asf\t\t\t\t\tasx\nvideo/x-ms-wm\t\t\t\t\twm\nvideo/x-ms-wmv\t\t\t\t\twmv\nvideo/x-ms-wmx\t\t\t\t\twmx\nvideo/x-ms-wvx\t\t\t\t\twvx\nvideo/x-msvideo\t\t\t\t\tavi\nvideo/x-sgi-movie\t\t\t\tmovie\nx-conference/x-cooltalk\t\t\t\tice\nx-epoc/x-sisx-app\t\t\t\tsisx\n", 4096) = 2631
  163. read(53, "", 4096)                      = 0
  164. close(53)                               = 0
  165. gettimeofday({1470995397, 777192}, NULL) = 0
  166. write(2, "[Fri Aug 12 12:49:57 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)\n", 89) = 89
  167. open("/dev/urandom", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  168. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  169. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  170. read(53, "@\350\271\16\37N\2622A\273\10\22\230x\322&\354v\246\247\\\220\241o\377\341W\237\343^\233 B\322\226\261\231Abv}\243\276=,R\7S\327\2517\1\16Z\203<\315\230C\262\21\343\17\223+)F\311A)V\261\16\364|\3\177\332\5\10t4\331ku\34\315\352R!'\252\304\334'$\227M\201\33\23\375\3374F\271$\3140\272\275Zv\326\317\373\231\254\254\22\371\255~PT\334\246B\375\237\23\235\377\262r\236u\"\27\6w^\225\262\267B\367 \256\2322J\211\7\244\322\245\361\313\212+j\226\361\210\357aU\22\355\333}\207\263)w\346\240,\273a\301]\337?\361s\0074\241x\27\225jP+\t\216\263\360\213\354\204j\232\206@ET<\322\372w\356p$V\276a\220\257\30221W\214Wxf\215\257\276\330\317\355\250\323J\271\372\5\265\373\221=\214\24\237\266\243\356\323\342\340}I", 256) = 256
  171. close(53)                               = 0
  172. gettimeofday({1470995397, 777457}, NULL) = 0
  173. write(2, "[Fri Aug 12 12:49:57 2016] [info] Init: Seeding PRNG with 256 bytes of entropy\n", 79) = 79
  174. open("/dev/urandom", O_RDONLY|O_NOCTTY|O_NONBLOCK) = 53
  175. fstat64(53, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 9), ...}) = 0
  176. poll([{fd=53, events=POLLIN}], 1, 10)   = 1 ([{fd=53, revents=POLLIN}])
  177. read(53, "\322D\270MhN\362\334F\237\3154BQ\372\37a\312-\272\227\277\241\312\363\2404j\347\22@&\343\353l\354^el\352\330\274\233\366CP\356%", 48) = 48
  178. close(53)                               = 0
  179. getuid32()                              = 0
  180. time(NULL)                              = 1470995397
  181. stat64("/etc/pki/tls/certs/localhost.crt", {st_mode=S_IFREG|0600, st_size=1127, ...}) = 0
  182. open("/etc/pki/tls/certs/localhost.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  183. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  184. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  185. close(53)                               = 0
  186. open("/etc/pki/tls/certs/localhost.crt", O_RDONLY|O_LARGEFILE) = 53
  187. fstat64(53, {st_mode=S_IFREG|0600, st_size=1127, ...}) = 0
  188. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  189. read(53, "-----BEGIN CERTIFICATE-----\nMIIDEzCCAnygAwIBAgICPjwwDQYJKoZIhvcNAQEFBQAwgaUxCzAJBgNVBAYTAi0t\nMRIwEAYDVQQIDAlTb21lU3RhdGUxETAPBgNVBAcMCFNvbWVDaXR5MRkwFwYDVQQK\nDBBTb21lT3JnYW5pemF0aW9uMR8wHQYDVQQLDBZTb21lT3JnYW5pemF0aW9uYWxV\nbml0MRMwEQYDVQQDDApkb21haW4uY29tMR4wHAYJKoZIhvcNAQkBFg9yb290QGRv\nbWFpbi5jb20wHhcNMTExMDA2MTE0MDUxWhcNMTIxMDA1MTE0MDUxWjCBpTELMAkG\nA1UEBhMCLS0xEjAQBgNVBAgMCVNvbWVTdGF0ZTERMA8GA1UEBwwIU29tZUNpdHkx\nGTAXBgNVBAoMEFNvbWVPcmdhbml6YXRpb24xHzAdBgNVBAsMFlNvbWVPcmdhbml6\nYXRpb25hbFVuaXQxEzARBgNVBAMMCmRvbWFpbi5jb20xHjAcBgkqhkiG9w0BCQEW\nD3Jvb3RAZG9tYWluLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAsHT2\n/UaEVEb8j7YdhQDJAH3FqcgKuML7B/AUWZIiN8VJ09t8+9ZH6vTyVMqiAmurvQlW\nQBuSg5X7t2eFhn0vjk/HBPJrIE98mWo8YC5veeDIUxAgoYmjL6ch3tEDove3jjvA\ntOCWS+dCqCKmbETmhUUAnW2KDDOOJ8K1UthfCW8CAwEAAaNQME4wHQYDVR0OBBYE\nFMK651PGTlrbosfgbRIv35uR341UMB8GA1UdIwQYMBaAFMK651PGTlrbosfgbRIv\n35uR341UMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAf4ILKG0zBqMT\nhUr+mVyX2QYLXbSAnIof6aT+e7tUR0e13NfFw02dwLV425Jw4qPOlAM3izOE1dIb\nAvWLQ2vNk6WE34sOhx6YNiRBRsyJSUHUYsaMjh4jg2EK1iqrr1/aTNPgAtGQC6JO\novVsWXjEDeOJY0dHeQWa6b1qM7uM5ms=\n-----END CERTIFICATE-----\n", 1536) = 1127
  190. close(53)                               = 0
  191. munmap(0xb7703000, 4096)                = 0
  192. stat64("/etc/pki/tls/private/localhost.key", {st_mode=S_IFREG|0600, st_size=887, ...}) = 0
  193. open("/etc/pki/tls/private/localhost.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  194. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  195. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  196. close(53)                               = 0
  197. open("/etc/pki/tls/private/localhost.key", O_RDONLY|O_LARGEFILE) = 53
  198. fstat64(53, {st_mode=S_IFREG|0600, st_size=887, ...}) = 0
  199. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  200. read(53, "-----BEGIN RSA PRIVATE KEY-----\nMIICXQIBAAKBgQCwdPb9RoRURvyPth2FAMkAfcWpyAq4wvsH8BRZkiI3xUnT23z7\n1kfq9PJUyqICa6u9CVZAG5KDlfu3Z4WGfS+OT8cE8msgT3yZajxgLm954MhTECCh\niaMvpyHe0QOi97eOO8C04JZL50KoIqZsROaFRQCdbYoMM44nwrVS2F8JbwIDAQAB\nAoGBAIROPv8rB391dlt+7mVScGO46iNiRX/BWp3aCjga1SNB/xglw3HEekoWfTjM\ncmskNjHYNV5+Df4xz/n1We28IZHw4Hnsde7oNZaUeBblSi/eOBmnn7xIOxFXqhtD\nlIcgoeMbeVqPyIZNLuMP0NGtQ7b5WsJvl1zbiEO9eKguo36JAkEA3+7v/3IcGAI3\niqZWfArfSdQxZe0WiOB4RtIeB5k+SMuDXQaNdGy5hK3hVdZw86rrdUuq2iNT5m7o\nALQPDpVHHQJBAMm5nHw71ZV2wJNBT3lHSw+xrqrIZTTpx+x0pLaZZZbFDekePiba\nGOQT9cBjTKKglv9siJ5tEXdMm8yWyQpqkPsCQQCSVscoHB4X4nsBdKpX7ZL14GFX\nxpRPZsGzJmTRemelkrmJ9VpDlzm1Zxw2yCiQVEYDJSvF2gheMmQS8ZhVY2BRAkAH\n4sutR6GH4EaS+yCiOxlCGc4cOw1JzkHUipLN2J1SEY4DqP0BA9GpSOZ4iOk8Ck8c\n2R9WIilmooYMr3BYieX1AkB4WbvkcCYaapGXgu96y16rPsAR9HimSXhdev4qNB/l\nigaWi2Cfp0ECuzhmhg7fK607VakG4ZnfeCYjRXIZ7jpi\n-----END RSA PRIVATE KEY-----\n", 1024) = 887
  201. close(53)                               = 0
  202. munmap(0xb7703000, 4096)                = 0
  203. stat64("/var/www/httpd-cert/adriansolomon.eu.crt", {st_mode=S_IFREG|0644, st_size=1375, ...}) = 0
  204. open("/var/www/httpd-cert/adriansolomon.eu.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  205. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  206. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  207. close(53)                               = 0
  208. open("/var/www/httpd-cert/adriansolomon.eu.crt", O_RDONLY|O_LARGEFILE) = 53
  209. fstat64(53, {st_mode=S_IFREG|0644, st_size=1375, ...}) = 0
  210. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  211. read(53, "-----BEGIN CERTIFICATE-----\nMIIDyjCCArKgAwIBAgIJAP86dsAkqp/bMA0GCSqGSIb3DQEBBQUAMIGIMQswCQYD\nVQQGEwJYWDELMAkGA1UECBMCWFgxCzAJBgNVBAcTAlhYMQswCQYDVQQKEwJYWDEL\nMAkGA1UECxMCWFgxKjAoBgkqhkiG9w0BCQEWG2Fkcmlhbi5zb2xvbW9uLmV1QGdt\nYWlsLmNvbTEZMBcGA1UEAxMQYWRyaWFuc29sb21vbi5ldTAeFw0xNTEwMzEwNTU4\nMzJaFw0yNTEwMjgwNTU4MzJaMIGIMQswCQYDVQQGEwJYWDELMAkGA1UECBMCWFgx\nCzAJBgNVBAcTAlhYMQswCQYDVQQKEwJYWDELMAkGA1UECxMCWFgxKjAoBgkqhkiG\n9w0BCQEWG2Fkcmlhbi5zb2xvbW9uLmV1QGdtYWlsLmNvbTEZMBcGA1UEAxMQYWRy\naWFuc29sb21vbi5ldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAO5o\nFZUQZsHqpF1kPjDm3SDRAI5uPYyJ1RJnYkriElGyCNMN9M3SDHd4ZwTu/hdUJUOQ\nmldtbvKVaibcppWmwEh/JgW/sB3LrzfTiCvwCFm5RA9shpU+AMJWy+mdrRlgn3BQ\nMDZgEeD+cr7XeKpYxHWjQQ+Tc+OL7rB4HndpR8w5zxaCMufa4Cdtcp1tEh4eAclA\nc5wh15b1hASB6DvA+KdwkoeSNxMaXxe/Rrsj6jxaTAQc59ge0r1HJg66ySdHZTlk\nm4LIznTIVyajBE8eJ4FmfBr//HHZ5CWvICDs0bE6knp658Wfsd3bYLledOa/crdt\naKGIqgv58VOmmFuYoLsCAwEAAaM1MDMwMQYDVR0RBCowKIIQYWRyaWFuc29sb21v\nbi5ldYIUd3d3LmFkcmlhbnNvbG9tb24uZXUwDQYJKoZIhvcNAQEFBQADggEBAIzX\ndL5DDgpDJGF86+AJEZA3CIC/Vh4LD6Ro80aAOS2JiXOmxic+dxT9oeOiBCoIwwZ5\nlakGwR4ncMvG3AYN1+AtYg9/ABWscxzATARPPVrSsVCAvnHLs4ztfaltJCO0Xon9\nX4r1Z5tKVDmlSeWli5pkuP7SsRE3U6aoXoE94wOJzI3TTzG22YLaiRSrjs9autPA\n0Yqq2dZmBHvJNtDbKZNeQhMl/4n1jkFa/OzHZJHKHmnabJ2hrDieJJUzy7y7StHA\nNzdwkYxHrUKb2fQOf4VSJxxPjSzk2ShU2ya94yIA4WEC7O1jYG9ihtqh31AjmBjp\ntXpZPV8U5+2oO9gLIfs=\n-----END CERTIFICATE-----\n", 1536) = 1375
  212. close(53)                               = 0
  213. munmap(0xb7703000, 4096)                = 0
  214. stat64("/var/www/httpd-cert/adriansolomon.eu.key", {st_mode=S_IFREG|0400, st_size=1708, ...}) = 0
  215. open("/var/www/httpd-cert/adriansolomon.eu.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  216. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  217. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  218. close(53)                               = 0
  219. open("/var/www/httpd-cert/adriansolomon.eu.key", O_RDONLY|O_LARGEFILE) = 53
  220. fstat64(53, {st_mode=S_IFREG|0400, st_size=1708, ...}) = 0
  221. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  222. read(53, "-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCx4la42xsqvqyZ\nXFcO1NVeh3aN6nQa6YhwA8CToCyMFrmUIisMyldUAiNZg16QWNp8i4BzGh5ohZQA\nptZDASkivCdKdJA6ziggCKSm08rtxPcyl/UZspl7aMgcncBLz7+1WahaLjmQ5bxl\nFV3zgYnRHBVzbv8g7ivUSNgHM9b2Ymd0CfwfaiyW4xF281Gv9SlvE5JmwmbedEjE\nFu4zrqRQAG8zc3A5xV82t/EcI8oyNjlpEHtM2nIi/LFg45DZh3c4ImiLTWHs+YOQ\n27djAPTQzS6JXdwrtkgXPmoJA9Tb0xspYYGaxA/VlbHikkWtiO2Vd2CVEqts+YjH\n8y1MAdL5AgMBAAECggEBAJu6+o9Fiwgl+/cbZ0AdxlrGn1zo+BKjhwYB0vOrE7Tl\nJDzymNvOvRtX79iq8PvQPh8xBhg+soZxAzx60zO/7WJydLdzSt2gpHI+/t7qpkr4\n2C1b6YFA4auv9RlQZgw46a37uy6QL2eSKRgZ17GaI6yFOKZhc0xCFu73guDzWmtC\nD00tRQZtD+WFPj5jBsgfGcTsqnr3nWmjy32eGv6piKvvG/S85kQ7tdkEuWHt8Jhc\nh4vnZcTILJs5R/sRD/mqb5yyEHLdgOMqiKi1EEhJgQrfm/ASWzN3VieMEc0z8A1K\nC70qH9q8nXvrttD0X3ScJDnJN+v/a8lBx3vi2pZl6d0CgYEA3Qox0+H+u2WBUgUn\n5lQYD1Zqc8U93p/qCEhwLY9NLu1VLeNoIe0dfeSIZz4P/cPSDP7aDjfD5DTR8zFb\nqcEZ//QNI2T6RiH2snrwmVrwlEHxx+aL2XSdC86mOeqjzumTObdl5IQoAUdRcYAq\nbGSIeOa80OlmaqO7YMn8/OJtgmMCgYEAzgTKD6yYhyf2UgKBXo6b7YbMzvGJWW3e\n5J7AEicUexXqsvGi0nftWMH3alGySVOel90iA7XAYo4ALiDIwFvQPdmXzlkh2JuL\nMLKyTwxO5BnvaKd6LEYfHQvoVKEC0ETY6M5wHhYPBmR/hQ3aMP4GuJMhTTbol4ot\nGF0UEXNKZfMCgYAVTWI39VPDY6ju6qhJvlkDQWTI+31W8zpuyexlt6XMm/rVjVD/\n1AY/l8K9kHGiFzkrH3SMYjtyxtRlB6C5325OCIsrmhO0pplL4iVF4knFQAW5KjLY\nJjDsbmH+uupGiqQxr8cWGtZwKRtkQOHVyGqOnE4eJCBGrrjkPxMum/PJ2QKBgQCo\npFT/VaqZ4IWLBk/+JkDPw+u9bwyerwipHqZdda4XP46aoqBFJzSb1lOArZWC3rdQ\n2wxv+wSb6F+PYvjSNZYWOxtAJ8hD9reOyoiZmpqtr+lBQu8IdPIdJdUuCYszD1h7\n4hj3F9l+wx97vCYiup6n0pCNE2h8O/jEG9VEn5qELwKBgQDPm2xKXyUe73velrtW\n6t62BozjqryraQHYUgM0MWb1eBNdbsN1l2oCVgrGPa2SNOSCpswH4a+4nPyvNj2A\nUuhvervCZ0pGjOylN4f9GD9XaHcvLQlZKq5lk++yUdtpgfG8F+8MLW5kuv4+7M9H\n31+6WnZ0lhbw3bN/kqpZxVhvfw==\n-----END PRIVATE KEY-----\n", 2048) = 1708
  223. close(53)                               = 0
  224. munmap(0xb7703000, 4096)                = 0
  225. stat64("/var/www/httpd-cert/hubbit.ro.crt", {st_mode=S_IFREG|0644, st_size=1314, ...}) = 0
  226. open("/var/www/httpd-cert/hubbit.ro.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  227. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  228. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  229. close(53)                               = 0
  230. open("/var/www/httpd-cert/hubbit.ro.crt", O_RDONLY|O_LARGEFILE) = 53
  231. fstat64(53, {st_mode=S_IFREG|0644, st_size=1314, ...}) = 0
  232. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  233. read(53, "-----BEGIN CERTIFICATE-----\nMIIDnDCCAoSgAwIBAgIJAPHXC5sHPPf4MA0GCSqGSIb3DQEBBQUAMHkxCzAJBgNV\nBAYTAlhYMQswCQYDVQQIEwJYWDELMAkGA1UEBxMCWFgxCzAJBgNVBAoTAlhYMQsw\nCQYDVQQLEwJYWDEiMCAGCSqGSIb3DQEJARYTd2VibWFzdGVyQGh1YmJpdC5ybzES\nMBAGA1UEAxMJaHViYml0LnJvMB4XDTE2MDcwMTIxMjUwMFoXDTI2MDYyOTIxMjUw\nMFoweTELMAkGA1UEBhMCWFgxCzAJBgNVBAgTAlhYMQswCQYDVQQHEwJYWDELMAkG\nA1UEChMCWFgxCzAJBgNVBAsTAlhYMSIwIAYJKoZIhvcNAQkBFhN3ZWJtYXN0ZXJA\naHViYml0LnJvMRIwEAYDVQQDEwlodWJiaXQucm8wggEiMA0GCSqGSIb3DQEBAQUA\nA4IBDwAwggEKAoIBAQCnGWqC67ErRgSq8Mi/jdY34a315e1WwlMfTfGwBMbRIYSY\ngOVaXRE8WlVbQSClV2I8kXJ6hcndIIlUqMWnTxjCQqZEXcmk1ZFFYuUvac7tQVFK\nm9GGzuGa1KNAkRwluHe7f8xLBTJJ4siKCHdV4esjUMGbsKxlfNPMjWTSxMNfVhOo\nh8nvFlRTxD294oOPrMnIEheUlxL26SS1dD8HbZbvJrZnemI1vV4+57oTpEY4azaj\nEkvECD9JI/9tzUbpui54mE8sz5HdeyIGgAhv6mGPRp9w87S9juMjMFMMnwqDMDBu\nQUwQb6bKwXcnAA+VQ9d2uCEx6vob8m4ZlhinUBWrAgMBAAGjJzAlMCMGA1UdEQQc\nMBqCCWh1YmJpdC5yb4INd3d3Lmh1YmJpdC5ybzANBgkqhkiG9w0BAQUFAAOCAQEA\nY891+NnULTfIuaMPSEnJ+L8jlds9/1iPg/XCYD0NiTvJvSLASzJsQqO3sWjoE/CM\nsX9t6Pfua7EOxJTGL+BesF6abIUZrany+saMo3hw1Nj8gVM6asU+eBHbXReKbAZU\n4VwJ8PxA00lS+VbXnCoDJGyK4JqCkDQdKHRktBdHXxrqzGcmRTM7sKc3qctzw5i5\n+86UaLlPM1OzmxJTejh1PHZgrFJW8t2kYxDqjdcyw98byWgHHRBxZ2SbSK0y928z\n8BNIrDFzVa9cQrcpWmdGhamCfUIyLRg5TvPiGDZ9bjYh2UNt3iyDhLDoBc9ZZVSl\nRvz6Dwunm06Tmek9xrQ0Fg==\n-----END CERTIFICATE-----\n", 1536) = 1314
  234. close(53)                               = 0
  235. munmap(0xb7703000, 4096)                = 0
  236. stat64("/var/www/httpd-cert/hubbit.ro.key", {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  237. open("/var/www/httpd-cert/hubbit.ro.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  238. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  239. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  240. close(53)                               = 0
  241. open("/var/www/httpd-cert/hubbit.ro.key", O_RDONLY|O_LARGEFILE) = 53
  242. fstat64(53, {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  243. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  244. read(53, "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCnGWqC67ErRgSq\n8Mi/jdY34a315e1WwlMfTfGwBMbRIYSYgOVaXRE8WlVbQSClV2I8kXJ6hcndIIlU\nqMWnTxjCQqZEXcmk1ZFFYuUvac7tQVFKm9GGzuGa1KNAkRwluHe7f8xLBTJJ4siK\nCHdV4esjUMGbsKxlfNPMjWTSxMNfVhOoh8nvFlRTxD294oOPrMnIEheUlxL26SS1\ndD8HbZbvJrZnemI1vV4+57oTpEY4azajEkvECD9JI/9tzUbpui54mE8sz5HdeyIG\ngAhv6mGPRp9w87S9juMjMFMMnwqDMDBuQUwQb6bKwXcnAA+VQ9d2uCEx6vob8m4Z\nlhinUBWrAgMBAAECggEAfrJjsw64D8KQKXhWDf+iTE6eUxLaCO1gjxzPQxHsGYdb\nfTJGNGTae7NWgtF3ykXeY2Q4s7ObYkGYPwuUig4MDMbyQGYITSXtdvnMIk4MqpHa\n7EIG9TsJjhbqDTu5ZtReXFlC8iLnhWQhf595tDGO0wEZO04S+QRTpwYSS0kLhc2I\n6qWEb09F2sOMyWJslJQ5h5h23f/jE6zEzZPXsdDAqZr6P4znbAVbvPaEbR0D0+mt\nF8jWmiVJea0i00rT+aONNxXyVnf6X29BMAF79kV/AijNTYA3kJJ5cWSZjYQwClb+\nuLMURbh70c8C3UxOrCG+zodAeFUHzxy03b9d64g4mQKBgQDcLQ1HkqwryzrJ9+HF\ntLy+KNlaALQEIVsbFClS0JgCutWn1ciXo4yH5fzrsoti70Q/n49rwUIlhnqxcYIM\nmPo0dhGtZ20mqHEF5ulL+jkFi7kJ2eG+yrFcidMAf2OC7v3LpUSJr4geBzkxymod\nXQ4GZiZCB8c7T/DvX+gnpl9tNwKBgQDCSZIJiSuSrS4LpROPvGdbNA2aEEzJ6kgO\nx7TjtILWgwc8qkClkik2vJAQmQdIyFFNfCWj5jZtmLD6cOxHLVqkBGpxq9xRNssE\nac2AGM7WOO/4xZFmw8Wthu0HM0cSbwVgaatHKGvCL0datEJChi+xAjIlO1QoCbTt\nst9n6z61LQKBgHLKKjo+hfTvJ99UlSj2adDaizcZVsEwgsdDY6gBiL8jmXC/TK2C\nXyobBhn8JB+YjwR8s9GCGHJoAl+wxhS7TPc890pouceF2icxlEBAXKo/hmFUbxWB\np6aPVKrVv5Pr9fXOXEVMdrLxISiMV3anpUBA0YFrfLu3me2zGt5RJz9RAoGAZ1IA\nm5ma1nHKXt72vCWRQWs5IIkyjN5OW63QgJdqTPF5U8Wmg2ZrDHTSmEEJIqeEtRQk\nYDj5EOd2lnie7mssHLVMdg7TJ01gQYSSiGCo/jthQoaugFv0MAfk3UNjtGXeEhuf\nvkO8qpPB+naKFh6OFi/4wtv+MRyYXyAUtorf2jECgYEAhmd84QOryV3ThcYJTXgT\nGadMVhiuO9fdUiGyG1VVYkUbfiiGEJt6rdykAhD4s0+iVMJp0lv9d3pgtxWoElxC\ngcaVET8P2BxsRNQOorYe9tDIBjAidry8W4w3PSL2WdFhrl+1ignnryFd+hrLNgzv\no1u674vsHO+ogl0Ts+TtTTU=\n-----END PRIVATE KEY-----\n", 2048) = 1704
  245. close(53)                               = 0
  246. munmap(0xb7703000, 4096)                = 0
  247. stat64("/var/www/httpd-cert/vadimirina.com.crt", {st_mode=S_IFREG|0644, st_size=1354, ...}) = 0
  248. open("/var/www/httpd-cert/vadimirina.com.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  249. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  250. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  251. close(53)                               = 0
  252. open("/var/www/httpd-cert/vadimirina.com.crt", O_RDONLY|O_LARGEFILE) = 53
  253. fstat64(53, {st_mode=S_IFREG|0644, st_size=1354, ...}) = 0
  254. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  255. read(53, "-----BEGIN CERTIFICATE-----\nMIIDvDCCAqSgAwIBAgIJAP9/uzMCTwhPMA0GCSqGSIb3DQEBBQUAMIGDMQswCQYD\nVQQGEwJYWDELMAkGA1UECBMCWFgxCzAJBgNVBAcTAlhYMQswCQYDVQQKEwJYWDEL\nMAkGA1UECxMCWFgxJzAlBgkqhkiG9w0BCQEWGHdlYm1hc3RlckB2YWRpbWlyaW5h\nLmNvbTEXMBUGA1UEAxMOdmFkaW1pcmluYS5jb20wHhcNMTYwMjI0MjE1NzMwWhcN\nMjYwMjIxMjE1NzMwWjCBgzELMAkGA1UEBhMCWFgxCzAJBgNVBAgTAlhYMQswCQYD\nVQQHEwJYWDELMAkGA1UEChMCWFgxCzAJBgNVBAsTAlhYMScwJQYJKoZIhvcNAQkB\nFhh3ZWJtYXN0ZXJAdmFkaW1pcmluYS5jb20xFzAVBgNVBAMTDnZhZGltaXJpbmEu\nY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAy8x3px6P86gtfh0d\nwY2E5cJ2lHrzv8SUW9nbg6AsJdfWbP5QhfVLc3Q8mna9PeOc7wDKkxSB+516TPYT\nCkWTdb6GUyROlaCeI1pj0F5UoUye9x2l64YGQTrj1fOUfjP9KzotEg59x1dZqBI9\nrGloutjqdQ8zO510juGi4HPKQmBgHaVqVRP/f8IKJHqN3gNjMZamYLE/yDj0Y2zt\nXz2TaIgJusPcCJh7Q9ME1/9Ju8XBgGnjK4HLm0JMPbB3db5E2l0FRFruZCX2YfPE\nc78Kpua5L1ixnFpXL0NTKD2vlsl9ESCavZaHVX6xevfrcoCBdIKAawFhiAttdXo2\n/wLUdwIDAQABozEwLzAtBgNVHREEJjAkgg52YWRpbWlyaW5hLmNvbYISd3d3LnZh\nZGltaXJpbmEuY29tMA0GCSqGSIb3DQEBBQUAA4IBAQCbBz8IQvAbJKOsAfn+N/xu\nJNaHCCyDRyyiCHpUoELR90SmiX+jttV2aSw25x/jSpoKJ7AAob4+QciBq6sd16cP\nt7sHQeFwqLGB6RAT2NipYGb1RFOQsBjNYgMZrPnCuE/D06+K/jf0T7VbnK8NReRo\n1mwc3V4n8+Kdwq6Fh4caq1vWnkhDQUFxzTg91bKhWCMuOGz2DDrhah5hePKYtOJw\nNsI/ocID+XV71tZvdN4n6GsB4xnri9DpGjLCP1Xnkbuh85RJ9Um8QCyE1f7dDRwv\nxKzWPf45CWJGW1bXveQtymWrSxCq8HqZZ+hJCLLvmzAXPsPrg/dQWVhkzhyOcWpR\n-----END CERTIFICATE-----\n", 1536) = 1354
  256. close(53)                               = 0
  257. munmap(0xb7703000, 4096)                = 0
  258. stat64("/var/www/httpd-cert/vadimirina.com.key", {st_mode=S_IFREG|0400, st_size=1708, ...}) = 0
  259. open("/var/www/httpd-cert/vadimirina.com.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  260. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  261. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  262. close(53)                               = 0
  263. open("/var/www/httpd-cert/vadimirina.com.key", O_RDONLY|O_LARGEFILE) = 53
  264. fstat64(53, {st_mode=S_IFREG|0400, st_size=1708, ...}) = 0
  265. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  266. read(53, "-----BEGIN PRIVATE KEY-----\nMIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQDLzHenHo/zqC1+\nHR3BjYTlwnaUevO/xJRb2duDoCwl19Zs/lCF9UtzdDyadr0945zvAMqTFIH7nXpM\n9hMKRZN1voZTJE6VoJ4jWmPQXlShTJ73HaXrhgZBOuPV85R+M/0rOi0SDn3HV1mo\nEj2saWi62Op1DzM7nXSO4aLgc8pCYGAdpWpVE/9/wgokeo3eA2MxlqZgsT/IOPRj\nbO1fPZNoiAm6w9wImHtD0wTX/0m7xcGAaeMrgcubQkw9sHd1vkTaXQVEWu5kJfZh\n88Rzvwqm5rkvWLGcWlcvQ1MoPa+WyX0RIJq9lodVfrF69+tygIF0goBrAWGIC211\nejb/AtR3AgMBAAECggEBALSY8L9r2ez177p+WswWeNqSRTq26iHaNg5fNKOj4Pt4\nFVBo3TqYcNBTBRFsf67EcWFqthk4ZyduGd7xgVXs6gvBVo9+8RSvTPPPOfyAW0bE\n+2nJICtijVBou1XxkHl14LfZye7iYJux0IWcBIMwtdo+Nyac3a3Kjmu/j/KPKYE/\nCZp5aKO8YpVSjn5Zfjv/L2N8oDdqKjKv8HWDSF2Q0KBDAXTkuGZ5y7RXcYT6fY79\nXoo9GufjK4UQ/zApOUOQDRESOVEYfyYsHubdEUMAypFqYMnc7CZfCdEA0briB72p\nAGEyVzX2XrZOPSYkgUHmvxR7Yb+WxC2OUtxjHCoth0ECgYEA5JYfLSH1XoVDdIZB\nWLbELN+LH8+sxVMoei0YGAYT8XcYbl8rtL/cSq2cgtyMN2TYT5ug+gEnMGhSCnuQ\nji16mBWWBhJoP829atdqg9ZnjYoUEH4AiMo6+sJfg02ifa3+CBCaeskaxNDCBIgQ\nj4ai/OhBOihhQeZVjMtwXfnbhZ8CgYEA5D1VPlK2OBhtvyM44z7rqBIg8y4Jx0tI\n2dMU5CfOJdOEFncgRG74Khs7peod/FiJaVOECO8eYLHaExlHNPSltNbV8DX6TEbo\nmiCaUddBCUKar1/OX6RabXmyYI/G26eWjUWPIg1I5+5HRBtcr3ybYCQb8AI7HEe5\nFbUIPaQC0ikCgYEAxd5VWmIc3hcJTyKwCjUbF6Th70V7zsuvLCNAyfro5IotMc1c\nLfguns4tvvFexsyamj6jWAYLgFGtQrm3ZftkNaXp2ZOxfhmAL64M29aKiPDPcX9A\nwygbadk7iJN5ZsVoMl78+fB/JYN3jyig/TyUdcwuOkOd/Md/ooKv4Alaxw0CgYEA\nkmUUrCj5X/mrSxIYhwnwtZkLMW+yLfaH/894cu9lNrX430ABnmNfIgLdu4nzOczA\nNqKu6dwWLAdnzSBFoB3bu6ahCrZUmWBSCaon0Z6zxHDILvzQrmAI8HdChtUxw+o2\nkt6u9DR5MuqPI4w5YwYV0xDWKpgDuhv3B4lag88TUCECgYEAkF+WJw3BVzMXGrma\nOtJrlJ2S5sleIjrUDZK/55s5CwnVtJ07XArV8AJ2MqoVcQLItXCikbFLwXnuX8Ik\nMfDEIKAmyIu7MrUMlnn7HNq1t/ZNggWFS9oUBqO7rMYX0FkJZ+djGinpCcy83JLH\nbmbqRVlvUR3oYy+DKpnxDGPXDrQ=\n-----END PRIVATE KEY-----\n", 2048) = 1708
  267. close(53)                               = 0
  268. munmap(0xb7703000, 4096)                = 0
  269. stat64("/var/www/httpd-cert/ygt.yupi.md.crt", {st_mode=S_IFREG|0644, st_size=1346, ...}) = 0
  270. open("/var/www/httpd-cert/ygt.yupi.md.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  271. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  272. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  273. close(53)                               = 0
  274. open("/var/www/httpd-cert/ygt.yupi.md.crt", O_RDONLY|O_LARGEFILE) = 53
  275. fstat64(53, {st_mode=S_IFREG|0644, st_size=1346, ...}) = 0
  276. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  277. read(53, "-----BEGIN CERTIFICATE-----\nMIIDtjCCAp6gAwIBAgIJAKh11RASbozoMA0GCSqGSIb3DQEBBQUAMIGDMQswCQYD\nVQQGEwJYWDELMAkGA1UECBMCWFgxCzAJBgNVBAcTAlhYMQswCQYDVQQKEwJYWDEL\nMAkGA1UECxMCWFgxKjAoBgkqhkiG9w0BCQEWG2Fkcmlhbi5zb2xvbW9uLmV1QGdt\nYWlsLmNvbTEUMBIGA1UEAxMLeWd0Lnl1cGkubWQwHhcNMTYwMTI3MTI0NjE5WhcN\nMjYwMTI0MTI0NjE5WjCBgzELMAkGA1UEBhMCWFgxCzAJBgNVBAgTAlhYMQswCQYD\nVQQHEwJYWDELMAkGA1UEChMCWFgxCzAJBgNVBAsTAlhYMSowKAYJKoZIhvcNAQkB\nFhthZHJpYW4uc29sb21vbi5ldUBnbWFpbC5jb20xFDASBgNVBAMTC3lndC55dXBp\nLm1kMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1dONKiXoFJK/kUhl\nLkCiJMcLD7iVhIi2997GNL7krvGw4uwPi0qcrPNDCGCHn1tsFSuhUgyAv9iCJlRs\nirhsXgs5CmBP5lv/oH7YLZyvS9mdxfueYd+P9KdI4/KMLHSd4x4dYru46pX2qr3h\nyCMNQeKC1qvoLcCnH5mK9LjvxnwjeZpVSw7zKKoOBiyvqtjRXEZRwSE0a1yuAEhd\nEis5kQwgo/tv3P6gEg6QjDD9xEGDZSyeN1/lskGRg9KmiBm2c8S0OKlWskO1J3Qv\nMkuNldBjgtgUU4IYOhnp9+57RAxwbHadK4gMUHQ0RtrCAs4zTjrKXutdgGcnGmqF\nNKkgbwIDAQABoyswKTAnBgNVHREEIDAeggt5Z3QueXVwaS5tZIIPd3d3LnlndC55\ndXBpLm1kMA0GCSqGSIb3DQEBBQUAA4IBAQAyRm4EZzjhFfztV/hmBg2KkKAVGMOF\nDBEsY1y53xkcHGywk6Tu1vI/f3C0bVcTI/HHw3QeChVSMkU0e0CSNPwbkktPZGUT\nngbRRmbJ66mh3ymd2B2I1oBaXu37LUrw+YJcb/cEr/nBpevTVfRqDG6TWFX73Y/c\nJ470TBpMRrP36/vLwcdcdU1VqgvF0ZKwlTfDgkWpuFN6CupST1W1XyVQBXmrS4wC\n9Wls2ma/hsIPPM/bJ24lOyDS9cP7OjJwz9/6dAQnas6UuDgX3QaLD+CL3a07a8Ib\n4AyEmPWiutGytHeY6V+QPzkcfpVgn6cVBASrOJqqUslnRejxBTo854Lx\n-----END CERTIFICATE-----\n", 1536) = 1346
  278. close(53)                               = 0
  279. munmap(0xb7703000, 4096)                = 0
  280. stat64("/var/www/httpd-cert/ygt.yupi.md.key", {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  281. open("/var/www/httpd-cert/ygt.yupi.md.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  282. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  283. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  284. close(53)                               = 0
  285. open("/var/www/httpd-cert/ygt.yupi.md.key", O_RDONLY|O_LARGEFILE) = 53
  286. fstat64(53, {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  287. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  288. read(53, "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDV040qJegUkr+R\nSGUuQKIkxwsPuJWEiLb33sY0vuSu8bDi7A+LSpys80MIYIefW2wVK6FSDIC/2IIm\nVGyKuGxeCzkKYE/mW/+gftgtnK9L2Z3F+55h34/0p0jj8owsdJ3jHh1iu7jqlfaq\nveHIIw1B4oLWq+gtwKcfmYr0uO/GfCN5mlVLDvMoqg4GLK+q2NFcRlHBITRrXK4A\nSF0SKzmRDCCj+2/c/qASDpCMMP3EQYNlLJ43X+WyQZGD0qaIGbZzxLQ4qVayQ7Un\ndC8yS42V0GOC2BRTghg6Gen37ntEDHBsdp0riAxQdDRG2sICzjNOOspe612AZyca\naoU0qSBvAgMBAAECggEAcwXH7CJUA60lK8vb0dOm5U3FH4HVvGOmuRO3X2xIq+sL\nkiYV/oH2YfrB1mHG0uxk6cZ8kxxyrcCT0nabpMusT7KNzo0crfhTPEy/kVm12oGH\no5bFDjUqxRqv1R8GVGuu+xuaByCgSmC9Pf/C0tw4J3bnlv8GeIYn4JHB8/7/zK7C\n0VmKQrAR50ela4xZgM8HGSZBxlfhFVR9Yg6788d7d/mB0hMMu3fuWykYbIOXFkpj\n5FJ0ZKAkDGc5LRSiXl949a6bL2JiKGUDtLTzYkqjuHRG54rXoV2Jm6Gepv9aC3qU\nS9u9MY5lQABjZvU61zktrlp9MWziuEvWwaWnKaS9cQKBgQDtOCDUBey4AoWV75g9\nsYsGuFIAZIXz3ZJeTwIItetq6YUt2w+zwN0bwoyghN5VG/CyBUeB36d79kBVuNnU\nPxC2nhTSsi+537xIrv5f2Z+JYa+cjjaGZ7wFcSgU/xgz14acN7pSwPMDypE10zxA\nXsDgCCKoBgYLRbaGfXht/gP+kwKBgQDmwU4VYDAgHI94g+XAuX/tHf9OHmRFhssP\nswuzDDdUx6UznozoOj9GrkovqE/qtbIBcO2aAPvtJpEPQzmoKShuroVsZV2HMRS0\nVU8xMcsRHw4Pu4cdGnx97a3rZC2DG66nu5yqhXP5AmWA505iLirUbopCtJvrhv2b\nauGdkoxkNQKBgFdZR51K4TOQmifvpZtx+MNss6U5XqnBeNgJN7KFaj5f5o5QD6Qc\n7E4AgU/KHSQxuZuTnhUQidd3gZEPFAa3giv8YaaDvlcvL2GELl6U/83SjpuTMjij\nkfRfCmdQ11SflA2J5635JoLK4FV1hsYdHeBgnoJIVYlpDiDPqry1wDrJAoGBALVQ\nOHF1Vfs1VcolIVcwqoL/KgcQvEshIdchIVU7iRJ1mKoZr7AdbHC2LBaMUtcik06s\nlBWJJmpt/lcWxGwMgveM68uDTl0WxKT5zzLhZCT82Mil2gGVOTKdmiW2XkiBbNfh\nA7W9DKYhKu6BUUa17fNjNAI79bO4Kvd+oO52IxftAoGAP3UA2LTrcwR1gqn64qsg\n0c1kB2xVMKl9eKX3lW5wZOXcUaWqpf1enYR/lmxKedwgSFkwFy+qxTmdwEj0chzY\n2QV9SclW5n9fzFkW6JJp+seewJwWgvlJeeB95JU0CXztDKV5ah+QAEIUvaq4FJwo\nzEskQ/LMX8KHAaEBO+b7ezg=\n-----END PRIVATE KEY-----\n", 2048) = 1704
  289. close(53)                               = 0
  290. munmap(0xb7703000, 4096)                = 0
  291. stat64("/var/www/httpd-cert/itiscriu.eu.crt", {st_mode=S_IFREG|0644, st_size=1330, ...}) = 0
  292. open("/var/www/httpd-cert/itiscriu.eu.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  293. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  294. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  295. close(53)                               = 0
  296. open("/var/www/httpd-cert/itiscriu.eu.crt", O_RDONLY|O_LARGEFILE) = 53
  297. fstat64(53, {st_mode=S_IFREG|0644, st_size=1330, ...}) = 0
  298. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  299. read(53, "-----BEGIN CERTIFICATE-----\nMIIDqDCCApCgAwIBAgIJAMOJGWGmt+tuMA0GCSqGSIb3DQEBBQUAMH0xCzAJBgNV\nBAYTAlhYMQswCQYDVQQIEwJYWDELMAkGA1UEBxMCWFgxCzAJBgNVBAoTAlhYMQsw\nCQYDVQQLEwJYWDEkMCIGCSqGSIb3DQEJARYVd2VibWFzdGVyQGl0aXNjcml1LmV1\nMRQwEgYDVQQDEwtpdGlzY3JpdS5ldTAeFw0xNTEyMjUwNzM5NDFaFw0yNTEyMjIw\nNzM5NDFaMH0xCzAJBgNVBAYTAlhYMQswCQYDVQQIEwJYWDELMAkGA1UEBxMCWFgx\nCzAJBgNVBAoTAlhYMQswCQYDVQQLEwJYWDEkMCIGCSqGSIb3DQEJARYVd2VibWFz\ndGVyQGl0aXNjcml1LmV1MRQwEgYDVQQDEwtpdGlzY3JpdS5ldTCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBAOBggfY0aatg0ZDOpgU27XVZeCb7sSZqgF73\n3oZr4SaohfIZebZCCYGvqwWDR9B/cNhGzT5Z40WKQq3hoM5/yZttvYKfwepKgoXn\nlEb+rRnu1iD5mmv0/2TKLN0D3Ytm6Avz/HNWzTSQw5+MaDASx+aqoPeNV9zeUa+0\ncoFhMaywxNrBk6q0WgnLq7hqGqRzmJsN8rIkJtkF8xYGahWeke+Kq+ZbFVU/aij4\nyVqvdIRpgCdrjb0Iw0hfjid9IrK7NiiCMI0yd64evjGzvGvDOblhpYBHvzgL9PVJ\nGi6Bql2euVDjJMgBVCrUJXTGj1kH6SCKUMIWgcEEqt4jYlKLKV8CAwEAAaMrMCkw\nJwYDVR0RBCAwHoILaXRpc2NyaXUuZXWCD3d3dy5pdGlzY3JpdS5ldTANBgkqhkiG\n9w0BAQUFAAOCAQEA1YtDmL6NB4nINKJnKbYPqPDbgbUATys4wqND0+aVAlazFX8S\nh1WfT07HHjSeZkQ5QH3mfbPbvsHcSVmBpuvcwtsxpID9p7xDk4IDBePztPIoMM54\nGlUaQLuMiOeNNsXx0hUIN98HGld+T/7sA3AYQZOHe9aBuSxKVfnwtfBdZBYbQN+1\naVT+raT72WdQqYmOYb8V1QWOeqoDWjm2JzL3GUuJuTX04hzqa1Z6bRtFc8VaXpVQ\nbpT+0fBDOgZlq/w8ZoTlsahMTBJSn3M6yFZ25D4IYWWZJafyPEjU7UHl+lgtjKmg\nqelB/gccmkX+/5P7W5r/twvqA+F6+A0xQSMFng==\n-----END CERTIFICATE-----\n", 1536) = 1330
  300. close(53)                               = 0
  301. munmap(0xb7703000, 4096)                = 0
  302. stat64("/var/www/httpd-cert/itiscriu.eu.key", {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  303. open("/var/www/httpd-cert/itiscriu.eu.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  304. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  305. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  306. close(53)                               = 0
  307. open("/var/www/httpd-cert/itiscriu.eu.key", O_RDONLY|O_LARGEFILE) = 53
  308. fstat64(53, {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  309. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  310. read(53, "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDgYIH2NGmrYNGQ\nzqYFNu11WXgm+7EmaoBe996Ga+EmqIXyGXm2QgmBr6sFg0fQf3DYRs0+WeNFikKt\n4aDOf8mbbb2Cn8HqSoKF55RG/q0Z7tYg+Zpr9P9kyizdA92LZugL8/xzVs00kMOf\njGgwEsfmqqD3jVfc3lGvtHKBYTGssMTawZOqtFoJy6u4ahqkc5ibDfKyJCbZBfMW\nBmoVnpHviqvmWxVVP2oo+Mlar3SEaYAna429CMNIX44nfSKyuzYogjCNMneuHr4x\ns7xrwzm5YaWAR784C/T1SRougapdnrlQ4yTIAVQq1CV0xo9ZB+kgilDCFoHBBKre\nI2JSiylfAgMBAAECggEAX6IiomqSg14f1EWP03cm3LaGlK8AQWxxTIj/SnHepBh+\nBsM+8iTRYnoaPZ5H1KEM2tHKlwG+8ZvNcclSPdGPf3TVqkAnaZHacfJTa7MO2pfG\nooVggRUKac4WMxl7qvfwfW+/sPVVP0tYZb91hM/sbe9Z7klLIrOLQ4V4rJZdksl0\nvggRjVPIpaJFOsSP689p7UqtWdwAF766c7vSwu/vmTA8dW/Yn4b9qAfr9NVfuoKc\nZecB5Ef0yvZahtiq2gxd0d63ZAzqoUlW2Maul6XxMkDp2ophHbfXNa5wgisooi9v\ndnTLjX5wNuPgX4OidBib9AMphiNz7Bonn05mATypYQKBgQDx2JcVgfe/4riMehxo\nG7JxcCG/1lI7kJOQk1ktc9MgpqQfcExBKZ5EyDiqIwvGVCS4nvAwSM99OB5fijSz\nc5FQG4HT8ZFbC8+jeVUir4o8FIWtAAqXjRq2tlcMtmw+Br4/0XJ9bwGU3rrTETvd\n3DelKYEyhZ8cjcZt+RrqiFDdbwKBgQDtgjDNT8/zArWm0VYKSvQJzm9sYZFTetPJ\nTsFzJ9BsWlxrlLYam4j6DkfJ1M2kDajJUyFEllh6ptu0gDzqzMHz7JJMp3eplip7\nDNrYG5Yko2tcqvs3qydOkEbtDDLoe3+rkOfg2qKP96BRFXeFV96lA66VW3rxCAoj\nefqgUepbEQKBgQCMlhyVqxyrFg+z0ZRLzLX5jXaA/wSEjbHKXG19p5P2qghEIlKh\nmqDfWQjflknU+7rw+6uiVeEP6Jx3a27hVnAFgkgBPa8CnyYP4ItmA2c3L7LZc2m0\n2ZjK18pYoH7hu6fCj22fjvT7ZlJyOdV0Tfym7S6mgNiSj7Pm3+UOqzlezwKBgHju\nNh0Dy1Tnh0hWBCIfgdxQYQllMFK6EoXIdNVGa2gQJkicopAvq3HuvXy1vrMORWek\nzSaYCpsAxJNGTD4dXY/uX5tqFZKipCSdKfypJyymjK7VXC4/Fjd5XLOr52vaHepk\nULx7dhQpuFYwwPeDAxkwI79modWCC29+1y60JsiRAoGAQjGbutHNa7DXOpO0LexO\nTix+RFOM8CcCCzVnkttx8mJzQelaOK6uwOPaoBXto2tUb1lUCgSewDL1xPeehOei\n3/cCdntAGbkW0qHe0iaoVo2fyehAsKGij7gDmwlxWXanq02bC8x8oe6srFz7Ip4q\nmVrVyDPfqxCfPy0UXHjuv9I=\n-----END PRIVATE KEY-----\n", 2048) = 1704
  311. close(53)                               = 0
  312. munmap(0xb7703000, 4096)                = 0
  313. stat64("/var/www/httpd-cert/pasnicenco.com.crt", {st_mode=S_IFREG|0644, st_size=1354, ...}) = 0
  314. open("/var/www/httpd-cert/pasnicenco.com.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  315. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  316. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  317. close(53)                               = 0
  318. open("/var/www/httpd-cert/pasnicenco.com.crt", O_RDONLY|O_LARGEFILE) = 53
  319. fstat64(53, {st_mode=S_IFREG|0644, st_size=1354, ...}) = 0
  320. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  321. read(53, "-----BEGIN CERTIFICATE-----\nMIIDvDCCAqSgAwIBAgIJAKrR8nbJqsBcMA0GCSqGSIb3DQEBBQUAMIGDMQswCQYD\nVQQGEwJYWDELMAkGA1UECBMCWFgxCzAJBgNVBAcTAlhYMQswCQYDVQQKEwJYWDEL\nMAkGA1UECxMCWFgxJzAlBgkqhkiG9w0BCQEWGHdlYm1hc3RlckBwYXNuaWNlbmNv\nLmNvbTEXMBUGA1UEAxMOcGFzbmljZW5jby5jb20wHhcNMTUwNjE3MDY0MDUxWhcN\nMjUwNjE0MDY0MDUxWjCBgzELMAkGA1UEBhMCWFgxCzAJBgNVBAgTAlhYMQswCQYD\nVQQHEwJYWDELMAkGA1UEChMCWFgxCzAJBgNVBAsTAlhYMScwJQYJKoZIhvcNAQkB\nFhh3ZWJtYXN0ZXJAcGFzbmljZW5jby5jb20xFzAVBgNVBAMTDnBhc25pY2VuY28u\nY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApp7vI0OhoFLJpBwn\nczaC60EX+riOKCHdvM4BDoqZCbEyd31uqixUTHoEWuVmRnAYZOh2DvrNWlECkLNf\n+4fMW/E5hODY94vRUUkEUpiIlDqeNnuFPBTDSCAPDJqhNteT+htWZGWU2xp/sm9n\ngiEzk5VlJOGyTlNDu1NumwLmtN0ABupppSAmMSPan9FcKOfAaT9hMjIYguEuMhw6\nGAVnccfR/3DnBPcNydfcCfCYEDssZv/5cNDTVDZmbQv8IW/bEdHFpHF+DfgH33Sk\nb6BXVeaYTRE9uq80mlEoc3zslFYhIq5qsdp0hPodTWSe063J0rB7FBcnqGHAwsSW\n/l7o/wIDAQABozEwLzAtBgNVHREEJjAkgg5wYXNuaWNlbmNvLmNvbYISd3d3LnBh\nc25pY2VuY28uY29tMA0GCSqGSIb3DQEBBQUAA4IBAQBBqv4ZYQNOOcNKMzVXNMnr\n6uLT6k0d65zyBOCm+CzzE6lD0tBlFYAySzbDcQhzaOJggkHKanvtKrjsedxqEeDF\nQ63VuyXNw/MZ/SH5kPMQ404eu2Ek0v/QsT9fSU9bU5/STjUFmnHPXVdbkMqJx6+1\nBGgaXDNf3kvr3qRUfZIdEn/TachItMQlyF4I7R2PoXm8U+WaZoLmBzUJGiea3OvC\noRd/UzPwO831Vf/qnvdB0/Ut5WgaOwWK4bISbFSWZcopB4e6KnzY7zZBoh8lETpl\n+BaK7YXsh0bHbx6UTxeBCohrviuSaso/nORXBUdS366mri6V7IpognEP/vQWzKde\n-----END CERTIFICATE-----\n", 1536) = 1354
  322. close(53)                               = 0
  323. munmap(0xb7703000, 4096)                = 0
  324. stat64("/var/www/httpd-cert/pasnicenco.com.key", {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  325. open("/var/www/httpd-cert/pasnicenco.com.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  326. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  327. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  328. close(53)                               = 0
  329. open("/var/www/httpd-cert/pasnicenco.com.key", O_RDONLY|O_LARGEFILE) = 53
  330. fstat64(53, {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  331. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  332. read(53, "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCmnu8jQ6GgUsmk\nHCdzNoLrQRf6uI4oId28zgEOipkJsTJ3fW6qLFRMegRa5WZGcBhk6HYO+s1aUQKQ\ns1/7h8xb8TmE4Nj3i9FRSQRSmIiUOp42e4U8FMNIIA8MmqE215P6G1ZkZZTbGn+y\nb2eCITOTlWUk4bJOU0O7U26bAua03QAG6mmlICYxI9qf0Vwo58BpP2EyMhiC4S4y\nHDoYBWdxx9H/cOcE9w3J19wJ8JgQOyxm//lw0NNUNmZtC/whb9sR0cWkcX4N+Aff\ndKRvoFdV5phNET26rzSaUShzfOyUViEirmqx2nSE+h1NZJ7TrcnSsHsUFyeoYcDC\nxJb+Xuj/AgMBAAECggEANbaQstaPmQZ3OG9XDF4rUDmYyFuMgEWCnOXwE0b81NIJ\nydlmvncx6cF/++lt0hE62/TQcj3Jy27IG+unaoe5in42I670YsDxBno6aYIArYBE\nFp41MkwjM/IZx99lTy+p5XvAmvbgSM2/Er+1J48aeF41z/DuMS/IavAXfOMvimga\n+EiNwb9twrMkjR4g87FoM8gIdbEQXjZLiG2jcNi4gOGe9eDJaaUrB1zU9oWPn49V\nYOvmSE6PIw6f0H8i2Orronn1iEKTtI2PiUOcIldxS8pg3bIK/ip85J2ZGcQJOE9w\nrBm4uuzPEaXHmPUwc/vMh+Gcw4/OwLXFMJs9FNc0OQKBgQDRtd/s/RQlDdnKHvah\ngb4HjRqAYrtawtWKF5S4BpYHIqWVKenFf3Um8rCxY76ehm/Q0sAc1JLAmUbLoPD5\nRfYrb6ClgrRP+ZV4L97W6HtLZoEodagygXeT3V6NyjpGtPKToeCw8AmW1uTTYfrW\nBERMLT8H7eCaGA6EXDzD2Cuo5QKBgQDLZjD1Y3YYsS7PUmBxB/Nm6LgGxuQAUZbV\nl/bnLiOEsJQnP1Bk4DKWJUY0+AERaF0RWJfXnZPI6rqkWBuymr+Cwj8ubWvyXVCv\n9MKuG8247fVO+o0h8+zjZ9e4MtAnGSr0GuGQQo33i3EiVfyOFpLEknQrGSsGlYRf\nVG802WXgEwKBgC99SUVIllxBw7USx/URBXB+UqcKNLU789F+v43g5+6buPWLdUXl\nNClqwfqZxNvvQ7j9UMX2mXkF/NM2EfvRDQsPD0kLzTtjIKcD6CmwoeMURmFcK4es\na+DPO49OYV4LsfcerFxFL1a6OT1pLb1zX+gEQwbPppIeqoLsxFHxTQnFAoGAETWX\nRNvifRpYtI/quwWKMZXVJDWlyuUcVvwhltPPi4WJM3zm53IUtaF3vDmTlY53+WS+\njC6391Ls8cTGqyjutTiMMfhuHraIgiq6YhLWKCRyEfmfAVVrIJ6DoQEjnXtCqB6y\nIQuQiXZR3y7ZTIhaaKlfjNn3SvpRleNF+Xm/ZeMCgYEAiCkEnCwJv3eykEI0tEJ7\n3uImp89znIvQdr2CRzyFrgS5mjY854UlMSFPXO7xqKvqCV9do3kHi1p7gtiIrrPW\nsjCiigqJ++COaPcGi+dNxPo7XgCKDL2C/gn0C+0DUN4rW4dhH+/Poii8hoKXfgra\nFXMSdVUQJvOiz+MDta9YAvE=\n-----END PRIVATE KEY-----\n", 2048) = 1704
  333. close(53)                               = 0
  334. munmap(0xb7703000, 4096)                = 0
  335. stat64("/var/www/httpd-cert/multumesc.me.crt", {st_mode=S_IFREG|0644, st_size=1338, ...}) = 0
  336. open("/var/www/httpd-cert/multumesc.me.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  337. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  338. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  339. close(53)                               = 0
  340. open("/var/www/httpd-cert/multumesc.me.crt", O_RDONLY|O_LARGEFILE) = 53
  341. fstat64(53, {st_mode=S_IFREG|0644, st_size=1338, ...}) = 0
  342. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  343. read(53, "-----BEGIN CERTIFICATE-----\nMIIDrjCCApagAwIBAgIJAIRYKSZRe7cdMA0GCSqGSIb3DQEBBQUAMH8xCzAJBgNV\nBAYTAlhYMQswCQYDVQQIEwJYWDELMAkGA1UEBxMCWFgxCzAJBgNVBAoTAlhYMQsw\nCQYDVQQLEwJYWDElMCMGCSqGSIb3DQEJARYWd2VibWFzdGVyQG11bHR1bWVzYy5t\nZTEVMBMGA1UEAxMMbXVsdHVtZXNjLm1lMB4XDTE1MDYxMzEzNTAxMFoXDTI1MDYx\nMDEzNTAxMFowfzELMAkGA1UEBhMCWFgxCzAJBgNVBAgTAlhYMQswCQYDVQQHEwJY\nWDELMAkGA1UEChMCWFgxCzAJBgNVBAsTAlhYMSUwIwYJKoZIhvcNAQkBFhZ3ZWJt\nYXN0ZXJAbXVsdHVtZXNjLm1lMRUwEwYDVQQDEwxtdWx0dW1lc2MubWUwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDVYEw9OT2q2T79LtQMQpfJILVqL0Px\nUO9yDT972nYlu0TjJBiVgraNVnwi4qUT9bWOrdtz3W1LfqWCft6UjrneFOoy7iYB\nAKAildOsNRVVeNSjG2b4p8c109nH2aW2NrVi+hoXtA3DkIYvDS85JJ0NqPlMNukA\n75WTx6g/K31JMP1xglDpJOQgnxXXilcEdH2rgdIsr+6gpnbeNwibCCBmC7l2DAQd\nsY8QZwnwMYZt3DGXTo44UetF08GRck53E0IhDJMLHms/EtPdRSzIoQWk4HA5m7mz\nriWKOgUNOJbGcAskW+KdgR+YQvPnXfGHX8mWpNv7hiJE0epXmwOO4w79AgMBAAGj\nLTArMCkGA1UdEQQiMCCCDG11bHR1bWVzYy5tZYIQd3d3Lm11bHR1bWVzYy5tZTAN\nBgkqhkiG9w0BAQUFAAOCAQEAfaS30NR4p2LJ5QXaJJta5Yvdu69QZLcf5zUgL/RW\nxNW456I2lGWBC9TQilogFUuuAs3i5bdULFrpanp8LpoUyBs8khIhXsf2yHbckDIk\nSF8rNZoIaamMVKweLiglzS1gbr2eO6nB6SvQ+ESk/esuyTUuMQeNeU50jxhUEUqu\nLF/0iZ9ZsNdKAlgjVnPGq5a85YsyeifoYBi608cHY/ovq3GwFKaS9fzOnClZ7KcQ\nY1T+HAjPPNtSHWFVG6IxQOTP/oHwrpdNzXDWbDLxLaO5HqUUqt3ETQ0pDgHRSChz\nN8l8SdnMpnIHCjVPvfuiKL27PK9GAEB6Hm2DYwdp4RmUhA==\n-----END CERTIFICATE-----\n", 1536) = 1338
  344. close(53)                               = 0
  345. munmap(0xb7703000, 4096)                = 0
  346. stat64("/var/www/httpd-cert/multumesc.me.key", {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  347. open("/var/www/httpd-cert/multumesc.me.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  348. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  349. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  350. close(53)                               = 0
  351. open("/var/www/httpd-cert/multumesc.me.key", O_RDONLY|O_LARGEFILE) = 53
  352. fstat64(53, {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  353. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  354. read(53, "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDVYEw9OT2q2T79\nLtQMQpfJILVqL0PxUO9yDT972nYlu0TjJBiVgraNVnwi4qUT9bWOrdtz3W1LfqWC\nft6UjrneFOoy7iYBAKAildOsNRVVeNSjG2b4p8c109nH2aW2NrVi+hoXtA3DkIYv\nDS85JJ0NqPlMNukA75WTx6g/K31JMP1xglDpJOQgnxXXilcEdH2rgdIsr+6gpnbe\nNwibCCBmC7l2DAQdsY8QZwnwMYZt3DGXTo44UetF08GRck53E0IhDJMLHms/EtPd\nRSzIoQWk4HA5m7mzriWKOgUNOJbGcAskW+KdgR+YQvPnXfGHX8mWpNv7hiJE0epX\nmwOO4w79AgMBAAECggEAQuCs5J+VSYBP8tEDm1gf9OUwlzh7Rh6E/i1S0YH2d/sL\nK1o77liK2R/bRp/c97WSk0bAur8TK49lVtJm9w8JCKdrhE0KUlQc3Noy/w2gQyrd\nEsZa7uK/WIqu/qmj+8mH7p7PINDJY5tfw02RmIp2QzrL8GxheW6eZjQ08p+x5AdJ\nTycTxYkBBZXXJuMnP1zMaFt2E1O8r+EBvMcPL7bS50NUfw2YfrXmQPDuuGJT15q0\n5nPF250kRsxYtkPRG38N594aQ7Ua77/LAXrZX6AenzQ5ukOrKhi2ShufAtu6gS0x\nnr2OEnZlnEIpBBP0pbJGmUTBEFmhUr2jBduBBZfEzQKBgQDuTxtv6OMjlV5O491x\nscIUn89nUgvbjKFJRdtHeP144ympQok4sb1JHu+U5fm2JRRGt7yUEE+8d13T56Mv\nG0NcMu/78AGDq7mspHJLXr9/uxNnoz7LHWlvvd4GGkNekkFSwpgTEhhg0FI9/GtC\nuUr8PpF+MUxzOrXgqMT4qMrpswKBgQDlN1wP5CS06KOcbpFp2MwDD1zXhUKTxlFn\n5jEOmuTfJPwdG6SzA/vjc3og4vjJN/yRHRqBD+fDTWy5ct25bu2aytqlw75XOEkN\n4awylBL5BDL+QxGTeUsy0M9J24GI2jEaamylzmD63m0ZZLxPiwgsbdTZMjHJTn5s\nOIT5GcFsjwKBgQCMuRIOp4tZe97Q3yXo+XsOCsDC1mRCJW0og6PVNNEZDauQU8YM\nQIjyIN6BIryunn62s9Eb7fXn6OTzORnXu1WvoDSupS9/vWxLUmBbuXuDxcjTrkZq\nUtfsMEZnfCLEOcFxSY/b0xeqM9oc2G3OXPS2t4va5OmsMcMtAvwtih8omQKBgAJT\nanq6zOiNB8P5lz4ktgU97ao+LuvC8maEfnDwf2wIOwqskiJC4xZuwIl+5BlemRB7\n5B31JFvl+Dl1gex0xLJyZn+SGedWqd8bMB0fRYYDVeUglxgQ/gNY/RF5ybmyxRbI\nh6uzCWbiROciD4sbFQ0mXCeMC9dIFZ5RgH/qk/zfAoGACsrUv49o9JD2sRIr9+9n\nisX43+tLG4C4bdY5LCbHAxN6Ta4iOFs8ckskJmP9dS9aBGwCp/pzKI3xQAGGCXG7\nYg9tItm0eVSRL0IHor4yLKEFfuH3H8UbUqPa+7om0BHDrJ99YTp6/obTrOOqBER7\n04ZZiSCWQ6UdXPL2P545nes=\n-----END PRIVATE KEY-----\n", 2048) = 1704
  355. close(53)                               = 0
  356. munmap(0xb7703000, 4096)                = 0
  357. stat64("/var/www/httpd-cert/novapost.ro.crt", {st_mode=S_IFREG|0644, st_size=1330, ...}) = 0
  358. open("/var/www/httpd-cert/novapost.ro.crt", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  359. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  360. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  361. close(53)                               = 0
  362. open("/var/www/httpd-cert/novapost.ro.crt", O_RDONLY|O_LARGEFILE) = 53
  363. fstat64(53, {st_mode=S_IFREG|0644, st_size=1330, ...}) = 0
  364. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  365. read(53, "-----BEGIN CERTIFICATE-----\nMIIDqDCCApCgAwIBAgIJAJUiPtgKowF0MA0GCSqGSIb3DQEBBQUAMH0xCzAJBgNV\nBAYTAlhYMQswCQYDVQQIEwJYWDELMAkGA1UEBxMCWFgxCzAJBgNVBAoTAlhYMQsw\nCQYDVQQLEwJYWDEkMCIGCSqGSIb3DQEJARYVd2VibWFzdGVyQG5vdmFwb3N0LnJv\nMRQwEgYDVQQDEwtub3ZhcG9zdC5ybzAeFw0xNTAxMTgxODQzMDdaFw0yNTAxMTUx\nODQzMDdaMH0xCzAJBgNVBAYTAlhYMQswCQYDVQQIEwJYWDELMAkGA1UEBxMCWFgx\nCzAJBgNVBAoTAlhYMQswCQYDVQQLEwJYWDEkMCIGCSqGSIb3DQEJARYVd2VibWFz\ndGVyQG5vdmFwb3N0LnJvMRQwEgYDVQQDEwtub3ZhcG9zdC5ybzCCASIwDQYJKoZI\nhvcNAQEBBQADggEPADCCAQoCggEBAKiHci8YwCkWcNSxhWQLgefSVmF35YtTEb6k\nD8Bb6EfOIXWZJf2/4anRleXFKFGOAxZGhsgsA1cbyAE/utZxnNlvXF7tWd6o3OzG\n34bGNAJ+n7Gz70ycnZwLvNTCxzCxVSVBLFMh5U0wsIZtxwid8bifYtnvCPOmKgGo\nnSJCBNV5QCj5zthw0JJQ5VhQ57wa9STj3aULcNdS4l7TUYFaDQddQ6+Yo1oh8STu\n5SbapTp2u+ZpyR5RZU+hsa/Im5OUgqTNbNt8ZDG6eiqZMA/QcXon7OZnSB+CQWz/\ntCB+YcnU0OsL87I8nOUC3RSra4ANka1KzCDrSSiM0zoxUiwxXMUCAwEAAaMrMCkw\nJwYDVR0RBCAwHoILbm92YXBvc3Qucm+CD3d3dy5ub3ZhcG9zdC5ybzANBgkqhkiG\n9w0BAQUFAAOCAQEAaMFRNjAcVqGLtpoz+7wDFkRDN2zU0D9bFUDbSSUEMAeO+EJx\nhhaV2WclvBFSayHEpM1mPuM1Yirq5AUHsLas/xSiLGyJt9XV/8JSN7nuvylB811P\n/iO2QkgVJEKuY4BZOjNUlUP1sVdzItyzDeNKtUrFdzGte38vbiAp/ovAbTp0E6U+\nXFU8ddm2IsStnUlqxe5RUljwcthlAzbbtHrt83O1RBAhNUZ9JtErM3vBaPK1NTt8\ngZGipAgJJNnQxaqScNOydflQz3PgV29E4cNrpg3cpTfK1C04Wj1jlaL5NOtdZcyI\nIFpt9jYM+4zXAHxGYB60cjZZ0euoWtzA6ex+2w==\n-----END CERTIFICATE-----\n", 1536) = 1330
  366. close(53)                               = 0
  367. munmap(0xb7703000, 4096)                = 0
  368. stat64("/var/www/httpd-cert/novapost.ro.key", {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  369. open("/var/www/httpd-cert/novapost.ro.key", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 53
  370. fcntl64(53, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  371. fcntl64(53, F_SETFD, FD_CLOEXEC)        = 0
  372. close(53)                               = 0
  373. open("/var/www/httpd-cert/novapost.ro.key", O_RDONLY|O_LARGEFILE) = 53
  374. fstat64(53, {st_mode=S_IFREG|0400, st_size=1704, ...}) = 0
  375. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  376. read(53, "-----BEGIN PRIVATE KEY-----\nMIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCoh3IvGMApFnDU\nsYVkC4Hn0lZhd+WLUxG+pA/AW+hHziF1mSX9v+Gp0ZXlxShRjgMWRobILANXG8gB\nP7rWcZzZb1xe7VneqNzsxt+GxjQCfp+xs+9MnJ2cC7zUwscwsVUlQSxTIeVNMLCG\nbccInfG4n2LZ7wjzpioBqJ0iQgTVeUAo+c7YcNCSUOVYUOe8GvUk492lC3DXUuJe\n01GBWg0HXUOvmKNaIfEk7uUm2qU6drvmackeUWVPobGvyJuTlIKkzWzbfGQxunoq\nmTAP0HF6J+zmZ0gfgkFs/7QgfmHJ1NDrC/OyPJzlAt0Uq2uADZGtSswg60kojNM6\nMVIsMVzFAgMBAAECggEAQuxuiodQn8BalAvexajQMGfVh6UeEWKudD8gRin5JrKT\nlOh5LrgI++/Pj8voQ+KaFTlygoD/3pKYrO5K2qeJOss/Ki8k9gemm5wp3ZJNywPP\nlLi4eXrkF7iNhwvGH+77ueyUlnqqXSnNn8RuOlzGRaN9lL+YlXDR05DKvXTsCH0V\n5f/3mqnhA5/opX+rbHqCq2Oaql4wHs9z6ybRx1ttKjCKXAG/4+sUV7uUjq20KlRR\nZDFz9Uep/6mH1oQzy5kBPgC6fOcX+06znDuMjclZuhf10aQ4Yu6WMQ43TCmzQVCq\nlqAvLQHKUNlckKxA6VOLaUQDl7V1jhSVWRinmCddIQKBgQDQ+I0Wle+My15BeIgy\ng1eN+vTiXjnEYi2Mc/QyIJpgQwThMyeYsKmfcjVkcNfeKMG5p/wbzOBzspnXahXr\nDgs4IGUC2Rq27jxVzk9IBvodKr+9h5NGbpU9YevWVz9SgN+pn6aiTau8bAE8Wwea\n9fYCql3+UveusT6sKccmRQ6x2QKBgQDOdOs+RMrJkievz9hwAmB5UEEtKytmMbCi\nvvaQaN8vvxDbUI8ahaKdRnt9SQcMW8hPpM9uv+Go5bf5Ru1cw54d7+7d98geBw8n\nyMkvfCdb5lWfwjK0Rlr4GuQYi/vAv6hmEcZPSTDUA1zW5T9s5dgf1sYUCAloo0sq\n+PHA80tCzQKBgGB70hCyi5cTMuLBtwizkdJRI438+WkN93/Y7c/TM9PsPa2Iw+iA\n8OBYiARnAZRmdwO0ZvejAaMJvHQ0XAhaRJ3WfyzwdqAtoRfxGLPl3MdovHzSwxIK\n7scXlh8xy1/ZdutHdlWLzRZDO9LVKM7Ib5zNcnaBcjBrT8eHxpaJ3f4JAoGAKnvo\nxKGHUT9gJ0+P7Eyw6YXYQ6E0hw0GmhbNyh2qf7rDjz3elMiXE+IjGz7h0ms4pxr1\nDIczunu7BfLQeVxPtz1eXBLW/UbamYc5zymvN7wINp3RrUMlCRUPhvWXUqydzJMv\nybT39UjT2+zExnXtqW+axxh4Ry4DE86ygNAP1qkCgYA1LllRESs5quGRxQExN3Qe\nMqMHW/oVRqaoWfSRuVIe5OLJpjMkkMYCyzjUnNUoBueQ+ybXqYOUUFcjAnwRXV4I\nGvkWY1B/xRkryenIBIFbQjiP+Ygj++EyLwQGzQCctGO52CD/U5fdURqwZgpeFM2n\n3ZQl7cfXHfddsnjcPWG9Xg==\n-----END PRIVATE KEY-----\n", 2048) = 1704
  377. close(53)                               = 0
  378. munmap(0xb7703000, 4096)                = 0
  379. semget(IPC_PRIVATE, 1, IPC_CREAT|0600)  = 491535
  380. semctl(491535, 0, IPC_64|SETVAL, 0xbff86bc8) = 0
  381. geteuid32()                             = 0
  382. semctl(491535, 0, IPC_64|IPC_SET, 0xbff86ba8) = 0
  383. gettimeofday({1470995397, 783902}, NULL) = 0
  384. write(2, "[Fri Aug 12 12:49:57 2016] [info] Init: Initializing (virtual) servers for SSL\n", 79) = 79
  385. gettimeofday({1470995397, 784197}, NULL) = 0
  386. write(8, "[Fri Aug 12 12:49:57 2016] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)\n", 111) = 111
  387. gettimeofday({1470995397, 784267}, NULL) = 0
  388. write(8, "[Fri Aug 12 12:49:57 2016] [warn] RSA server certificate CommonName (CN) `domain.com' does NOT match server name!?\n", 115) = 115
  389. open("/etc/pki/tls/certs/localhost.crt", O_RDONLY|O_LARGEFILE) = 53
  390. fstat64(53, {st_mode=S_IFREG|0600, st_size=1127, ...}) = 0
  391. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  392. read(53, "-----BEGIN CERTIFICATE-----\nMIIDEzCCAnygAwIBAgICPjwwDQYJKoZIhvcNAQEFBQAwgaUxCzAJBgNVBAYTAi0t\nMRIwEAYDVQQIDAlTb21lU3RhdGUxETAPBgNVBAcMCFNvbWVDaXR5MRkwFwYDVQQK\nDBBTb21lT3JnYW5pemF0aW9uMR8wHQYDVQQLDBZTb21lT3JnYW5pemF0aW9uYWxV\nbml0MRMwEQYDVQQDDApkb21haW4uY29tMR4wHAYJKoZIhvcNAQkBFg9yb290QGRv\nbWFpbi5jb20wHhcNMTExMDA2MTE0MDUxWhcNMTIxMDA1MTE0MDUxWjCBpTELMAkG\nA1UEBhMCLS0xEjAQBgNVBAgMCVNvbWVTdGF0ZTERMA8GA1UEBwwIU29tZUNpdHkx\nGTAXBgNVBAoMEFNvbWVPcmdhbml6YXRpb24xHzAdBgNVBAsMFlNvbWVPcmdhbml6\nYXRpb25hbFVuaXQxEzARBgNVBAMMCmRvbWFpbi5jb20xHjAcBgkqhkiG9w0BCQEW\nD3Jvb3RAZG9tYWluLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAsHT2\n/UaEVEb8j7YdhQDJAH3FqcgKuML7B/AUWZIiN8VJ09t8+9ZH6vTyVMqiAmurvQlW\nQBuSg5X7t2eFhn0vjk/HBPJrIE98mWo8YC5veeDIUxAgoYmjL6ch3tEDove3jjvA\ntOCWS+dCqCKmbETmhUUAnW2KDDOOJ8K1UthfCW8CAwEAAaNQME4wHQYDVR0OBBYE\nFMK651PGTlrbosfgbRIv35uR341UMB8GA1UdIwQYMBaAFMK651PGTlrbosfgbRIv\n35uR341UMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAf4ILKG0zBqMT\nhUr+mVyX2QYLXbSAnIof6aT+e7tUR0e13NfFw02dwLV425Jw4qPOlAM3izOE1dIb\nAvWLQ2vNk6WE34sOhx6YNiRBRsyJSUHUYsaMjh4jg2EK1iqrr1/aTNPgAtGQC6JO\novVsWXjEDeOJY0dHeQWa6b1qM7uM5ms=\n-----END CERTIFICATE-----\n", 1536) = 1127
  393. read(53, "", 1536)                      = 0
  394. close(53)                               = 0
  395. munmap(0xb7703000, 4096)                = 0
  396. open("/etc/pki/tls/certs/localhost.crt", O_RDONLY|O_LARGEFILE) = 53
  397. fstat64(53, {st_mode=S_IFREG|0600, st_size=1127, ...}) = 0
  398. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7703000
  399. read(53, "-----BEGIN CERTIFICATE-----\nMIIDEzCCAnygAwIBAgICPjwwDQYJKoZIhvcNAQEFBQAwgaUxCzAJBgNVBAYTAi0t\nMRIwEAYDVQQIDAlTb21lU3RhdGUxETAPBgNVBAcMCFNvbWVDaXR5MRkwFwYDVQQK\nDBBTb21lT3JnYW5pemF0aW9uMR8wHQYDVQQLDBZTb21lT3JnYW5pemF0aW9uYWxV\nbml0MRMwEQYDVQQDDApkb21haW4uY29tMR4wHAYJKoZIhvcNAQkBFg9yb290QGRv\nbWFpbi5jb20wHhcNMTExMDA2MTE0MDUxWhcNMTIxMDA1MTE0MDUxWjCBpTELMAkG\nA1UEBhMCLS0xEjAQBgNVBAgMCVNvbWVTdGF0ZTERMA8GA1UEBwwIU29tZUNpdHkx\nGTAXBgNVBAoMEFNvbWVPcmdhbml6YXRpb24xHzAdBgNVBAsMFlNvbWVPcmdhbml6\nYXRpb25hbFVuaXQxEzARBgNVBAMMCmRvbWFpbi5jb20xHjAcBgkqhkiG9w0BCQEW\nD3Jvb3RAZG9tYWluLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAsHT2\n/UaEVEb8j7YdhQDJAH3FqcgKuML7B/AUWZIiN8VJ09t8+9ZH6vTyVMqiAmurvQlW\nQBuSg5X7t2eFhn0vjk/HBPJrIE98mWo8YC5veeDIUxAgoYmjL6ch3tEDove3jjvA\ntOCWS+dCqCKmbETmhUUAnW2KDDOOJ8K1UthfCW8CAwEAAaNQME4wHQYDVR0OBBYE\nFMK651PGTlrbosfgbRIv35uR341UMB8GA1UdIwQYMBaAFMK651PGTlrbosfgbRIv\n35uR341UMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAf4ILKG0zBqMT\nhUr+mVyX2QYLXbSAnIof6aT+e7tUR0e13NfFw02dwLV425Jw4qPOlAM3izOE1dIb\nAvWLQ2vNk6WE34sOhx6YNiRBRsyJSUHUYsaMjh4jg2EK1iqrr1/aTNPgAtGQC6JO\novVsWXjEDeOJY0dHeQWa6b1qM7uM5ms=\n-----END CERTIFICATE-----\n", 1536) = 1127
  400. read(53, "", 1536)                      = 0
  401. close(53)                               = 0
  402. munmap(0xb7703000, 4096)                = 0
  403. gettimeofday({1470995397, 784894}, NULL) = 0
  404. write(9, "[Fri Aug 12 12:49:57 2016] [error] Unable to configure RSA server private key\n", 78) = 78
  405. gettimeofday({1470995397, 784978}, NULL) = 0
  406. write(9, "[Fri Aug 12 12:49:57 2016] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch\n", 148) = 148
  407. exit_group(1)                           = ?
  408. +++ exited with 1 +++
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top