-
Notifications
You must be signed in to change notification settings - Fork 34
Home
liyansong2018 edited this page Jan 31, 2021
·
3 revisions
本项目依赖于 firmadyne 以及 firmware-analysis-toolkit,修复了其中的大量bug,可直接运行固件。
源码安装 binwalk,自带的 binwalk 可能缺少某些依赖
# Python2.7
$ git clone https://github.com/ReFirmLabs/binwalk.git
$ cd binwalk
$ sudo ./deps.sh
$ sudo python setup.py install
运行 ./setup.sh
,如果报错,请使用备用文件 ./setup2kali.sh
,国内网络不通畅,如果更新卡住,终止程序,多试几次就好了
修改 fat.config
文件中的密码,改为 root 系统用户的密码
root@kali:~/Documents/firmware-analysis-plus# python3 fat.py
______ _ ___
| ___| (_) / _ \
| |_ _ _ __ ___ / /_\ \ _ __ ___
| _| | | | '_ ` _ \ | _ | | '_ \ / __| ++
| | | | | | | | | | | | | | | | | | \__ \
\_| |_| |_| |_| |_| \_| |_/ |_| |_| |___/
Welcome to the Firmware Analysis Plus - v1.0
By lys - https://blog.csdn.net/song_lee | @liyansong
usage: fat.py [-h] [-q qemu_path] firm_path
fat.py: error: the following arguments are required: firm_path
例如
python3 fat.py -q /root/Documents/firmware-analysis-toolkit/qemu-builds/2.5.0/ /root/Documents/test/WNAP320_V3.7.11.4.zip
运行时如果遇到错误,请删除 firmadyne
目录下自动生成的镜像文件 images
以及文件系统 scratch
,重新运行即可
或者直接运行 ./reset.py
其他异常请参见issue
或者博客: 使用 firmware-analysis-plus 一键模拟固件