本人使用22.04版本Ubuntu、kali,分别安装或使用binwalk工具过程中出现了sasquatch的问题,更换了二者版本、打了一些补丁,还是不行,于是上github查看issue,发现可用补丁。
sudo apt-get install build-essential liblzma-dev liblzo2-dev zlib1g-dev
git clone https://github.com/devttys0/sasquatch
ubuntu:
(cd sasquatch && git pull origin pull/56/head && ./build.sh)
kali:
(cd sasquatch && git pull origin pull/45/head && ./build.sh)
另外发现,好像出现了必须sasquatch和squashfs-tools均安装才不报warning的情况,当时看了看binwalk代码,可能是它找这俩东西时的逻辑有点问题,遇到这种情况的可以留意一下。
原文
Builds on modern Ubuntu by RobertLarsen · Pull Request #56 · devttys0/sasquatch · GitHub