{"id":6886,"date":"2021-05-12T17:05:56","date_gmt":"2021-05-12T09:05:56","guid":{"rendered":"http:\/\/jc.a300.cn/luyouwang\/?p=6886"},"modified":"2021-05-12T17:05:56","modified_gmt":"2021-05-12T09:05:56","slug":"%e7%ba%a2%e7%b1%b3ax6%e8%b7%af%e7%94%b1%e5%99%a8%e8%a7%a3%e9%94%81ssh%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/jc.a300.cn/luyouwang\/6886.html","title":{"rendered":"\u7ea2\u7c73AX6\u8def\u7531\u5668\u89e3\u9501SSH\u6559\u7a0b"},"content":{"rendered":"

\u672c\u6587\u5e26\u6765Redmi\u7ea2\u7c73AX6 AX3000\u8def\u7531\u5668\u89e3\u9501SSH\u6559\u7a0b\uff0c\u6211\u4eec\u5728\u5237\u7b2c\u4e09\u65b9\u56fa\u4ef6\u7684\u65f6\u5019\u9700\u8981\u628a\u8def\u7531\u5668\u7684SSH\u89e3\u9501\uff0c\u8fd9\u6837\u624d\u80fd\u8fdb\u884c\u5237\u673a\u3001\u8fd0\u884c\u547d\u4ee4\u64cd\u4f5c\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u51c6\u5907\u5de5\u4f5c\uff1a<\/h3>\n

\u4e00\u53f0\u642d\u8f7d\u4e86 OpenWrt \u7cfb\u7edf\u7684\u65e0\u7ebf\u8def\u7531\u5668\uff08\u4e0b\u79f0\u8def\u7531A\uff09<\/p>\n

\u7ea2\u7c73 AX3000 (aka. AX6)\uff08\u4e0b\u79f0\u8def\u7531B\uff09<\/p>\n

\u4e00\u53f0\u652f\u6301\u7f51\u7ebf\u8fde\u63a5\u7684\u7535\u8111\uff08\u4e0b\u79f0\u7535\u8111\uff09<\/p>\n

\u5b8c\u6574\u7684 shell-script\/unlock-redmi-ax3000 \u6e90\u7801\uff08\u4e0b\u79f0\u6e90\u7801\uff09<\/p>\n

\u6e90\u7801\u4e0b\u8f7d\uff1a\u94fe\u63a5: http:\/\/pan.baidu.com\/s\/1vj2BnG4Lv9eV5t-MrmlP3A<\/a> \u63d0\u53d6\u7801: kdn3<\/p>\n

\u6b65\u9aa4<\/h3>\n

1. \u767b\u5165\u8def\u7531B\u540e\u53f0\uff0c\u68c0\u67e5\u56fa\u4ef6\u7248\u672c\u3002<\/strong>
\u63a8\u8350\u7684\u7248\u672c\u53f7\u4e3a\uff1aMiWiFi \u7a33\u5b9a\u7248 1.0.18\uff08
\u70b9\u6b64\u4e0b\u8f7d<\/a>\uff09\uff0c\u672c\u6559\u7a0b\u4ec5\u4fdd\u8bc1\u5728\u8be5\u7248\u672c\u4e0b\u6709\u6548
\u82e5\u7248\u672c\u53f7\u4e0d\u5339\u914d\uff0c\u8bf7\u5148\u5347\u7ea7 \/ \u964d\u7ea7\u56fa\u4ef6\u3002<\/p>\n

2. \u5c06\u7535\u8111\u4e0e\u8def\u7531A\u901a\u8fc7\u6709\u7ebf\u8fde\u63a5<\/strong>
\u8fdb\u5165\u6e90\u7801\u76ee\u5f55\uff0c\u5047\u8bbe\u8def\u7531A\u5730\u5740\u4e3a 192.168.1.1\uff0c\u5728\u7535\u8111\u4e0a\u6267\u884c\u547d\u4ee4\uff1a<\/p>\n

scp wireless.sh root@192.168.1.1:\/root\/wireless.sh\r\n<\/pre>\n

\"\"<\/a><\/p>\n

\u7136\u540e\u901a\u8fc7 SSH \u8fde\u63a5\uff0c\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff08\u6309\u56de\u8f66\u786e\u8ba4\uff09\uff1a<\/p>\n

\u8b66\u544a\uff1a \u6267\u884c\u672c\u811a\u672c\u4f1a\u66f4\u6539\u60a8\u7684\u7f51\u7edc\u548c\u65e0\u7ebf\u8bbe\u5b9a\uff0c\u6267\u884c\u4e4b\u524d\u8bf7\u52a1\u5fc5\u5907\u4efd\u76f8\u5173\u6570\u636e<\/strong><\/p>\n

sh \/root\/wireless.sh\r\n<\/pre>\n

\"\"<\/a><\/p>\n

3. \u5c06\u7535\u8111\u4e0e\u8def\u7531 A \u65ad\u5f00\uff0c\u8f6c\u63a5\u5230\u8def\u7531 B<\/strong><\/p>\n

\u767b\u5165\u8def\u7531\u5668\u540e\u53f0\uff0c\u83b7\u53d6 STOK<\/p>\n

http:\/\/192.168.31.1\/cgi-bin\/luci\/;stok=xxx<\/span>\uff08\u5176\u4e2d\u7684 xxx \u5373\u4e3a STOK\uff09<\/span><\/p>\n

\u7136\u540e\u00a0\u4f9d\u6b21<\/strong> \u8bbf\u95ee\u4e0b\u9762\u7684 URL\uff08STOK \u4e0d\u542b\u5c16\u62ec\u53f7\uff09\uff1a<\/p>\n

\u6ce8\u610f\uff1a\u8fd9\u53ef\u80fd\u9700\u8981\u82b1\u8d39\u4e00\u70b9\u65f6\u95f4\uff0c\u5e76\u4e14\u6709\u51e0\u7387\u5931\u8d25\uff0c\u8bf7\u591a\u5c1d\u8bd5\u51e0\u6b21\u3002<\/p>\n

http:\/\/192.168.31.1\/cgi-bin\/luci\/;stok=<STOK>\/api\/misystem\/extendwifi_connect?ssid=MEDIATEK-ARM-IS-GREAT&password=ARE-YOU-OK\r\n<\/pre>\n

\u5982\u51fa\u73b0 connect success<\/span> \u5219\u4ee3\u8868\u8def\u7531 B \u5df2\u6210\u529f\u8fde\u63a5\u5230\u8def\u7531 A\uff0c\u53ef\u4ee5\u7ee7\u7eed\u8bbf\u95ee\u4e0b\u4e00\u4e2a URL\uff1a<\/p>\n

\"\"<\/a><\/p>\n

http:\/\/192.168.31.1\/cgi-bin\/luci\/;stok=<STOK>\/api\/xqsystem\/oneclick_get_remote_token?username=xxx&password=xxx&nonce=xxx\r\n<\/pre>\n

\u5982\u51fa\u73b0\u4e0b\u56fe\u4e2d\u7684\u5185\u5bb9\uff0c\u5219\u4ee3\u8868 SSH \u5f00\u542f\u6210\u529f\u3002<\/p>\n

\"\"<\/a><\/p>\n

4. \u5c06\u5fc5\u8981\u6587\u4ef6\u4f20\u8f93\u81f3\u8def\u7531 B<\/strong><\/p>\n

\u5237\u65b0\u8def\u7531 B \u540e\u53f0\u754c\u9762\uff0c\u6b64\u65f6 5GHz \u65e0\u7ebf\u8fde\u63a5\u5bc6\u7801\u5df2\u7ecf\u88ab\u81ea\u52a8\u66f4\u6539\u4e3a SSH \u767b\u5f55\u5bc6\u7801\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u8fdb\u5165\u6e90\u7801\u76ee\u5f55\uff0c\u5728\u7535\u8111\u4e0a\u6267\u884c\u4e0b\u5217\u547d\u4ee4\uff1a<\/p>\n

scp ax3000.sh root@192.168.31.1:\/etc\/ax3000.sh\r\nscp fuckax3000 root@192.168.31.1:\/etc\/fuckax3000<\/pre>\n

\u7136\u540e\u901a\u8fc7 SSH \u8fde\u63a5\uff0c\u6267\u884c\u4e0b\u5217\u547d\u4ee4\uff1a<\/p>\n

sh \/etc\/ax3000.sh dump\r\n<\/pre>\n

\"\"<\/a><\/p>\n

\u811a\u672c\u4f1a\u81ea\u52a8\u5bfc\u51fa\u5907\u4efd\u6570\u636e\uff0c\u8bf7\u901a\u8fc7\u4e0b\u9762\u7684\u5730\u5740\u4fdd\u5b58\u4ee5\u9632\u4e07\u4e00\uff1a<\/p>\n

http:\/\/192.168.31.1\/backup\/log\/bdata_mtd9.img\r\n<\/pre>\n

5. \u56fa\u5316 Telnet\/SSH \u8bbf\u95ee\u6743\u9650<\/strong><\/p>\n

\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5f53\u8def\u7531\u5668\u6062\u590d\u51fa\u5382\u8bbe\u7f6e\u6216\u8005\u5347\u7ea7\u540e\uff0c\u76f8\u5173\u6743\u9650\u5c06\u4f1a\u4e22\u5931\uff0c\u56e0\u6b64\u6211\u4eec\u9700\u8981\u989d\u5916\u7684\u64cd\u4f5c\u4ee5\u4fdd\u7559\u5b83\u4eec\u3002<\/p>\n

\u901a\u8fc7 SSH \u8fde\u63a5\u8def\u7531 B\uff0c\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n

sh \/etc\/ax3000.sh unlock\r\n\u8def\u7531\u5668\u4f1a\u81ea\u884c\u91cd\u542f\uff0c\u91cd\u542f\u540e\u6267\u884c\r\nsh \/etc\/ax3000.sh hack<\/pre>\n

6. \u6302\u8f7d overlay \u7a7a\u95f4<\/strong><\/p>\n

\u65b9\u4fbf\u5b89\u88c5\u5404\u79cd\u8f6f\u4ef6\u5305\u548c\u4f60\u60f3\u8981\u7684\u4e00\u4e9b\u529f\u80fd<\/p>\n

\u901a\u8fc7 SSH \u8fde\u63a5\u8def\u7531 B\uff0c\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/p>\n

sh \/etc\/ax3000.sh mount\r\n\u81ea\u884c\u91cd\u542f\u8def\u7531\u5668\uff0c\u7136\u540e\u6267\u884c\r\nsh \/etc\/ax3000.sh keep<\/pre>\n

7. \uff08\u53ef\u9009\uff09\u66f4\u6362 dists \u6e90<\/strong><\/p>\n

\u5c0f\u7c73\u56fa\u4ef6\u5185\u7684 dists \u6e90\u5df2\u7ecf\u975e\u5e38\u8001\u65e7\u4e14\u4e0d\u63a8\u8350\u4f7f\u7528\uff0c\u66f4\u6362\u5230\u6700\u65b0\u6e90\u5373\u53ef\u4eab\u53d7\u5728\u7ebf\u5b89\u88c5 xray-core \u7b49\u6743\u5229
\u5c06\u8def\u7531 B \u7684 \/etc\/opkg\/distfeeds.conf<\/span> \u6587\u4ef6\u66f4\u6539\u4e3a\u5982\u4e0b\u5185\u5bb9\uff1a<\/p>\n

src\/gz openwrt_base http:\/\/downloads.openwrt.org\/snapshots\/packages\/aarch64_cortex-a53\/base\r\nsrc\/gz openwrt_luci http:\/\/downloads.openwrt.org\/snapshots\/packages\/aarch64_cortex-a53\/luci\r\nsrc\/gz openwrt_packages http:\/\/downloads.openwrt.org\/snapshots\/packages\/aarch64_cortex-a53\/packages\r\nsrc\/gz openwrt_routing http:\/\/downloads.openwrt.org\/snapshots\/packages\/aarch64_cortex-a53\/routing<\/pre>\n

\u8fd0\u884c opkg update<\/span> \u5373\u53ef\u5b8c\u6210SSH\u89e3\u9501\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u672c\u6587\u5e26\u6765Redmi\u7ea2\u7c73AX6 AX3000\u8def\u7531\u5668\u89e3\u9501SSH\u6559\u7a0b\uff0c\u6211\u4eec\u5728\u5237\u7b2c\u4e09\u65b9\u56fa\u4ef6\u7684\u65f6\u5019\u9700\u8981\u628a\u8def\u7531\u5668\u7684SSH\u89e3\u9501\uff0c\u8fd9\u6837\u624d\u80fd\u8fdb\u884c\u5237\u673a\u3001\u8fd0\u884c\u547d\u4ee4\u64cd\u4f5c\u3002 \u51c6\u5907\u5de5\u4f5c\uff1a \u4e00\u53f0\u642d\u8f7d\u4e86 Open\u2026<\/p>\n","protected":false},"author":680,"featured_media":6887,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,6],"tags":[1813,1812,1814,355],"attr":[],"class_list":{"0":"post-6886","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-miwifi","8":"category-firmware","9":"tag-ax6-ssh","10":"tag-ax6ssh","11":"tag-ssh","13":"entry"},"views":18651,"_links":{"self":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts\/6886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/users\/680"}],"replies":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/comments?post=6886"}],"version-history":[{"count":0,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/posts\/6886\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/media\/6887"}],"wp:attachment":[{"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/media?parent=6886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/categories?post=6886"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/tags?post=6886"},{"taxonomy":"attr","embeddable":true,"href":"http:\/\/jc.a300.cn/luyouwang\/wp-json\/wp\/v2\/attr?post=6886"}],"curies":[{"name":"wp","href":"http:\/\/api.w.org\/{rel}","templated":true}]}}