Added lz4 and zstd comporessions to squashfs.
Newest squashfs in upstream has supported LZ4 (5) and ZSTD (6) as compression algorithms. However, they didn't exist in binwalk's current magic library. This commit added the magic values so that squashfs images compressed by these algorithms could be successfully identified. Ref: https://github.com/torvalds/linux/blob/master/fs/squashfs/squashfs_fs.h https://github.com/file/file/blob/master/magic/Magdir/filesystems
Showing
Please
register
or
sign in
to comment