ThePorgs / Exegol-images

Docker images of the Exegol project
https://exegol.readthedocs.io/
GNU General Public License v3.0
73 stars 56 forks source link

Fix binwalk dependencies #348

Closed lap1nou closed 4 weeks ago

lap1nou commented 1 month ago

Description

Greetings,

When running something along the line of: binwalk -e test.sqhfs --run-as=root, I get:

WARNING: Extractor.execute failed to run external extractor 'unsquashfs -d 'squashfs-root' '%e'': [Errno 2] No such file or directory: 'unsquashfs', 'unsquashfs -d 'squashfs-root' '%e'' might not be installed correctly

The unsquashfs dependency is not installed, this PR aim to fix that, it also move the binwalk install in it's own install function.

Related issues

N/A

Point of attention

Binwalk list other dependency such as sasquatch (https://github.com/ReFirmLabs/binwalk/blob/master/INSTALL.md), since I haven't encountered a case where those were needed I propose to add them later on if necessary.

QU35T-code commented 1 month ago

Thx @lap1nou !