]>
granicus.if.org Git - file/log
Christos Zoulas [Thu, 24 May 2018 18:09:17 +0000 (18:09 +0000)]
a copy of the mode info is now stored in magic_set, and modified by the
elf reader if the file is not "executable", or deemed "executable".
Christos Zoulas [Thu, 24 May 2018 18:08:01 +0000 (18:08 +0000)]
- add parsing for dynamic sections
- set or clear the mode execute bits depending on DF_1_PIE
- fix some casts
Christos Zoulas [Wed, 23 May 2018 22:21:01 +0000 (22:21 +0000)]
bump to beat DOS/MBR
Christos Zoulas [Mon, 21 May 2018 21:52:13 +0000 (21:52 +0000)]
Bump strength for tiff to beat DOS/MBR.
Christos Zoulas [Mon, 21 May 2018 16:32:34 +0000 (16:32 +0000)]
Add missing commas.
Christos Zoulas [Mon, 7 May 2018 23:26:31 +0000 (23:26 +0000)]
new cad magic
Christos Zoulas [Mon, 7 May 2018 02:07:31 +0000 (02:07 +0000)]
fix typo
Christos Zoulas [Sun, 6 May 2018 16:36:41 +0000 (16:36 +0000)]
add more syscalls; newfstatat is used for stat'ing the magic file,
getdents64 is used for getting the magic entries during compilation.
Christos Zoulas [Sun, 6 May 2018 16:08:07 +0000 (16:08 +0000)]
fix comment
Christos Zoulas [Sat, 5 May 2018 14:53:13 +0000 (14:53 +0000)]
LucasArts animation formats (Brent Spillner)
Christos Zoulas [Sat, 28 Apr 2018 18:48:22 +0000 (18:48 +0000)]
try to print a mime-like error message when decompression fails.
Christos Zoulas [Sat, 28 Apr 2018 15:26:58 +0000 (15:26 +0000)]
add mime and extensions for fits images:
http://fileformats.archiveteam.org/wiki/Flexible_Image_Transport_System
From Alex Myczko
Christos Zoulas [Tue, 24 Apr 2018 23:19:45 +0000 (23:19 +0000)]
Add missing \n to ar magic (Valentin Brandl)
Christos Zoulas [Tue, 24 Apr 2018 23:16:20 +0000 (23:16 +0000)]
add new mp3 test
Christos Zoulas [Tue, 24 Apr 2018 23:14:53 +0000 (23:14 +0000)]
reduce tar strength for mp3 to win.
Christos Zoulas [Fri, 20 Apr 2018 02:19:50 +0000 (02:19 +0000)]
add REDIS (Nathan Scott)
Christos Zoulas [Wed, 18 Apr 2018 01:16:13 +0000 (01:16 +0000)]
handle broken strndup on aix
Christos Zoulas [Wed, 18 Apr 2018 01:15:49 +0000 (01:15 +0000)]
add __noreturn__ to file_err{,x}
Christos Zoulas [Tue, 17 Apr 2018 12:09:20 +0000 (12:09 +0000)]
bump gif to beat mbr (from Kamil Dudka)
Christos Zoulas [Sun, 15 Apr 2018 19:57:59 +0000 (19:57 +0000)]
fix cast
Christos Zoulas [Sun, 15 Apr 2018 19:57:07 +0000 (19:57 +0000)]
whitespace consistency
Christos Zoulas [Sun, 15 Apr 2018 18:52:28 +0000 (18:52 +0000)]
welcome to 5.33
Christos Zoulas [Thu, 12 Apr 2018 16:50:52 +0000 (16:50 +0000)]
implement NetBSD emulation (obsolete)
Christos Zoulas [Tue, 27 Mar 2018 23:26:41 +0000 (23:26 +0000)]
add lzfse
Christos Zoulas [Sat, 17 Mar 2018 02:11:04 +0000 (02:11 +0000)]
From Ryo Onodera
Christos Zoulas [Wed, 14 Mar 2018 04:38:44 +0000 (04:38 +0000)]
more versions (stefan haubenthal)
Christos Zoulas [Mon, 12 Mar 2018 12:39:09 +0000 (12:39 +0000)]
fix test
Christos Zoulas [Mon, 12 Mar 2018 12:38:59 +0000 (12:38 +0000)]
remove debugging
Elan Ruusam�e [Sun, 11 Mar 2018 13:06:47 +0000 (13:06 +0000)]
readme is plain text, not markdown. update build status link
Christos Zoulas [Sun, 11 Mar 2018 01:25:11 +0000 (01:25 +0000)]
Detect Microsoft Office XML files generated with different file order
in ZIP (Dennis Birkholz)
Christos Zoulas [Sun, 11 Mar 2018 01:23:52 +0000 (01:23 +0000)]
return if we matched or not in the "use" case so we can use:
>>>>&26 use msooxml
>>>>&26 default x
correctly.
Christos Zoulas [Sun, 11 Mar 2018 00:53:11 +0000 (00:53 +0000)]
more magic for some music chip instrument files (jpcima)
Christos Zoulas [Sun, 11 Mar 2018 00:48:16 +0000 (00:48 +0000)]
more geo data (alex myczko)
Christos Zoulas [Mon, 5 Mar 2018 22:48:20 +0000 (22:48 +0000)]
Add Alternate zip string mime types and extensions.
Christos Zoulas [Fri, 2 Mar 2018 16:57:01 +0000 (16:57 +0000)]
mention variable expansions in descriptions
Christos Zoulas [Fri, 2 Mar 2018 16:17:54 +0000 (16:17 +0000)]
Document -S
Christos Zoulas [Fri, 2 Mar 2018 16:11:37 +0000 (16:11 +0000)]
Add -S to disable libseccomp if it exists, and fix option docs that where
out of sync.
Christos Zoulas [Fri, 2 Mar 2018 15:29:23 +0000 (15:29 +0000)]
lynx archives (thomas kaeding)
Christos Zoulas [Fri, 2 Mar 2018 15:28:10 +0000 (15:28 +0000)]
more compression formats (thomas kaeding)
Christos Zoulas [Fri, 2 Mar 2018 15:26:39 +0000 (15:26 +0000)]
add macpaint, thomas kaeding
Christos Zoulas [Thu, 1 Mar 2018 18:20:06 +0000 (18:20 +0000)]
New LAS entry from alexmyczko
Christos Zoulas [Sat, 24 Feb 2018 19:50:04 +0000 (19:50 +0000)]
add a conditional in description
Christos Zoulas [Sat, 24 Feb 2018 19:49:43 +0000 (19:49 +0000)]
handle $ expansion in descriptions
Christos Zoulas [Sat, 24 Feb 2018 16:11:23 +0000 (16:11 +0000)]
gpg/pgp packet parsing from Joerg Jenderek
Christos Zoulas [Sat, 24 Feb 2018 15:10:23 +0000 (15:10 +0000)]
add missing >
Christos Zoulas [Sat, 24 Feb 2018 14:53:10 +0000 (14:53 +0000)]
put back bzip 1 in a different form.
Christos Zoulas [Fri, 23 Feb 2018 15:19:07 +0000 (15:19 +0000)]
EGG and I-tunes cover art from Thomas Kaeding
Christos Zoulas [Wed, 21 Feb 2018 21:26:48 +0000 (21:26 +0000)]
Add variable expansions (experimental) to mime types. This is now used
to combine file mode information to mime printing.
Christos Zoulas [Wed, 21 Feb 2018 21:26:00 +0000 (21:26 +0000)]
cache stat information
Christos Zoulas [Fri, 16 Feb 2018 15:44:28 +0000 (15:44 +0000)]
new ARRI and CINE from Harry Mallon
Christos Zoulas [Fri, 16 Feb 2018 15:44:00 +0000 (15:44 +0000)]
no need to escape [
Christos Zoulas [Tue, 6 Feb 2018 12:57:16 +0000 (12:57 +0000)]
Improvements for windows ini files from Joerg Jenderek.
Reuben Thomas [Mon, 5 Feb 2018 23:42:17 +0000 (23:42 +0000)]
Remove never-used and now defunct Beetle VM library file magic
Reuben Thomas [Sun, 28 Jan 2018 00:00:17 +0000 (00:00 +0000)]
Add magic for Beetle VM files
See https://github.com/rrthomas/beetle/
Christos Zoulas [Sun, 21 Jan 2018 03:26:33 +0000 (03:26 +0000)]
new terminfo-2 entry from Thomas Dickey
Christos Zoulas [Wed, 17 Jan 2018 12:08:36 +0000 (12:08 +0000)]
handle mozilla "ja" zip files (Joerg Jenderek)
Christos Zoulas [Fri, 12 Jan 2018 18:46:20 +0000 (18:46 +0000)]
use pixel depth to be more selective (Joerg Jenderek)
Christos Zoulas [Fri, 12 Jan 2018 12:35:30 +0000 (12:35 +0000)]
f2fs filesystems from Tuomas Tynkkynen
Christos Zoulas [Thu, 4 Jan 2018 01:21:32 +0000 (01:21 +0000)]
Much better GNU message catalog detection (Joerg Jenderek)
Christos Zoulas [Mon, 1 Jan 2018 05:25:17 +0000 (05:25 +0000)]
add rpi magic
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.
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
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
Christos Zoulas [Tue, 19 Dec 2017 00:21:21 +0000 (00:21 +0000)]
drop the limit lower to satisfy oss-fuzz 4682
Christos Zoulas [Thu, 14 Dec 2017 17:27:18 +0000 (17:27 +0000)]
new Klystron magic from Alex Myczko
Christos Zoulas [Thu, 14 Dec 2017 05:52:56 +0000 (05:52 +0000)]
Add $RCSID, fix name
Christos Zoulas [Thu, 14 Dec 2017 05:37:06 +0000 (05:37 +0000)]
new tplink magic from Joerg Jenderek
Christos Zoulas [Thu, 14 Dec 2017 01:43:29 +0000 (01:43 +0000)]
decrease the sector limit (oss-fuzz 4577)
Christos Zoulas [Wed, 6 Dec 2017 01:04:53 +0000 (01:04 +0000)]
add a gpg for dummies section.
Christos Zoulas [Tue, 5 Dec 2017 02:17:48 +0000 (02:17 +0000)]
Improve Macbinary format (Joerg Jenderek)
Christos Zoulas [Tue, 28 Nov 2017 14:01:14 +0000 (14:01 +0000)]
DYI-Thermocam magic from Harald Geyer
Christos Zoulas [Fri, 17 Nov 2017 12:44:45 +0000 (12:44 +0000)]
Improve registry file magic (Joerg Jenderek)
Christos Zoulas [Wed, 15 Nov 2017 12:19:06 +0000 (12:19 +0000)]
new magic.
Christos Zoulas [Tue, 14 Nov 2017 15:57:38 +0000 (15:57 +0000)]
Add new APFS magic
Christos Zoulas [Tue, 14 Nov 2017 15:48:36 +0000 (15:48 +0000)]
Correct attribution by request.
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.
Christos Zoulas [Tue, 14 Nov 2017 15:19:45 +0000 (15:19 +0000)]
Allow negative offsets at contination levels > 0
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$
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)
Christos Zoulas [Sat, 4 Nov 2017 01:23:04 +0000 (01:23 +0000)]
for negative offsets
Christos Zoulas [Sat, 4 Nov 2017 01:19:45 +0000 (01:19 +0000)]
Say that things are down and fix files list.
Christos Zoulas [Sat, 4 Nov 2017 01:14:25 +0000 (01:14 +0000)]
Add readlink (valoq)
Christos Zoulas [Sat, 4 Nov 2017 01:11:32 +0000 (01:11 +0000)]
try to explain negative offsets.
Christos Zoulas [Sat, 4 Nov 2017 00:58:57 +0000 (00:58 +0000)]
more ideas
Christos Zoulas [Fri, 3 Nov 2017 23:38:09 +0000 (23:38 +0000)]
handle negative indirect offsets
Christos Zoulas [Fri, 3 Nov 2017 23:37:34 +0000 (23:37 +0000)]
add zip
Christos Zoulas [Fri, 3 Nov 2017 23:36:35 +0000 (23:36 +0000)]
use the zipversion named entry.
Christos Zoulas [Fri, 3 Nov 2017 23:36:17 +0000 (23:36 +0000)]
new zip entry with negative offsets
Christos Zoulas [Fri, 3 Nov 2017 23:28:04 +0000 (23:28 +0000)]
Add the end-of-file offset as a field.
Christos Zoulas [Fri, 3 Nov 2017 23:27:49 +0000 (23:27 +0000)]
negative indirect offsets are ok
Christos Zoulas [Fri, 3 Nov 2017 14:43:28 +0000 (14:43 +0000)]
document how to improve things
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.
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.
Christos Zoulas [Fri, 3 Nov 2017 00:18:55 +0000 (00:18 +0000)]
more support for negative buffers.
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.
Christos Zoulas [Sun, 29 Oct 2017 18:39:46 +0000 (18:39 +0000)]
improve on nero images (NRG) and add extensions (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)
Christos Zoulas [Wed, 25 Oct 2017 23:44:38 +0000 (23:44 +0000)]
Recognize InnoSetup Logs (Joerg Jenderek)
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)
Christos Zoulas [Thu, 19 Oct 2017 16:37:41 +0000 (16:37 +0000)]
remove leading slash