From 72ed3bfed97696f2353f2149194a22d981f3ca59 Mon Sep 17 00:00:00 2001 From: mmoosstt Date: Thu, 13 Jan 2022 12:23:44 +0100 Subject: [PATCH] added FileSignatures for SquashFS https://dr-emann.github.io/squashfs/ see magic number --- SevenZipExtractor/Formats.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SevenZipExtractor/Formats.cs b/SevenZipExtractor/Formats.cs index 2ff5e77..994b54e 100644 --- a/SevenZipExtractor/Formats.cs +++ b/SevenZipExtractor/Formats.cs @@ -106,7 +106,8 @@ public class Formats {SevenZipFormat.GZip, new byte[] { 0x1f, 0x0b }}, {SevenZipFormat.Zip, new byte[] { 0x50, 0x4b }}, {SevenZipFormat.Arj, new byte[] { 0x60, 0xEA }}, - {SevenZipFormat.Lzh, new byte[] { 0x2D, 0x6C, 0x68 }} + {SevenZipFormat.Lzh, new byte[] { 0x2D, 0x6C, 0x68 }}, + {SevenZipFormat.SquashFS, new byte[] {0x68, 0x73, 0x71, 0x73}} }; } -} \ No newline at end of file +}