在跟隨大神kczwa1進行路由器漏洞分析時,對dir815_FW_102.bin 固件文件用binwalk -e dir815_FW_102.bin
命令進行解壓時,在根目錄squashfs-root下文件是空的。解壓101版本時同樣如此。
結果如下圖所示:
百度了一下,在這篇文章中找到答案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解壓,終於成功。