sfile: 831 file formats autodecoder.
sfile greatly extends the capability of your regular linux file decoder.
Using muse.ai we were able to combine most of this entire 860 formats down to a single functioning binary:
GitHub - cnmcdee/sfile: Super Filer Header Decoder
Super Filer Header Decoder. Contribute to cnmcdee/sfile development by creating an account on GitHub.
Installation is as:
git clone https://github.com/cnmcdee/sfile.git
cd sfile
make
It will quickly compile, and one can list all supported formats as:
./sfile --list
Example of it working:
sfile pub_icon.ico
File: pub_icon.ico (10011 bytes)
Format: PNG image (.PNG) — task 564
Identified by: magic
Magic: 89 50 4e 47 0d 0a 1a 0a at offset 0
Header (big-endian):
offset size field value
0 8 signature 89 50 4e 47 0d 0a 1a 0a
8 4 ihdr_length 13
12 4 ihdr_type "IHDR"
16 4 width 100
20 4 height 100
24 1 bit_depth 8
25 1 color_type 6
26 1 compression 0
27 1 filter 0
28 1 interlace 0Or:
Magic: 89 50 4e 47 0d 0a 1a 0a at offset 0
Header (big-endian):
offset size field value
0 8 signature 89 50 4e 47 0d 0a 1a 0a
8 4 ihdr_length 13
12 4 ihdr_type "IHDR"
16 4 width 768
20 4 height 512
24 1 bit_depth 8
25 1 color_type 2
26 1 compression 0
27 1 filter 0
28 1 interlace 0