小米路由器R3D用xmir-patcher获取SSH权限

用小米官方网站方法,给R3D路由器获取SSH权限,需要U盘+Reset,每次都很麻烦。
刚好最近路由器被折腾的用APP无法连接,回复出厂设置后,尝试用xmir-patcher,获取权限成功。

准备

  1. 下载 xmir-patcher 并解压, 下载日期 2025/10/13
  2. 路由器设置好无线网络,用电脑连接Wifi

获取权限

  1. 打开已经解压好的 xmir-patcher-main 目录,运行 !START.bat,显示功能列表:

==============

Xiaomi MiR Patcher

1 - Set IP-address (current value: 192.168.31.1)
2 - Connect to device (install exploit)
3 - Read full device info
4 - Create full backup
5 - Install EN/RU languages
6 - Install permanent SSH
7 - Install firmware (from directory "firmware")
8 - {{{ Other functions }}}
9 - [[ Reboot device ]]
0 - Exit

  1. 输入选项 1,设置路由器IP:

Select: 1

Enter device IP-address: 192.168.31.1
Device IP-address changed to 192.168.31.1

  1. 输入选项数字2,会显示路由器版本/MAC信息,然后要求输入密码:

Select: 2

device_name = R3D
rom_version = 2.29.5 stable
mac_address = 10:a5:1d:7e:da:e2
CountryCode = CN
Enter device WEB password: 【这里输入Web管理密码】

  1. 输入web密码,显示以下信息就开启成功:

Begin creating a payload for the exploit...
Start uploading the exploit with payload...
Running SSH server on port 122...

\#### Connection to device R3D is OK \####

这里注意,上面SSH端口是122,密码默认root

THE END

标签: 无

本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。