撰于 阅读 26

如何获取光猫管理员权限并修改设置

根据您提供的帖子链接和操作步骤,您可以通过特定的方法来获取光猫的管理员权限并修改桥接等设置。首先,您需要使用火狐浏览器(Firefox),因为Chrome和Edge浏览器可能无法成功执行该操作。操作步骤如下:

  1. 重启路由器,并在等待倒计时到3-5秒时点击刷新网页,尝试使用普通账户登录,成功登录后即可获得管理员权限。
  2. 另一种方法是直接在浏览器中输入地址:http://192.168.1.1/entelnet.cgi。如果页面显示以下信息,则表示成功:
{
    "status": 0
}
  1. 接下来,打开浏览器的F12控制台,并输入以下JavaScript代码来开启Telnet功能:
await fetch("http://192.168.1.1/setHbusData?path=hbus://mdm/InternetGatewayDevice.DeviceInfo.X_CMCC_ServiceManage.&msgType=212", {
    "credentials": "include",
    "referrer": "http://192.168.1.1/",
    "body": "\"path\":\"hbus://mdm/InternetGatewayDevice.DeviceInfo.X_CMCC_ServiceManage.\",\"para\":{\"TelnetEnable\":true,\"TelnetPort\":\"23\"}}",
    "method": "POST",
    "mode": "cors"
});
  1. 最后,输入以下代码来恢复默认的超密码为aDm8H%MdA(移动用户名为CMCCAdmin):
await fetch("http://192.168.1.1/setHbusData?path=hbus://mdm/InternetGatewayDevice.DeviceInfo.X_CMCC_TeleComAccount.", {
    "credentials": "include",
    "referrer": "http://192.168.1.1/",
    "body": "\"path\":\"hbus://mdm/InternetGatewayDevice.DeviceInfo.X_CMCC_TeleComAccount.\",\"para\":{\"Password\":\"aDm8H%MdA\"}}",
    "method": "POST",
    "mode": "cors"
});

按照上述步骤操作,您应该能够成功获取光猫的管理员权限,并修改相关设置。


评论已关闭