I have a mp4 file (20M size) then I run:
$ binwalk myfile.mp4
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------
8061349 0x7B01A5 gzip compressed data, ASCII, last modified: 2038-02-02 16:33:05 (bogus date)
although the date seems weird, using dd:
$ dd if=myfile.mp4 bs=1 skip=8061349 of=zipfile.gz
12755682+0 records in
12755682+0 records out
12755682 bytes (13 MB, 12 MiB) copied, 50.5952 s, 252 kB/s
now with gzip:
$ gzip -l zipfile.gz
compressed uncompressed ratio uncompressed_name
12755682 825241902 98.5% zipfile
$ gzip -d zipfile.gz
gzip: zipfile.gz: invalid compressed data--format violated
So how can I be sure the binwalk output is correct?