其他的刷机过程Baidu一下,不再赘述,仅将自己刷机过程中遇到的坑发一下
切记必须要未破解的R4A有连上科学网才能正常破解刷机!
下文curl下载刷机的Openwrt镜像是为方便操作上传在我自己服务器上的,不是最新的,诸位将链接自行替换成官网的下载链接
pip3 install -r requirements.txt
python3 remote_command_execution_vulnerability.py
telnet 192.168.31.1
账号root
密码root
cd tmp
curl https://hk.bil1.cn/openwrt-ramips-mt7621-xiaomi_mi-router-4a-gigabit-initramfs-kernel.bin -o openwrt-ramips-mt7621-xiaomi_mi-router-4a-gigabit-initramfs-kernel.bin
cat /proc/mtd
mtd -r write openwrt-ramips-mt7621-xiaomi_mi-router-4a-gigabit-initramfs-kernel.bin OS1
reboot后
cd tmp
wget https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-xiaomi_mi-router-4a-gigabit-squashfs-sysupgrade.bin
mtd -r write openwrt-ramips-mt7621-xiaomi_mi-router-4a-gigabit-squashfs-sysupgrade.bin firmware
原文链接:https://blog.csdn.net/babylon882004/article/details/119508651?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522171828104516800225557555%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fblog.%2522%257D&request_id=171828104516800225557555&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~blog~first_rank_ecpm_v1~times_rank-8-119508651-null-null.nonecase&utm_term=%E8%B7%AF%E7%94%B1%E5%99%A8%E3%80%81%E5%8D%83%E5%85%86