I'm XuéChūn - 2025年10月
type: channel
link: https://www.xuechun.vip/2025/10/
description: 安卓客户端已发布
items: 小米路由器R3D用xmir-patcher获取SSH权限

小米路由器R3D用xmir-patcher获取SSH权限
type: item
date: 2025-10-13T11:42:00+00:00
description: 用小米官方网站方法，给R3D路由器获取SSH权限，需要U盘+Reset，每次都很麻烦。刚好最近路由器被折腾的用APP无法连接，回复出厂设置后，尝试用xmir-patcher，获取权限成功。准备下载 xmir-patcher 并解压, 下载日期 2025/10/13路由器设置好无线网络，用电脑连接Wifi获取权限打开已经解压好的 xmir-patcher-main 目录，运行 !START.bat，显示功能列表：==============Xiaomi MiR Patcher1 - 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，设置路由器IP：Select: 1 Enter device IP-address: 192.168.31.1 Device IP-address changed to 192.168.31.1输入选项数字2，会显示路由器版本/MAC信息，然后要求输入密码：Select: 2device_name = R3D rom_version = 2.29.5 stablemac_address = 10:a5:1d:7e:da:e2 CountryCode = CNEnter device WEB password: 【这里输入Web管理密码】输入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