固件下载
https://www.tenda.com.cn/download
选取和教程中一样的:
固件提取
经过上述方法,得到的是一个zip文件,首先解压得到如下文件:
之后使用binwalk提取这个bin文件:
binwalk -eM filename.bin
找到一个httpd:
逆向分析
安装ghidra
参考:软件逆向工具Ghidra 10.1.2安装及内置工具介绍及使用(一) - FreeBuf网络安全行业门户
下载:https://github.com/topics/ghidra
模拟运行
user模式
安装qemu-user-static:
sudo apt install qemu-user-static
运行:
qemu-user-static -L . ./squashfs-root/bin/httpd
又是共享文件夹的事。。。
sudo chroot . ./qemu-mipsel-static ./bin/httpd
./qemu-mipsel-static -L . ./bin/httpd
参考
https://blog.csdn.net/qq_45894840/article/details/136176027