]>
granicus.if.org Git - file/log
Christos Zoulas [Thu, 28 Mar 2019 20:54:03 +0000 (20:54 +0000)]
remove setlocale check (petk)
Christos Zoulas [Thu, 28 Mar 2019 20:52:43 +0000 (20:52 +0000)]
remove strerror check (petk)
Christos Zoulas [Thu, 28 Mar 2019 12:36:01 +0000 (12:36 +0000)]
Add edid detection from Mubashshir
Christos Zoulas [Tue, 26 Mar 2019 12:46:35 +0000 (12:46 +0000)]
Don't call fmtcheck if we don't have any formatting chars.
Christos Zoulas [Wed, 13 Mar 2019 02:57:20 +0000 (02:57 +0000)]
move WIM from msdos to windows and improve it (Joerg Jenderek)
Christos Zoulas [Wed, 13 Mar 2019 02:55:07 +0000 (02:55 +0000)]
Add more extensions (Joerg Jenderek)
Christos Zoulas [Tue, 12 Mar 2019 20:43:05 +0000 (20:43 +0000)]
cleanup __arraycount
Christos Zoulas [Fri, 8 Mar 2019 13:38:15 +0000 (13:38 +0000)]
remove double an (Masanobu Saitoh)
Christos Zoulas [Thu, 7 Mar 2019 17:21:54 +0000 (17:21 +0000)]
PR/70: v3l0c1r4pt0r: Add AIX backup and package format detection
Christos Zoulas [Sun, 3 Mar 2019 17:13:34 +0000 (17:13 +0000)]
More sniffer packet types from fxlb
Christos Zoulas [Sun, 3 Mar 2019 17:11:28 +0000 (17:11 +0000)]
Improve detection of debian archives (Joerg Jenderek)
Christos Zoulas [Sun, 3 Mar 2019 14:59:41 +0000 (14:59 +0000)]
oops forgot the default entry.
Christos Zoulas [Sun, 3 Mar 2019 02:44:32 +0000 (02:44 +0000)]
- stdint.h was checked twice (duplicated check removed)
- stddef.h and limits.h are part of the C89+ standard (symbols in code
have already been fixed and removed).
(Peter Kokot)
Christos Zoulas [Sun, 3 Mar 2019 02:35:32 +0000 (02:35 +0000)]
Print linktype value default match
Moreover, c`apture length is unsigned, thus use %u.
(fxlb)
Christos Zoulas [Sun, 3 Mar 2019 02:32:40 +0000 (02:32 +0000)]
remove duplicate line (chefe)
Christos Zoulas [Sun, 3 Mar 2019 02:31:17 +0000 (02:31 +0000)]
Autoconf's default includes (4th argument of AC_CHECK_MEMBERS) don't
include <time.h> and therefore the struct member didn't get recognized.
(Peter Kokot)
Christos Zoulas [Sat, 2 Mar 2019 01:08:10 +0000 (01:08 +0000)]
PR/69: Only consider arrays > 1 element when quickly figuring out if a
file is JSON.
Christos Zoulas [Thu, 28 Feb 2019 12:52:56 +0000 (12:52 +0000)]
Simplify and always return if not found (found by OSS-fuzz)
Christos Zoulas [Thu, 28 Feb 2019 00:53:41 +0000 (00:53 +0000)]
fix syntax
Christos Zoulas [Thu, 28 Feb 2019 00:52:57 +0000 (00:52 +0000)]
More and fixes to existing apple formats from Greg Wildman
Christos Zoulas [Wed, 27 Feb 2019 16:54:27 +0000 (16:54 +0000)]
recent fixes
Christos Zoulas [Wed, 27 Feb 2019 16:52:23 +0000 (16:52 +0000)]
Use memmem to speed up searches if available (Michael Schroeder)
Christos Zoulas [Wed, 27 Feb 2019 16:46:23 +0000 (16:46 +0000)]
Prefix regex magic with search for keywords first for efficiency
(Michael Schroeder)
Christos Zoulas [Sun, 24 Feb 2019 18:12:04 +0000 (18:12 +0000)]
Allow madvise too, since it is used in some malloc implementations
(Leandro Pereira)
Christos Zoulas [Sat, 23 Feb 2019 21:54:05 +0000 (21:54 +0000)]
cast to unsigned first to appease ubsan (oss-fuzz)
Christos Zoulas [Sat, 23 Feb 2019 01:16:37 +0000 (01:16 +0000)]
Added Microsoft Xbox 360 XEX executable magic. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:36 +0000 (01:16 +0000)]
Xbox executable: Explicitly specify '.l' for (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:35 +0000 (01:16 +0000)]
Xbox executables: Show the game title and (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:34 +0000 (01:16 +0000)]
Added Microsoft Xbox XPR0 textures. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:33 +0000 (01:16 +0000)]
Added Nintendo 3DS BCWAV format. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:32 +0000 (01:16 +0000)]
Correctly escape the '^' for (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:31 +0000 (01:16 +0000)]
Added Nintendo Wii U BFSTM format. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:30 +0000 (01:16 +0000)]
Fixed MIME type and file extension for BCSTM. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:29 +0000 (01:16 +0000)]
Added Nintendo 3DS BCSTM format. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:28 +0000 (01:16 +0000)]
Added Nintendo Wii BRSTM format. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:27 +0000 (01:16 +0000)]
ADX: Fix AHX format ID; added AHX (Dreamcast). (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:26 +0000 (01:16 +0000)]
Added Atari 8-bit SAP format. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:25 +0000 (01:16 +0000)]
MIME type and extension for VGM must be after (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:24 +0000 (01:16 +0000)]
Added MIME types for VGM and PSF. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:23 +0000 (01:16 +0000)]
Added Portable Sound Format. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:22 +0000 (01:16 +0000)]
Added VGM 1.61 and 1.71 sound chips. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:21 +0000 (01:16 +0000)]
Missing '>' in PVR (Xbox) with GBIX. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:20 +0000 (01:16 +0000)]
Added PowerVR 3.0 textures. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:19 +0000 (01:16 +0000)]
Added unofficial MIME types for Wii and (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:18 +0000 (01:16 +0000)]
Prevent conflicts with CRI ADX and Targa images. (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:17 +0000 (01:16 +0000)]
Added a MIME type and default file extension for (GerbiSoft)
Christos Zoulas [Sat, 23 Feb 2019 01:16:16 +0000 (01:16 +0000)]
Added Scaleform video. (*.usm) (GerbiSoft)
Christos Zoulas [Wed, 20 Feb 2019 16:15:47 +0000 (16:15 +0000)]
fix casts and bounds check (found by oss-fuzz)
Christos Zoulas [Wed, 20 Feb 2019 15:17:11 +0000 (15:17 +0000)]
update version
Christos Zoulas [Wed, 20 Feb 2019 15:07:44 +0000 (15:07 +0000)]
make empty zip beat regular zip again.
Christos Zoulas [Wed, 20 Feb 2019 02:35:27 +0000 (02:35 +0000)]
use c++ casts everywhere.
Christos Zoulas [Tue, 19 Feb 2019 20:34:57 +0000 (20:34 +0000)]
mention recent fixes
Christos Zoulas [Tue, 19 Feb 2019 20:34:42 +0000 (20:34 +0000)]
update comment
Christos Zoulas [Tue, 19 Feb 2019 20:30:35 +0000 (20:30 +0000)]
PR/61: tmc: Add UCS-32 built-in detection.
Christos Zoulas [Mon, 18 Feb 2019 18:59:25 +0000 (18:59 +0000)]
Mention that the apple filetype/creator is only available for entries that
have it (Kamil Dudka)
Christos Zoulas [Mon, 18 Feb 2019 17:58:50 +0000 (17:58 +0000)]
fix type
Christos Zoulas [Mon, 18 Feb 2019 17:46:56 +0000 (17:46 +0000)]
PR/62: spinpx: limit size of file_printable.
Christos Zoulas [Mon, 18 Feb 2019 17:30:41 +0000 (17:30 +0000)]
PR/62: spinpx: Avoid non-nul-terminated string read.
Christos Zoulas [Mon, 18 Feb 2019 16:53:11 +0000 (16:53 +0000)]
PR/59: magicus: Add java module and image magic.
Christos Zoulas [Sat, 16 Feb 2019 14:01:25 +0000 (14:01 +0000)]
Add Foxit (pdf reader) add on format (Joerg Jenderek)
Christos Zoulas [Thu, 14 Feb 2019 00:25:59 +0000 (00:25 +0000)]
Fix indirect offset overflow calculation (B. Watson)
Christos Zoulas [Sat, 9 Feb 2019 17:56:01 +0000 (17:56 +0000)]
new remarkable format from ax3l at github
Christos Zoulas [Sat, 9 Feb 2019 17:52:18 +0000 (17:52 +0000)]
update location and name from fxlb at github
Christos Zoulas [Wed, 6 Feb 2019 00:20:56 +0000 (00:20 +0000)]
say this contains libmagic too.
Christos Zoulas [Fri, 1 Feb 2019 17:58:48 +0000 (17:58 +0000)]
For dynamic binaries let the df_1 pie flag determine if we are pie or a shared
object, and ignore the mode bits.
Christos Zoulas [Tue, 22 Jan 2019 16:28:42 +0000 (16:28 +0000)]
Add Linux PowerPC core offsets for Linux (which are off-by-4 of the regular
offsets), after the regular Linux offsets so that there is no confusion.
The linux offsets are tried first since they are before, so on PPC they
should contain binary data and not match. Addition requested by:
Ondrej Dubaj/Kamil Dudka
Christos Zoulas [Tue, 22 Jan 2019 16:17:25 +0000 (16:17 +0000)]
Make netpbm beat DOS/MBR magic again (Kamil Dudka)
Christos Zoulas [Mon, 21 Jan 2019 14:56:53 +0000 (14:56 +0000)]
fix documentation to match the source.
Christos Zoulas [Fri, 18 Jan 2019 15:48:53 +0000 (15:48 +0000)]
quote the grouping operator ({)
Christos Zoulas [Fri, 18 Jan 2019 15:39:18 +0000 (15:39 +0000)]
PR/57: Also look for docProps
Christos Zoulas [Wed, 16 Jan 2019 19:35:21 +0000 (19:35 +0000)]
Add bamboo tracker (Alex Myczko)
Christos Zoulas [Wed, 16 Jan 2019 19:33:35 +0000 (19:33 +0000)]
Add support for older PA-RISC versions (Sergei Trofimovich)
Christos Zoulas [Wed, 16 Jan 2019 19:31:06 +0000 (19:31 +0000)]
clojure magic from Jason Felice
Christos Zoulas [Sun, 13 Jan 2019 00:33:19 +0000 (00:33 +0000)]
Improve ar detection and move hp archive info here (Joerg Jenderek).
Christos Zoulas [Sun, 13 Jan 2019 00:32:38 +0000 (00:32 +0000)]
Remove ar magic which is really "!<ar", and covered by archive.
Christos Zoulas [Fri, 11 Jan 2019 21:00:26 +0000 (21:00 +0000)]
Add windows "WER" file support (Joerg Jenderek)
Christos Zoulas [Wed, 9 Jan 2019 02:59:26 +0000 (02:59 +0000)]
prettier output for Garmin VPM files (Joerg Jenderek)
Christos Zoulas [Fri, 4 Jan 2019 14:01:49 +0000 (14:01 +0000)]
handle encrypted garmin voice files (Joerg Jenderek)
Christos Zoulas [Wed, 2 Jan 2019 19:44:14 +0000 (19:44 +0000)]
Avoid OOB read (found by ASAN reported by F. Alonso)
Christos Zoulas [Tue, 1 Jan 2019 03:11:23 +0000 (03:11 +0000)]
factor out netbsd common code.
Christos Zoulas [Fri, 28 Dec 2018 00:22:34 +0000 (00:22 +0000)]
improve garmin maps (Joerg Jenderek)
Christos Zoulas [Fri, 21 Dec 2018 17:37:33 +0000 (17:37 +0000)]
Prevent misidentifying The Norton Commander Cleanup Utility as openwrt
firmware files (Joerg Jenderek)
Christos Zoulas [Sat, 15 Dec 2018 18:56:07 +0000 (18:56 +0000)]
Add VHDX file support (Joerg Jenderek)
Christos Zoulas [Tue, 11 Dec 2018 21:10:33 +0000 (21:10 +0000)]
fix name
Christos Zoulas [Tue, 11 Dec 2018 14:41:11 +0000 (14:41 +0000)]
fix cut-n-pasto for regex_max (Vsevolod Stakhov)
Christos Zoulas [Mon, 10 Dec 2018 21:06:53 +0000 (21:06 +0000)]
Add blocksize for > 2GB files.
Christos Zoulas [Mon, 10 Dec 2018 20:58:34 +0000 (20:58 +0000)]
PR/51: Use more recent font mime types per:
https://www.iana.org/assignments/media-types/media-types.xhtml#table-font
Christos Zoulas [Mon, 10 Dec 2018 20:57:41 +0000 (20:57 +0000)]
use 1,255 because of bsd "spencer" regex.
Christos Zoulas [Tue, 4 Dec 2018 14:24:01 +0000 (14:24 +0000)]
Improve android backups (Joerg Jenderek)
Christos Zoulas [Tue, 4 Dec 2018 12:12:53 +0000 (12:12 +0000)]
Version 2 and above files are better known as QCOW2 not QCOW (Ondrej Dubaj)
Christos Zoulas [Sun, 2 Dec 2018 22:35:34 +0000 (22:35 +0000)]
clamav improvements from Joerg Jenderek
Christos Zoulas [Fri, 30 Nov 2018 12:44:59 +0000 (12:44 +0000)]
Add acronis true image backup (Joerg Jenderek)
Christos Zoulas [Tue, 27 Nov 2018 20:12:21 +0000 (20:12 +0000)]
Add Avira antivirus entries (Joerg Jenderek)
Christos Zoulas [Tue, 27 Nov 2018 17:34:32 +0000 (17:34 +0000)]
Avoid over-trimming UCS16 text, and ending up losing the last character.
Christos Zoulas [Mon, 26 Nov 2018 16:24:40 +0000 (16:24 +0000)]
Add mozilla json compressed data files (Joerg Jenderek)
Christos Zoulas [Fri, 23 Nov 2018 09:46:01 +0000 (09:46 +0000)]
Better VHD detection, from joerg jenderek
Christos Zoulas [Tue, 20 Nov 2018 18:57:17 +0000 (18:57 +0000)]
new magic for configuration dump of Tasmota firmware for ESP8266 based devices
by Espressif https://github.com/arendst/Sonoff-Tasmota/
From Joerg Jenderek
Christos Zoulas [Sun, 11 Nov 2018 01:58:19 +0000 (01:58 +0000)]
Change the mime types of Microsoft icons and add a space in the description.
Joerg Jenderek
Christos Zoulas [Fri, 9 Nov 2018 17:58:28 +0000 (17:58 +0000)]
From Michal:
The most correct way to detect the format would probably be to first
check for 'STOP' at the end, read the unsigned long preceding it and use
it as (negative) offset from end of file where 'XPAKPACK' is to be
found. However, file does not seem to support that kind of lookup.
Therefore, I went for the second best thing and checking for additional
'XPAKSTOP' terminating the metadata blob.
Technically, the information could be usefully amended by stating
the compression used. However, it seems that positive offsets following
negative offsets do not work, and reversing the logic would require
a lot of repetition, so I presumed it's not worth the effort.
You can view, comment on, or merge this pull request online at:
[This note is for me to fix positive offset from starting from negative
offsets.]
Christos Zoulas [Fri, 9 Nov 2018 17:51:12 +0000 (17:51 +0000)]
Add eBPF magic from Matteo Croce