解锁 AX6 SSH,释放 IPQ8071A 性能让 AX6 获取更多玩法~ 例如 ShellClash、QSDK、openWrt 等

推荐:https://miwifi.dev/ssh

网页通过 SN 码直接计算出 SSH 密码;以下内容进学习参考

部署 WEB 接口

  1. 下载 nginx,并解压至电脑任意盘
  2. 进入 nginx-1.21.6 文件夹内,修改 conf 目录下的文件 nginx.conf 文件
  3. location /#error_page 404 之间插入下方代码,然后保存 nginx.conf 文件。
location /cgi-bin/luci/api/xqsystem/token {
if ($request_method != POST) { return 404; }
return 405;
error_page   405 =200  /response.json;
}
  1. 进入 html 目录下,创建 response.json 文件,内容见下,随后运行 nignx.exe
{"token":"; nvram set ssh_en=1; nvram commit; sed -i 's/channel=.*/channel=\"debug\"/g' /etc/init.d/dropbear; /etc/init.d/dropbear start;","code":0}

设置 WiFi 热点

  1. 先将电脑 WiFi 连接至任意热点
  2. 进入设置 > 网络和internet > 移动热点 > 打开热点 > 编辑 > WiFi昵称: noop 密码: rightcom
  3. 进入网络适配器,选中WLAN网络右击 > 属性 > 共享,关闭 允许其他网络用户通过此计算机的Internet连接来连接,目的关掉 DHCP
  4. 然后找到移动热点创建的WiFi,进入 属性 > 网络 > Internet协议版本4(TCP/IPv4),手动设置IP地址
使用下面的 IP 地址
IP 地址 169.253.31.1
子网掩码 255.255.255.0
  1. 至此,无线热点设置完成。

正式解锁 SSH

  1. 降级 AX6 固件 丨 下载Red AX6 1.0.18 固件
  2. 常用设置 > 系统状态 > 手动升级 > [✓] 恢复出厂设置

进入路由器后台,获取 STOK,并替换到下方链接内

  1. 执行 返回结果为 code=0,即OK。
http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxx/api/misystem/extendwifi_connect?ssid=noop&password=rightcom
  1. 再执行 返回结果为 code=0,即OK。
http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxx/api/xqsystem/oneclick_get_remote_token?username=xxx&password=xxx&nonce=xxx

安装 ShellClash

sh -c "$(curl -kfsSl https://cdn.jsdelivr.net/gh/juewuy/[email protected]/install.sh)" && source /etc/profile &> /dev/null