]>
granicus.if.org Git - file/log
Christos Zoulas [Fri, 25 Oct 2019 20:15:49 +0000 (20:15 +0000)]
handle thm gallery files used by {Star,Open,Libre}-Office (Joerg Jenderek)
Christos Zoulas [Mon, 21 Oct 2019 19:40:58 +0000 (19:40 +0000)]
From Michael Hansen:
Add support for older (<1.5) python bytecode versions, and also adds magic
numbers for the unicode variants of Python 1.6-2.7 bytecode.
Christos Zoulas [Sat, 19 Oct 2019 19:05:28 +0000 (19:05 +0000)]
add cheesecutter from alexmyczko
Christos Zoulas [Fri, 18 Oct 2019 15:21:02 +0000 (15:21 +0000)]
From Greg Wildman:
Patch attached to detect Diversi DOS and fix the 2MG ProDOS block size.
$ file *
4live-v4.0.dsk: Apple Diversi Dos Image, Volume 254, 35 Tracks, \
16 Sectors, 256 bytes per sector
anti-m-v1.5-2019-06-11.dsk: data
Passport.
20190616 .dsk: Apple ProDOS Image, Volume /PASSPORT, 280 Blocks
Pitch-Dark-
20180731 .2mg: Apple ][ 2IMG Disk Image, CiderPress, \
ProDOS sector order, Volume /PITCH.DARK, 65535 Blocks
Total Replay revision 1.2mg: Apple ][ 2IMG Disk Image, Brutal Deluxe's \
Cadius, ProDOS sector order, Volume /A.4AM.PACK, 65532 Blocks
Total Replay v2.0.2mg: Apple ][ 2IMG Disk Image, CiderPress, \
ProDOS sector order, Volume /A.4AM.PACK, 65535 Blocks
Christos Zoulas [Fri, 18 Oct 2019 15:16:18 +0000 (15:16 +0000)]
From John Villalovos:
Support ARM64 Linux vmlinux files Version 2. Changes from the first
one is to pull out the PE (Portable Executable) check so that it is
checked as long as it is an MS-DOS file (based on MZ being the first
two bytes of the file). Unfortunately it made the patch size quite
large
Currently 'file' only says that the ARM64 Linux vmlinux files are MS-DOS
executables. They are in fact PE files that are used to boot via
UEFI.
Here is a before and after showing the difference with and without the patch.
$ file vmlinux
linux: MS-DOS executable
$ file -m msdos vmlinux
linux: MS-DOS executable PE PE32+ executable (EFI application) ARM64
(stripped to external PDB), for MS Windows
Info of the vmlinux file:
$ head -c 256 vmlinux | xxd
00000000 : 4d5a 0091 ffbf 2d14 0000 0800 0000 0000 MZ....-.........
00000010 : 0020 2601 0000 0000 0a00 0000 0000 0000 . &.............
00000020 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000030 : 0000 0000 0000 0000 4152 4d64 4000 0000 ........ARMd@...
00000040 : 5045 0000 64aa 0200 0000 0000 0000 0000 PE..d...........
00000050 : 0000 0000 a000 0602 0b02 0214 0010 c300 ................
00000060 : 0000 6300 0000 0000 e85a b700 0010 0000 ..c......Z......
00000070 : 0000 0000 0000 0000 0010 0000 0002 0000 ................
00000080 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000090 : 0020 2601 0010 0000 23a2 1d01 0a00 0000 . &.....#.......
000000a0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
000000b0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
000000c0 : 0000 0000 0600 0000 0000 0000 0000 0000 ................
000000d0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
000000e0 : 0000 0000 0000 0000 0032 1d01 7005 0000 .........2..p...
000000f0 : 0000 0000 0000 0000 2e74 6578 7400 0000 .........text...
An example file of this type can be found here:
http://ftp.nl.debian.org/debian/dists/buster/main/installer-arm64/current/images/netboot/netboot.tar.gz
Christos Zoulas [Thu, 17 Oct 2019 17:56:57 +0000 (17:56 +0000)]
Corrections from Michal Janiszewski
Christos Zoulas [Thu, 17 Oct 2019 15:38:20 +0000 (15:38 +0000)]
more cpu's for PE formats. (Michal Janiszewski)
Christos Zoulas [Tue, 15 Oct 2019 18:19:40 +0000 (18:19 +0000)]
fix magic (mime/ext) for GIMP files (Joerg Jenderek)
Christos Zoulas [Tue, 15 Oct 2019 18:04:40 +0000 (18:04 +0000)]
new magic from xdelaruelle
Christos Zoulas [Tue, 15 Oct 2019 18:00:40 +0000 (18:00 +0000)]
use __FSECTION__ (ferdnyc)
Christos Zoulas [Tue, 15 Oct 2019 17:59:43 +0000 (17:59 +0000)]
Add more ScreamTracker from alexmyczko
Elan Ruusam�e [Mon, 14 Oct 2019 22:01:15 +0000 (22:01 +0000)]
Correctly detect hppa1.0 binaries created by GNU binutils (BFD)
Christos Zoulas [Fri, 11 Oct 2019 14:35:29 +0000 (14:35 +0000)]
score down the rest of the interpreters so that better language-specific
matches take precedence.
Christos Zoulas [Tue, 8 Oct 2019 20:25:13 +0000 (20:25 +0000)]
PR/112: connesc: move mime magic higher so that it always takes effect.
Christos Zoulas [Fri, 4 Oct 2019 18:46:29 +0000 (18:46 +0000)]
Add simple git object detection
Christos Zoulas [Fri, 4 Oct 2019 18:07:46 +0000 (18:07 +0000)]
Use the number of sections to disambiguate zlib compressed files from VAX
coff binaries.
Christos Zoulas [Wed, 2 Oct 2019 02:07:30 +0000 (02:07 +0000)]
Another flavor of Raspberry PI image
Christos Zoulas [Mon, 30 Sep 2019 15:58:24 +0000 (15:58 +0000)]
Add OpenFST magic from Martin Jansche
Christos Zoulas [Mon, 30 Sep 2019 15:50:51 +0000 (15:50 +0000)]
PR/107: lukas.hartman: Add entries for squashfs compression algorithms from:
https://sourceforge.net/p/squashfs/code/ci/master/tree/squashfs-tools/\
squashfs_fs.h#l295
While here merge the big and little endian entries.
Christos Zoulas [Mon, 30 Sep 2019 15:44:22 +0000 (15:44 +0000)]
PR/108: izhidkov: Use image/svg+xml from gnucash per:
https://www.w3.org/TR/SVGTiny12/mimereg.html
Christos Zoulas [Mon, 23 Sep 2019 13:04:02 +0000 (13:04 +0000)]
PR/106: Chuck Hein: Add ILDA magic
Christos Zoulas [Thu, 19 Sep 2019 01:04:01 +0000 (01:04 +0000)]
since we don't have a .md file for now just provide the URL.
Christos Zoulas [Thu, 19 Sep 2019 00:35:52 +0000 (00:35 +0000)]
Add OSS-FUZZ info and new csv file.
Christos Zoulas [Wed, 18 Sep 2019 19:20:48 +0000 (19:20 +0000)]
new openssh key revocation magic (Christoph Biedl)
Christos Zoulas [Thu, 12 Sep 2019 16:03:37 +0000 (16:03 +0000)]
add homebrew (lighe)
Christos Zoulas [Thu, 12 Sep 2019 15:53:49 +0000 (15:53 +0000)]
PR/101: crocket: handle UTF-8 pdf with bom
Christos Zoulas [Wed, 11 Sep 2019 21:20:56 +0000 (21:20 +0000)]
Add device tree files.
Christos Zoulas [Wed, 11 Sep 2019 15:46:30 +0000 (15:46 +0000)]
PR/102: Sergei: save the locale string in our own storage so that we own it.
Christos Zoulas [Wed, 11 Sep 2019 15:20:12 +0000 (15:20 +0000)]
PR/103: stokito: application/x-zstd -> application/zstd per standards amendment:
https://www.iana.org/assignments/media-types/application/zstd
Christos Zoulas [Mon, 26 Aug 2019 14:31:39 +0000 (14:31 +0000)]
Limit the number of elements in a vector (found by oss-fuzz)
Christos Zoulas [Fri, 23 Aug 2019 14:29:14 +0000 (14:29 +0000)]
Detect multiplication overflow when computing sector position
(found by oss-fuzz)
Christos Zoulas [Sat, 10 Aug 2019 13:39:44 +0000 (13:39 +0000)]
Improve corel draw detection and use "default" instead of the !regexs to
exclude other files (Joerg Jenderek)
Christos Zoulas [Sat, 10 Aug 2019 13:34:17 +0000 (13:34 +0000)]
improve Bentley/Intergraph MicroStation "dgn" file detection (Joerg Jenderek)
Christos Zoulas [Mon, 5 Aug 2019 10:34:26 +0000 (10:34 +0000)]
PR/96: coala_man: Add Hermes bytecode magic
Christos Zoulas [Sat, 3 Aug 2019 11:51:59 +0000 (11:51 +0000)]
always accept --no-sandbox/-S (Christoph Biedl)
Christos Zoulas [Fri, 2 Aug 2019 18:08:18 +0000 (18:08 +0000)]
move all ole2 signatures to ole2compounddocs and add more signatures.
(Joerg Jenderek)
Christos Zoulas [Fri, 2 Aug 2019 17:57:41 +0000 (17:57 +0000)]
Fix documentation in comment (Christoph Biedl)
Christos Zoulas [Tue, 23 Jul 2019 21:33:45 +0000 (21:33 +0000)]
PR/93: iaeiaeiaeiae: Do as the comment says, and count as dynamically linked
only the binaries that have an interpreter, not the ones that contain a
dynamic section. Fixes issue with -static-pie from gcc-9.x
Christos Zoulas [Sun, 21 Jul 2019 11:42:09 +0000 (11:42 +0000)]
use a switch and defined constants.
Christos Zoulas [Sun, 21 Jul 2019 09:58:53 +0000 (09:58 +0000)]
PR/92: ulm: Strengthen the PSF magic
Christos Zoulas [Sun, 21 Jul 2019 09:40:17 +0000 (09:40 +0000)]
PR/91: avellable: Add period to the regex for the 'require' keyword
Christos Zoulas [Thu, 18 Jul 2019 20:32:06 +0000 (20:32 +0000)]
Add lzma and bzip built-in decompression support (Christoph Biedl)
Christos Zoulas [Thu, 18 Jul 2019 15:43:54 +0000 (15:43 +0000)]
Add lzma decompression support (Christoph Biedl)
Christos Zoulas [Tue, 16 Jul 2019 13:30:32 +0000 (13:30 +0000)]
Fix device handling on --apple (Christoph Biedl)
Christos Zoulas [Tue, 16 Jul 2019 11:11:31 +0000 (11:11 +0000)]
Improve detection of gdos fonts from Joerg Jenderek, still commented out.
Christos Zoulas [Sat, 13 Jul 2019 16:26:48 +0000 (16:26 +0000)]
document that -S now is a no-op on systems that don't support it and fix a typo.
Christos Zoulas [Sat, 13 Jul 2019 16:23:58 +0000 (16:23 +0000)]
always support the --no-sandbox option.
Christos Zoulas [Sun, 7 Jul 2019 22:39:36 +0000 (22:39 +0000)]
Add Android cryptfs footer magic (v3l0c1r4pt0r)
Christos Zoulas [Sat, 6 Jul 2019 19:49:00 +0000 (19:49 +0000)]
Better support for BMP files (Joerg Jenderek)
Christos Zoulas [Sat, 6 Jul 2019 19:31:36 +0000 (19:31 +0000)]
disable GEM GDOS fonts for now, needs to be stronger.
Christos Zoulas [Sat, 6 Jul 2019 19:25:06 +0000 (19:25 +0000)]
Don't print the string entry unless the zip entry matched (Christoph Biedl)
Christos Zoulas [Fri, 5 Jul 2019 19:24:39 +0000 (19:24 +0000)]
fix extra space
Christos Zoulas [Fri, 5 Jul 2019 19:21:18 +0000 (19:21 +0000)]
new test from Andrew Childs
Christos Zoulas [Fri, 5 Jul 2019 19:20:38 +0000 (19:20 +0000)]
Beat GEMDOS files (see new unit test "cl8m8ocofedso"), and reformat for
brevity.
Christos Zoulas [Thu, 4 Jul 2019 14:02:41 +0000 (14:02 +0000)]
Add RISC-V to uboot (Andreas Schwab)
Christos Zoulas [Wed, 3 Jul 2019 15:37:08 +0000 (15:37 +0000)]
"dib" BMP image support (Joerg Jenderek)
Christos Zoulas [Wed, 3 Jul 2019 15:33:20 +0000 (15:33 +0000)]
Add umask(2) (from Shankara Pailoor)
Christos Zoulas [Sun, 30 Jun 2019 21:37:40 +0000 (21:37 +0000)]
Support for OS/2v2 bitmap files (Joerg Jenderek)
Christos Zoulas [Sat, 29 Jun 2019 22:34:22 +0000 (22:34 +0000)]
Recognize Adobe BMP images (Joerg Jenderek)
Christos Zoulas [Sat, 29 Jun 2019 22:31:04 +0000 (22:31 +0000)]
We now support negative level 0 offsets (from the end of the file), so this
code will not be re-enabled (petk)
Christos Zoulas [Sat, 29 Jun 2019 22:29:03 +0000 (22:29 +0000)]
Remove AC_C_CONST (petk)
Christos Zoulas [Wed, 26 Jun 2019 20:31:31 +0000 (20:31 +0000)]
Limit the CSV test to text files and say so...
Christos Zoulas [Mon, 24 Jun 2019 23:56:24 +0000 (23:56 +0000)]
Move the Icon MS Window data to OS/2 Bitmap array and expand on it
(Joerg Jenderek)
Christos Zoulas [Mon, 24 Jun 2019 23:50:11 +0000 (23:50 +0000)]
Add OS/2 pointer images (Joerg Jenderek)
Christos Zoulas [Mon, 24 Jun 2019 23:40:03 +0000 (23:40 +0000)]
Don't allow lines with no fields before or after the number of fields has
been set.
Christos Zoulas [Mon, 24 Jun 2019 20:07:36 +0000 (20:07 +0000)]
increment nl when we don't have CSV_LINES
require that we have > 0 fields for CSV
Christos Zoulas [Fri, 21 Jun 2019 20:06:05 +0000 (20:06 +0000)]
Update RMAIL (Joerg Jenderek)
Christos Zoulas [Fri, 21 Jun 2019 16:44:23 +0000 (16:44 +0000)]
Allow only the ioctls we use (Shankara Pailoor)
Christos Zoulas [Wed, 19 Jun 2019 15:19:09 +0000 (15:19 +0000)]
Better OS/2 icon detection (Joerg Jenderek)
Christos Zoulas [Sun, 16 Jun 2019 14:59:35 +0000 (14:59 +0000)]
re-enable the ICO image code, it is a bit stronger now (Joerg Jenderek)
XXX: perhaps not strong enough...
Christos Zoulas [Sun, 16 Jun 2019 00:15:32 +0000 (00:15 +0000)]
PR/86: Make BINK a bit stronger and support v2
Christos Zoulas [Fri, 14 Jun 2019 20:12:00 +0000 (20:12 +0000)]
make the dbase entry stricter so that it has less chance misidentifying
xbase memo files (Joerg Jenderek)
Christos Zoulas [Thu, 13 Jun 2019 11:45:44 +0000 (11:45 +0000)]
remove junk
Christos Zoulas [Mon, 10 Jun 2019 22:52:31 +0000 (22:52 +0000)]
Help older parsers.
Christos Zoulas [Mon, 10 Jun 2019 21:35:26 +0000 (21:35 +0000)]
Set buffer to NULL to prevent double free (Kamil Dudka at redhat)
Christos Zoulas [Sat, 8 Jun 2019 22:16:57 +0000 (22:16 +0000)]
Add a simple CSV detector
Christos Zoulas [Sat, 8 Jun 2019 22:16:24 +0000 (22:16 +0000)]
PR/85: Add a simple CSV detector
Christos Zoulas [Sat, 8 Jun 2019 20:53:32 +0000 (20:53 +0000)]
new pmem magic (from marcinslusarz)
Christos Zoulas [Sat, 8 Jun 2019 20:50:51 +0000 (20:50 +0000)]
two new pcap types (from fxlb)
Christos Zoulas [Sat, 8 Jun 2019 20:49:14 +0000 (20:49 +0000)]
remove redundant memory.h (from petk)
Christos Zoulas [Sat, 8 Jun 2019 12:17:45 +0000 (12:17 +0000)]
add as a comment where this information was found
Christos Zoulas [Thu, 6 Jun 2019 19:18:16 +0000 (19:18 +0000)]
Recognize non-recovery LOKI android images and tell the difference between
boot and recovery images. (Kevin Mark)
Christos Zoulas [Thu, 6 Jun 2019 19:14:20 +0000 (19:14 +0000)]
Add forth magic from Lubomir Rintel
Christos Zoulas [Sun, 2 Jun 2019 15:25:40 +0000 (15:25 +0000)]
More detailed magic for early versions of Microsoft Word and Write.
From Joerg Jenderek
Christos Zoulas [Wed, 29 May 2019 02:03:02 +0000 (02:03 +0000)]
Add some more bittorent patterns from Christian Biere in the NetBSD gnats
Christos Zoulas [Mon, 27 May 2019 01:34:02 +0000 (01:34 +0000)]
PR/82: David Korth: Added a check for ICE-compressed SNDH audio files.
Christos Zoulas [Mon, 27 May 2019 01:33:32 +0000 (01:33 +0000)]
PR/82: David Korth: Added Xbox 360 packages.
Christos Zoulas [Mon, 27 May 2019 01:32:41 +0000 (01:32 +0000)]
PR/82: David Korth: Added Xbox 360 XEX1 executables. (early devkits)
Christos Zoulas [Mon, 27 May 2019 01:32:08 +0000 (01:32 +0000)]
PR/82: David Korth: Split XEX region code into its own rule; display
the 32-bit media ID.
Christos Zoulas [Mon, 27 May 2019 01:31:07 +0000 (01:31 +0000)]
PR/82: David Korth: VGM: Added YMZ284 and YMZ294 variants for AY-3-8910.
Christos Zoulas [Mon, 27 May 2019 01:30:28 +0000 (01:30 +0000)]
PR/82: GerbilSoft: Added MIME types and file extensions for XBE and XEX
Christos Zoulas [Mon, 27 May 2019 01:27:31 +0000 (01:27 +0000)]
Pr/79: cisba: new opentimestamps magic
Christos Zoulas [Sun, 26 May 2019 20:10:13 +0000 (20:10 +0000)]
Handle Apple Diskcopy Images (Joerg Jenderek)
Christos Zoulas [Fri, 24 May 2019 17:17:31 +0000 (17:17 +0000)]
Recognize pre OLE2 (CDF) Microsoft Word files (Joerg Jenderek)
Christos Zoulas [Tue, 21 May 2019 04:50:10 +0000 (04:50 +0000)]
Revert https changes that were part of the magic string (Rico Elm)
Christos Zoulas [Mon, 20 May 2019 17:25:09 +0000 (17:25 +0000)]
New SOSI magic from Petter Reinholdtsen
Christos Zoulas [Fri, 17 May 2019 02:27:26 +0000 (02:27 +0000)]
Welcome to file-5.37
Christos Zoulas [Fri, 17 May 2019 02:24:59 +0000 (02:24 +0000)]
add cast for C++ build.
Christos Zoulas [Thu, 9 May 2019 19:19:34 +0000 (19:19 +0000)]
new changes
Christos Zoulas [Thu, 9 May 2019 18:58:57 +0000 (18:58 +0000)]
Arrange to print separators if we keep going.