zte_modem_tools
所属分类:Modem编程
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-04-25 09:51:42
上 传 者:
sh-1993
说明: 中兴通讯调制解调器工具,
(tools for zte modem,)
文件列表:
LICENSE (34523, 2023-04-06)
build.bat (69, 2023-04-06)
requirements.txt (56, 2023-04-06)
test/ (0, 2023-04-06)
test/hardcode (76, 2023-04-06)
test/hardcodefile/ (0, 2023-04-06)
test/hardcodefile/dataprotocol (664, 2023-04-06)
test/hardcodefile/dataprotocol.txt (584, 2023-04-06)
test/hardcodefile/gponcfg (216, 2023-04-06)
test/hardcodefile/gponcfg.txt (133, 2023-04-06)
test/hardcodefile/oss.password (232, 2023-04-06)
test/hardcodefile/oss.password.txt (159, 2023-04-06)
test/hardcodefile/webpri (184, 2023-04-06)
test/hardcodefile/webpri.txt (111, 2023-04-06)
test/hardcodefile/wlan (184, 2023-04-06)
test/hardcodefile/wlan.txt (111, 2023-04-06)
zte_factroymode.py (12047, 2023-04-06)
zte_hardcode_dump.py (2499, 2023-04-06)
# ENV
```
python3 -m venv .venv
source ./.venv/bin/activate
pip install -r requirements.txt
```
# zte_factroymode.py
open telnet(use embed user/pass to 192.168.1.1 80):
`python3 zte_factroymode.py telnet`
or custom args
`python3 zte_factroymode.py --user CUAdmin --pass CUAdmin --ip 192.168.1.1 --port 80 telnet open`
```shell
$ python3 ./zte_factroymode.py -h
usage: zte_factroymode [-h] [--user USER [USER ...]] [--pass PASS [PASS ...]] [--ip IP] [--port PORT] {telnet,serial} ...
options:
-h, --help show this help message and exit
--user USER [USER ...], -u USER [USER ...]
factorymode auth username (default: ['factorymode', 'CMCCAdmin', 'CUAdmin', 'telecomadmin', 'cqadmin', 'user', 'admin', 'cuadmin', 'lnadmin', 'useradmin'])
--pass PASS [PASS ...], -p PASS [PASS ...]
factorymode auth password (default: ['nE%jA@5b', 'aDm8H%MdA', 'CUAdmin', 'nE7jA%5m', 'cqunicom', '1620@CTCC', '1620@CUcc', 'admintelecom', 'cuadmin', 'lnadmin'])
--ip IP route ip (default: 192.168.1.1)
--port PORT router http port (default: 80)
subcommands:
valid subcommands
{telnet,serial} supported commands
telnet control telnet services on/off
serial control /proc/serial on/off
https://github.com/douniwan5788/zte_modem_tools
```
# zte_hardcode_dump.py
decrypt /etc/hardcodefile
`./zte_hardcode_dump.py test/hardcode test/hardcodefile/*`
```shell
$ python3 ./zte_hardcode_dump.py -h
usage: zte_hardcode_dump [-h] hardcode hardcodefile [hardcodefile ...]
positional arguments:
hardcode the /etc/hardcode file which contains root key
hardcodefile config files under /etc/hardcodefile
options:
-h, --help show this help message and exit
https://github.com/douniwan5788/zte_modem_tools
```
近期下载者:
相关文件:
收藏者: