]> granicus.if.org Git - file/log
file
6 years agohandle mozilla "ja" zip files (Joerg Jenderek)
Christos Zoulas [Wed, 17 Jan 2018 12:08:36 +0000 (12:08 +0000)]
handle mozilla "ja" zip files (Joerg Jenderek)

7 years agouse pixel depth to be more selective (Joerg Jenderek)
Christos Zoulas [Fri, 12 Jan 2018 18:46:20 +0000 (18:46 +0000)]
use pixel depth to be more selective (Joerg Jenderek)

7 years agof2fs filesystems from Tuomas Tynkkynen
Christos Zoulas [Fri, 12 Jan 2018 12:35:30 +0000 (12:35 +0000)]
f2fs filesystems from Tuomas Tynkkynen

7 years agoMuch better GNU message catalog detection (Joerg Jenderek)
Christos Zoulas [Thu, 4 Jan 2018 01:21:32 +0000 (01:21 +0000)]
Much better GNU message catalog detection (Joerg Jenderek)

7 years agoadd rpi magic
Christos Zoulas [Mon, 1 Jan 2018 05:25:17 +0000 (05:25 +0000)]
add rpi magic

7 years agoFrom tgyurci:
Christos Zoulas [Fri, 29 Dec 2017 04:00:07 +0000 (04:00 +0000)]
From tgyurci:
The Salted__ string does not always end with 9, the last character depends on the next byte, which is the salt for the key. Obviously it can be any byte.

7 years agoFrom coypoop
Christos Zoulas [Thu, 28 Dec 2017 14:51:55 +0000 (14:51 +0000)]
From coypoop
- Remove return code section of manual
- New sentence, new line
- Remove whitespace at end of line.
- Reorder sections to appease mdocml -Tlint

7 years ago- remove magic.mime mention, it was only kept for compatibility and
Christos Zoulas [Mon, 25 Dec 2017 15:08:44 +0000 (15:08 +0000)]
- remove magic.mime mention, it was only kept for compatibility and
  the code will eventually be removed
- add a section explaining the exit values

7 years agodrop the limit lower to satisfy oss-fuzz 4682
Christos Zoulas [Tue, 19 Dec 2017 00:21:21 +0000 (00:21 +0000)]
drop the limit lower to satisfy oss-fuzz 4682

7 years agonew Klystron magic from Alex Myczko
Christos Zoulas [Thu, 14 Dec 2017 17:27:18 +0000 (17:27 +0000)]
new Klystron magic from Alex Myczko

7 years agoAdd $RCSID, fix name
Christos Zoulas [Thu, 14 Dec 2017 05:52:56 +0000 (05:52 +0000)]
Add $RCSID, fix name

7 years agonew tplink magic from Joerg Jenderek
Christos Zoulas [Thu, 14 Dec 2017 05:37:06 +0000 (05:37 +0000)]
new tplink magic from Joerg Jenderek

7 years agodecrease the sector limit (oss-fuzz 4577)
Christos Zoulas [Thu, 14 Dec 2017 01:43:29 +0000 (01:43 +0000)]
decrease the sector limit (oss-fuzz 4577)

7 years agoadd a gpg for dummies section.
Christos Zoulas [Wed, 6 Dec 2017 01:04:53 +0000 (01:04 +0000)]
add a gpg for dummies section.

7 years agoImprove Macbinary format (Joerg Jenderek)
Christos Zoulas [Tue, 5 Dec 2017 02:17:48 +0000 (02:17 +0000)]
Improve Macbinary format (Joerg Jenderek)

7 years agoDYI-Thermocam magic from Harald Geyer
Christos Zoulas [Tue, 28 Nov 2017 14:01:14 +0000 (14:01 +0000)]
DYI-Thermocam magic from Harald Geyer

7 years agoImprove registry file magic (Joerg Jenderek)
Christos Zoulas [Fri, 17 Nov 2017 12:44:45 +0000 (12:44 +0000)]
Improve registry file magic (Joerg Jenderek)

7 years agonew magic.
Christos Zoulas [Wed, 15 Nov 2017 12:19:06 +0000 (12:19 +0000)]
new magic.

7 years agoAdd new APFS magic
Christos Zoulas [Tue, 14 Nov 2017 15:57:38 +0000 (15:57 +0000)]
Add new APFS magic

7 years agoCorrect attribution by request.
Christos Zoulas [Tue, 14 Nov 2017 15:48:36 +0000 (15:48 +0000)]
Correct attribution by request.

7 years agoadd the original file size now that we allow continuation levels with negative
Christos Zoulas [Tue, 14 Nov 2017 15:20:13 +0000 (15:20 +0000)]
add the original file size now that we allow continuation levels with negative
offsets.

7 years agoAllow negative offsets at contination levels > 0
Christos Zoulas [Tue, 14 Nov 2017 15:19:45 +0000 (15:19 +0000)]
Allow negative offsets at contination levels > 0

7 years agoAdd _$ for more MS formats (Joerg Jenderek) examples:
Christos Zoulas [Fri, 10 Nov 2017 03:44:05 +0000 (03:44 +0000)]
Add _$ for more MS formats (Joerg Jenderek) examples:
 MS Compress archive names like: WINWORD6.IN_ HIMEM.SY_ winaspi.dl_
REMLINE.BA$ PWBBASIC.MX$

7 years agoupdate MS-DOS installation compression info;
Christos Zoulas [Fri, 10 Nov 2017 03:42:09 +0000 (03:42 +0000)]
update MS-DOS installation compression info;
http://fileformats.archiveteam.org/wiki/MS-DOS_installation_compression

update SZDD and KWAJ formats:
https://hwiegman.home.xs4all.nl/fileformats/compress/

(Joerg Jenderek)

7 years agofor negative offsets
Christos Zoulas [Sat, 4 Nov 2017 01:23:04 +0000 (01:23 +0000)]
for negative offsets

7 years agoSay that things are down and fix files list.
Christos Zoulas [Sat, 4 Nov 2017 01:19:45 +0000 (01:19 +0000)]
Say that things are down and fix files list.

7 years agoAdd readlink (valoq)
Christos Zoulas [Sat, 4 Nov 2017 01:14:25 +0000 (01:14 +0000)]
Add readlink (valoq)

7 years agotry to explain negative offsets.
Christos Zoulas [Sat, 4 Nov 2017 01:11:32 +0000 (01:11 +0000)]
try to explain negative offsets.

7 years agomore ideas
Christos Zoulas [Sat, 4 Nov 2017 00:58:57 +0000 (00:58 +0000)]
more ideas

7 years agohandle negative indirect offsets
Christos Zoulas [Fri, 3 Nov 2017 23:38:09 +0000 (23:38 +0000)]
handle negative indirect offsets

7 years agoadd zip
Christos Zoulas [Fri, 3 Nov 2017 23:37:34 +0000 (23:37 +0000)]
add zip

7 years agouse the zipversion named entry.
Christos Zoulas [Fri, 3 Nov 2017 23:36:35 +0000 (23:36 +0000)]
use the zipversion named entry.

7 years agonew zip entry with negative offsets
Christos Zoulas [Fri, 3 Nov 2017 23:36:17 +0000 (23:36 +0000)]
new zip entry with negative offsets

7 years agoAdd the end-of-file offset as a field.
Christos Zoulas [Fri, 3 Nov 2017 23:28:04 +0000 (23:28 +0000)]
Add the end-of-file offset as a field.

7 years agonegative indirect offsets are ok
Christos Zoulas [Fri, 3 Nov 2017 23:27:49 +0000 (23:27 +0000)]
negative indirect offsets are ok

7 years agodocument how to improve things
Christos Zoulas [Fri, 3 Nov 2017 14:43:28 +0000 (14:43 +0000)]
document how to improve things

7 years agoadd a new member to hold the end-of-file offset instead of hijacking another
Christos Zoulas [Fri, 3 Nov 2017 14:28:54 +0000 (14:28 +0000)]
add a new member to hold the end-of-file offset instead of hijacking another
field to hold it.

7 years ago- use entries get reset to the original buffer (from 0)
Christos Zoulas [Fri, 3 Nov 2017 02:20:12 +0000 (02:20 +0000)]
- use entries get reset to the original buffer (from 0)
- use msetoffset to figure out which buffer to use
- ms->offset is always positive again.

7 years agomore support for negative buffers.
Christos Zoulas [Fri, 3 Nov 2017 00:18:55 +0000 (00:18 +0000)]
more support for negative buffers.

7 years ago- Encapsulate the buffer, size and file descriptor in a struct buffer.
Christos Zoulas [Thu, 2 Nov 2017 20:25:39 +0000 (20:25 +0000)]
- Encapsulate the buffer, size and file descriptor in a struct buffer.
- Prepare for signed offset (negative offsets will be relative to the end
  of file).
- Fix name collision for file_err().
- fix file_encoding to not return a unicode buffer if NULL is passed.

7 years agoimprove on nero images (NRG) and add extensions (Joerg Jenderek)
Christos Zoulas [Sun, 29 Oct 2017 18:39:46 +0000 (18:39 +0000)]
improve on nero images (NRG) and add extensions (Joerg Jenderek)

7 years agomerge ole2 docs and put them all in one place (Joerg Jenderek)
Christos Zoulas [Fri, 27 Oct 2017 21:43:23 +0000 (21:43 +0000)]
merge ole2 docs and put them all in one place (Joerg Jenderek)

7 years agoRecognize InnoSetup Logs (Joerg Jenderek)
Christos Zoulas [Wed, 25 Oct 2017 23:44:38 +0000 (23:44 +0000)]
Recognize InnoSetup Logs (Joerg Jenderek)

7 years agofix magic detection that uses "PACK" magic (acorn, git pack, quake)
Christos Zoulas [Thu, 19 Oct 2017 16:40:37 +0000 (16:40 +0000)]
fix magic detection that uses "PACK" magic (acorn, git pack, quake)
(Joerg Jenderek)

7 years agoremove leading slash
Christos Zoulas [Thu, 19 Oct 2017 16:37:41 +0000 (16:37 +0000)]
remove leading slash

7 years agoAdd dbpf
Christos Zoulas [Fri, 13 Oct 2017 20:47:39 +0000 (20:47 +0000)]
Add dbpf

7 years agoMove dbpf to its own file and fix it
Christos Zoulas [Fri, 13 Oct 2017 20:47:14 +0000 (20:47 +0000)]
Move dbpf to its own file and fix it

7 years agoExpand, extend, and correct tar section (Joerg Jenderek)
Christos Zoulas [Fri, 13 Oct 2017 15:37:30 +0000 (15:37 +0000)]
Expand, extend, and correct tar section (Joerg Jenderek)

7 years agoDBPF files (Kip Warner)
Christos Zoulas [Fri, 13 Oct 2017 15:37:30 +0000 (15:37 +0000)]
DBPF files (Kip Warner)

7 years agoExplain "tar" section (Joerg Jenderek)
Christos Zoulas [Fri, 13 Oct 2017 15:37:03 +0000 (15:37 +0000)]
Explain "tar" section (Joerg Jenderek)

7 years agoFix comments (Joerg Jenderek)
Christos Zoulas [Fri, 13 Oct 2017 15:25:12 +0000 (15:25 +0000)]
Fix comments (Joerg Jenderek)

7 years agoadd braille representation in xml (Simon Aittamaa)
Christos Zoulas [Wed, 11 Oct 2017 11:40:43 +0000 (11:40 +0000)]
add braille representation in xml (Simon Aittamaa)

7 years agoimprove DZip detection (Joerg Jenderek)
Christos Zoulas [Sat, 7 Oct 2017 18:41:00 +0000 (18:41 +0000)]
improve DZip detection (Joerg Jenderek)

7 years agofix the mime type for flac (Nicholas Fratti)
Christos Zoulas [Sat, 7 Oct 2017 15:21:48 +0000 (15:21 +0000)]
fix the mime type for flac (Nicholas Fratti)

7 years agoAdd paintshop pro palette from Joerg Jenderek
Christos Zoulas [Sat, 7 Oct 2017 13:29:26 +0000 (13:29 +0000)]
Add paintshop pro palette from Joerg Jenderek

7 years agoFix mime types
Christos Zoulas [Fri, 6 Oct 2017 15:36:38 +0000 (15:36 +0000)]
Fix mime types

7 years agoAdd HEIF (High Efficiency Image File Format) from Matthias Kiefer
Christos Zoulas [Fri, 6 Oct 2017 14:08:55 +0000 (14:08 +0000)]
Add HEIF (High Efficiency Image File Format) from Matthias Kiefer

7 years agofix 3gpp detection (Georgios Papoutsis)
Christos Zoulas [Fri, 6 Oct 2017 01:14:08 +0000 (01:14 +0000)]
fix 3gpp detection (Georgios Papoutsis)

7 years agoimprove riff detection (Joerg Jenderek)
Christos Zoulas [Fri, 6 Oct 2017 01:11:24 +0000 (01:11 +0000)]
improve riff detection (Joerg Jenderek)

7 years agofix segment offset (Michael van Elst)
Christos Zoulas [Thu, 28 Sep 2017 02:37:47 +0000 (02:37 +0000)]
fix segment offset (Michael van Elst)

7 years agoresource leak fix
Christos Zoulas [Tue, 26 Sep 2017 12:24:03 +0000 (12:24 +0000)]
resource leak fix

7 years agoClose the file on error (Steve Grubb)
Christos Zoulas [Tue, 26 Sep 2017 12:21:59 +0000 (12:21 +0000)]
Close the file on error (Steve Grubb)

7 years agoAdd and enable libseccomp support (Paul Moore)
Christos Zoulas [Sun, 24 Sep 2017 16:04:55 +0000 (16:04 +0000)]
Add and enable libseccomp support (Paul Moore)

7 years ago- use err(3) inspired functions to report errors and warnings
Christos Zoulas [Mon, 18 Sep 2017 20:40:10 +0000 (20:40 +0000)]
- use err(3) inspired functions to report errors and warnings
- use EXIT_SUCCESS/EXIT_FAILURE
- reformat usage.

7 years agouse EXIT_SUCCESS/EXIT_FAILURE
Christos Zoulas [Mon, 18 Sep 2017 20:39:33 +0000 (20:39 +0000)]
use EXIT_SUCCESS/EXIT_FAILURE

7 years agonew compression formats from Harry Mallon
Christos Zoulas [Fri, 15 Sep 2017 18:34:02 +0000 (18:34 +0000)]
new compression formats from Harry Mallon

7 years agoremove stray +
Christos Zoulas [Fri, 15 Sep 2017 15:25:45 +0000 (15:25 +0000)]
remove stray +

7 years agoHandle little endian dpx images (Harry Mallon)
Christos Zoulas [Fri, 15 Sep 2017 15:25:11 +0000 (15:25 +0000)]
Handle little endian dpx images (Harry Mallon)

7 years agoFrom: Ronald van Engelen
Christos Zoulas [Tue, 12 Sep 2017 15:55:16 +0000 (15:55 +0000)]
From: Ronald van Engelen
Completed common sample frequencies for pcm encoded audio in
flac containers using bash script "scripts/create_filemagic_flac"

7 years agoAdd zx-state magic (Martin M. S. Pedersen)
Christos Zoulas [Mon, 11 Sep 2017 23:51:12 +0000 (23:51 +0000)]
Add zx-state magic (Martin M. S. Pedersen)

7 years agode-lint.
Christos Zoulas [Fri, 8 Sep 2017 13:44:09 +0000 (13:44 +0000)]
de-lint.

7 years agoSimplify and add casts for lint.
Christos Zoulas [Fri, 8 Sep 2017 13:43:37 +0000 (13:43 +0000)]
Simplify and add casts for lint.

7 years agoReset to the end of the buffer if not enough lines were found. Found by
Christos Zoulas [Tue, 5 Sep 2017 20:41:59 +0000 (20:41 +0000)]
Reset to the end of the buffer if not enough lines were found. Found by
clusterfuzz.

7 years agowelcome to 5.32 FILE5_32
Christos Zoulas [Sat, 2 Sep 2017 08:54:09 +0000 (08:54 +0000)]
welcome to 5.32

7 years agoAdd missing entry.
Christos Zoulas [Sat, 2 Sep 2017 08:53:08 +0000 (08:53 +0000)]
Add missing entry.

7 years agoput back the trailing spaces; description does not do escape expansion (yet)
Christos Zoulas [Wed, 30 Aug 2017 13:45:10 +0000 (13:45 +0000)]
put back the trailing spaces; description does not do escape expansion (yet)

7 years agoAlways reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)
Christos Zoulas [Mon, 28 Aug 2017 13:39:18 +0000 (13:39 +0000)]
Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)

7 years agoFix always true condition (Thomas Jarosch)
Christos Zoulas [Sun, 27 Aug 2017 07:55:02 +0000 (07:55 +0000)]
Fix always true condition (Thomas Jarosch)

7 years agoimprovements (Marek Cermak)
Christos Zoulas [Mon, 14 Aug 2017 13:39:18 +0000 (13:39 +0000)]
improvements (Marek Cermak)

7 years agoImprovements from Marek Cermak
Christos Zoulas [Mon, 14 Aug 2017 07:40:38 +0000 (07:40 +0000)]
Improvements from Marek Cermak

7 years agoNewer python magic (Ville Skytta)
Christos Zoulas [Sun, 13 Aug 2017 08:26:40 +0000 (08:26 +0000)]
Newer python magic (Ville Skytta)

7 years agospelling fixes (Ville Skytta)
Christos Zoulas [Sun, 13 Aug 2017 00:21:47 +0000 (00:21 +0000)]
spelling fixes (Ville Skytta)

7 years agoAdd gconv magic (Marek Cermak)
Christos Zoulas [Thu, 10 Aug 2017 11:01:38 +0000 (11:01 +0000)]
Add gconv magic (Marek Cermak)

7 years agoRecognize Microsoft Rosyln C# pdb files (Austin English)
Christos Zoulas [Wed, 2 Aug 2017 08:15:20 +0000 (08:15 +0000)]
Recognize Microsoft Rosyln C# pdb files (Austin English)

7 years agobetter matching for single/double quotes
Christos Zoulas [Sun, 23 Jul 2017 08:23:33 +0000 (08:23 +0000)]
better matching for single/double quotes

7 years agoremove the +
Christos Zoulas [Sat, 22 Jul 2017 19:21:02 +0000 (19:21 +0000)]
remove the +

7 years agoStrength decreased in magic file magic/Magdir/dump for new-fs
Christos Zoulas [Sat, 22 Jul 2017 17:21:24 +0000 (17:21 +0000)]
Strength decreased in magic file magic/Magdir/dump for new-fs
dump file (little endian) to correctly recognize '*.mo' GNU message
catalog (little endian).

https://bugzilla.redhat.com/show_bug.cgi?id=1226215

7 years agofix test file
Christos Zoulas [Fri, 21 Jul 2017 12:03:04 +0000 (12:03 +0000)]
fix test file

7 years agoHDD Raw copy tool from Benjamin Vanheuverzwijn
Christos Zoulas [Fri, 21 Jul 2017 10:34:41 +0000 (10:34 +0000)]
HDD Raw copy tool from Benjamin Vanheuverzwijn

7 years agoPR/622: fix infocom magic.
Christos Zoulas [Mon, 3 Jul 2017 16:03:40 +0000 (16:03 +0000)]
PR/622: fix infocom magic.

7 years agofix 3ds files.
Christos Zoulas [Sat, 24 Jun 2017 15:24:56 +0000 (15:24 +0000)]
fix 3ds files.

7 years agofixes for TrueType fonts from Joerg Jenderek
Christos Zoulas [Sat, 24 Jun 2017 00:39:00 +0000 (00:39 +0000)]
fixes for TrueType fonts from Joerg Jenderek

7 years agoAdd another bounds check: OSS-FUZZ issue 2242
Christos Zoulas [Mon, 19 Jun 2017 18:30:25 +0000 (18:30 +0000)]
Add another bounds check: OSS-FUZZ issue 2242

7 years agoTrue Type font fixes from Joerg Jenderek
Christos Zoulas [Mon, 12 Jun 2017 13:52:54 +0000 (13:52 +0000)]
True Type font fixes from Joerg Jenderek

7 years agoPR/620: David Korth: Added the secure area type for Nintendo DS ROMs.
Christos Zoulas [Sun, 11 Jun 2017 22:26:46 +0000 (22:26 +0000)]
PR/620: David Korth: Added the secure area type for Nintendo DS ROMs.

7 years agoPR/620: David Korth: Handle iOS optimized PNG images.
Christos Zoulas [Sun, 11 Jun 2017 22:25:44 +0000 (22:25 +0000)]
PR/620: David Korth: Handle iOS optimized PNG images.

7 years agoAdd bhl
Christos Zoulas [Sun, 11 Jun 2017 22:21:06 +0000 (22:21 +0000)]
Add bhl

7 years agonew bhl magic
Christos Zoulas [Sun, 11 Jun 2017 22:20:02 +0000 (22:20 +0000)]
new bhl magic

7 years agouse default to avoid dup printing (Stephan Kulow)
Christos Zoulas [Mon, 5 Jun 2017 17:40:31 +0000 (17:40 +0000)]
use default to avoid dup printing (Stephan Kulow)

7 years agoFix \s vs \w confusion.
Christos Zoulas [Wed, 31 May 2017 15:48:50 +0000 (15:48 +0000)]
Fix \s vs \w confusion.