dir815_FW_102.bin路由器固件解压碰到的坑
2019-11-27 本文已影响0人
飞熊先生
在跟随大神kczwa1进行路由器漏洞分析时,对dir815_FW_102.bin 固件文件用binwalk -e dir815_FW_102.bin
命令进行解压时,在根目录squashfs-root下文件是空的。解压101版本时同样如此。
结果如下图所示:
![](https://img.haomeiwen.com/i3514925/dfb152ff4f492f60.png)
![](https://img.haomeiwen.com/i3514925/4d29c01337ea3af5.png)
百度了一下,在这篇文章中找到答案binwalk WARNING: Extractor.execute failed to run external extractor 'sasquatch -p 1 -le -d '%%squash
需要安装sasquatch:
安装地址位于:
https://github.com/devttys0/sasquatch
安装步骤
- 打开命令行
git clone https://github.com/devttys0/sasquatch
- 安装依赖环境
$ sudo apt-get install build-essential liblzma-dev liblzo2-dev zlib1g-dev
- cd 到clone下来的文件下安装sasquatch
$ ./build.sh
之后,再进行binwalk解压,终于成功。
![](https://img.haomeiwen.com/i3514925/36f6e461acaa16f0.png)