[Homelab] 天翼网关 4.0 获取超级密码 & 改桥接
Categories Homelab
Tags
环境
- 运营商:福建宁德电信
- 网关:ZXHN F4010C


尝试
- 账号:telecomadmin 密码:nE7jA%5m
用户信息有误,请重新输入。 - http://192.168.1.100/dumpcfg.conf
Not Found / File not found. - 参考【重磅发布】中兴ZTE全系列光猫开telnet工具破解版打开 telnet
CheckLoginAuth.gch WebRecv Fail!!
必须使用新的方法
流程
可能需要重置光猫并且拔掉光纤。
- 使用 zte_modem_tools
macOS 的 Python 版本过新,只需要安装特定的包即可。
git clone git@github.com:douniwan5788/zte_modem_tools.git
python3 -m venv .venv
source ./.venv/bin/activate
pip install requests pycryptodome
cd zte_modem_tools
python3 zte_factroymode.py telnet open

user=6IhuobmV
pass=4PEC06MM
- 连接 telnet
由于 macbook 没有网口,因此切换到 Windows 台式机上。
需要在“启用或关闭 Windows 功能”中开启“Telnet 客户端”。
关闭 Windows 防火墙:- 按下 Win + S 搜索 “控制面板” (Control Panel) 并打开。
- 选择 “系统和安全” -> “Windows Defender 防火墙”。
- 在左侧菜单点击 “启用或关闭 Windows Defender 防火墙”。
- 将专用网络和公用网络设置都改为 “关闭 Windows Defender 防火墙”。
下载 Tftpd64 并且打开
telnet
o
192.168.1.1
输入上方的账号密码
tftp -p -l /userconfig/cfg/db_user_cfg.xml -r db_user_cfg.xml 192.168.1.x
x 换成电脑实际上的 IP
于是就获得到了 `db_user_cfg.xml`
- 使用 zxcfg
.\zxcfg.exe -i db_user_cfg.xml -o break.xml -m 0
发现已经没办法解密了,寄
- 回到第2步,连接到telnet之后,按照如下方法:
# 固话telnet,改telnet用户和密码
sendcmd 1 DB p TelnetCfg
sendcmd 1 DB set TelnetCfg 0 Lan_Enable 1
sendcmd 1 DB set TelnetCfg 0 TS_UName root
sendcmd 1 DB set TelnetCfg 0 TSLan_UName root
sendcmd 1 DB set TelnetCfg 0 TS_UPwd root
sendcmd 1 DB set TelnetCfg 0 TSLan_UPwd root
sendcmd 1 DB set TelnetCfg 0 Max_Con_Num 99
sendcmd 1 DB set TelnetCfg 0 ExitTime 999999
sendcmd 1 DB set TelnetCfg 0 InitSecLvl 3
sendcmd 1 DB set TelnetCfg 0 CloseServerTime 9999999
sendcmd 1 DB set TelnetCfg 0 Lan_EnableAfterOlt 1
sendcmd 1 DB save
# 设置超级管理员用户名和密码
sendcmd 1 DB set DevAuthInfo 0 User admin
sendcmd 1 DB set DevAuthInfo 0 Pass admin
# 保存配置、重启光猫
sendcmd 1 DB save
reboot
之后用 `admin:admin`登陆,就可以改桥接了
然而不知道怎么着,让光猫连着光纤和软路由之后又自动改回正常模式了,并且尝试获取telnet账号密码也不成功,放弃了……
Page views: Loading... · Visitors: Loading...
Except where otherwise noted, original content on this site is dedicated to the public domain under CC0 1.0.
Powered by Hexo & Theme mdsuper
沪ICP备2026040813号
