file/file-5.12-zip.dif
2013-01-22 16:19:33 +00:00

23 lines
899 B
Plaintext

--- magic/Magdir/archive
+++ magic/Magdir/archive 2013-01-22 14:56:24.865452717 +0000
@@ -592,6 +592,19 @@
# Zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
0 string PK\005\006 Zip archive data (empty)
0 string PK\003\004
+>30 ubelong !0x6d696d65
+>>4 byte 0x00 Zip archive data
+!:mime application/zip
+>>4 byte 0x09 Zip archive data, at least v0.9 to extract
+!:mime application/zip
+>>4 byte 0x0a Zip archive data, at least v1.0 to extract
+!:mime application/zip
+>>4 byte 0x0b Zip archive data, at least v1.1 to extract
+!:mime application/zip
+>>0x161 string WINZIP Zip archive data, WinZIP self-extracting
+!:mime application/zip
+>>4 byte 0x14 Zip archive data, at least v2.0 to extract
+!:mime application/zip
# Specialised zip formats which start with a member named 'mimetype'
# (stored uncompressed, with no 'extra field') containing the file's MIME type.