降级 AX6
- Red AX6 1.0.18 固件
常用设置 - 系统状态 - 手动升级 - 勾选恢复出厂设置
部署 WEB 接口
- 下载 nginx,并解压至电脑任意盘
- 进入 nginx-1.21.6 文件夹内,修改
conf
目录下的文件nginx.conf
文件 - 在
location /
和#error_page 404
之间插入
location /cgi-bin/luci/api/xqsystem/token {
if ($request_method != POST) { return 404; }
return 405;
error_page 405 =200 /response.json;
}

- 保存
nginx.conf
文件。
创建 response.json 文件
进入 html 目录下,创建 response.json
文件,内容如下
{"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}
随后,运行 nignx.exe
设置笔记本电脑热点
- 先将电脑WiFi连接至手机(或其他开放的热点),并打开电脑移动热点功能
- 移动热点设置 WiFi昵称:
noop
,密码:rightcom
- 进入网络适配器,选中WLAN网络右击 -
属性
-共享
,关闭允许其他网络用户通过此计算机的Internet连接来连接
,目的关掉DHCP
- 然后找到移动热点创建的WiFi,进入 属性 - 网络 - Internet协议版本4(TCP/IPv4),手动设置IP地址
使用下面的 IP 地址 | |
---|---|
IP 地址 | 169.253.31.1 |
子网掩码 | 255.255.255.0 |
默认网关 | ... |
- 至此,无线热点设置完成。
解锁 SSH
进入路由器后台,获取 STOK,并替换到下方链接内
- 执行链接1,返回结果为
code=0
,即OK。
http://192.168.31.1/cgi-bin/luci/;stok=xxxxxxxxxxxx/api/misystem/extendwifi_connect?ssid=noop&password=rightcom
#如果自定义热点昵称&密码 那么自行替换结尾处的热点昵称及密码
- 执行链接2,返回结果为
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/ShellClash@master/install.sh)" && source /etc/profile &> /dev/null