From 38a26771a2a8617a4d5cbce26aa9733fa668cafe Mon Sep 17 00:00:00 2001 From: ThisALV Date: Wed, 14 Apr 2021 12:13:37 +0200 Subject: [PATCH] magic: Added additional PE mime types (#10) * Fix : Added pragma for multiple PE MIME types. * Use magic db instead of application/octet-stream MIME-type. * Fix: Adds mime-type descriptions --- magic/portable_executable_magic | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 magic/portable_executable_magic diff --git a/magic/portable_executable_magic b/magic/portable_executable_magic new file mode 100644 index 0000000..4a3afeb --- /dev/null +++ b/magic/portable_executable_magic @@ -0,0 +1,6 @@ +# A libmagic database containing definition for PE files used by MS-DOS based systems + +# MS-DOS Portable Executable +0x0 string/b MZ MS-DOS Binary +>(0x3c.l) string/b PE\0\0 Portable Executable +!:mime application/x-dosexec