sasquatch在22.04等高版本Ubuntu、kali中的安装错误

本人使用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

Fix fcomon and misleading indentation error by f0rw4rd · Pull Request #45 · devttys0/sasquatch · GitHub

Ubuntu上下载binwalk可以通过两种方法进行。第一种方法是直接通过终端安装binwalk,你可以使用以下命令进行安装:$ sudo apt-get install binwalk。这将从Ubuntu的软件源下载并安装binwalk软件包。 另一种方法是手动下载binwalk压缩包,并进行解压安装。首先,你可以下载旧版的cramfsprogs软件包,因为新版Ubuntu和Debian已经移除了cramfsck命令。你可以使用以下命令下载并安装cramfsprogs软件包:wget http://mirrors.tuna.tsinghua.edu.cn/debian/pool/main/c/cramfs/cramfsprogs_1.1-6_amd64.deb,然后使用以下命令安装软件包:sudo dpkg -i cramfsprogs_1.1-6_amd64.deb,最后删除下载的软件包:rm cramfsprogs_1.1-6_amd64.deb。接下来,你可以安装sasquatch工具,该工具是binwalk的一个依赖项。具体安装步骤可以参考相关文档。 需要注意的是,一些方法在安装过程可能会出现错误,因此你可以尝试不同的方法以找到适合你的安装方式。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [在Ubuntu系统下安装杂项必备工具binwalk](https://blog.csdn.net/qq_62999000/article/details/122010423)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* [Ubuntu安装binwalk完整步骤](https://blog.csdn.net/u013071014/article/details/122426769)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

夢靈子DMC

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值