Skip to content

Commit

Permalink
Replaced unzip with 7z extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
devttys0 committed Oct 30, 2024
1 parent 14a891e commit 933fc47
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 21 deletions.
1 change: 0 additions & 1 deletion dependencies/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ SCRIPT_DIRECTORY=$(dirname -- "$( readlink -f -- "$0"; )")
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install \
p7zip-full \
zstd \
unzip \
tar \
sleuthkit \
cabextract \
Expand Down
1 change: 0 additions & 1 deletion src/extractors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,5 @@ pub mod uimage;
pub mod vxworks;
pub mod wince;
pub mod yaffs2;
pub mod zip;
pub mod zlib;
pub mod zstd;
18 changes: 0 additions & 18 deletions src/extractors/zip.rs

This file was deleted.

2 changes: 1 addition & 1 deletion src/magic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ pub fn patterns() -> Vec<signatures::common::Signature> {
magic: signatures::zip::zip_magic(),
parser: signatures::zip::zip_parser,
description: signatures::zip::DESCRIPTION.to_string(),
extractor: Some(extractors::zip::zip_extractor()),
extractor: Some(extractors::sevenzip::sevenzip_extractor()),
},
// Intel PCH ROM
signatures::common::Signature {
Expand Down

0 comments on commit 933fc47

Please sign in to comment.