找回密码
 立即注册

QQ登录

只需一步,快速开始

楼主: douniwandsl

[工具] ZTE 中兴全系列破解光猫开telnet开源工具 应该兼容到 TelnetONU 1.6了

    [复制链接]
发表于 2023-1-31 22:22:22 | 显示全部楼层
虽然猫粮不够还没下,还是感谢楼主
发表于 2023-2-1 12:39:25 | 显示全部楼层
qiner_1984 发表于 2023-1-30 20:05+ o/ q- c1 k* v! B
输出结果
( j. W6 E  K# L; qhttps://www.chinadsl.net/forum.php?mod=attachment&aid=MTAzNzkyfGY1NmFhZGFkfDE3NzI2NzU4NTl8MHw%3D

; K$ G0 p. o0 P3 [0 N在cmd里直接输入python3 zte.....py 而不是先输入python 进入python交互模式后再输入一遍python3 xxxxx.py
发表于 2023-2-2 17:43:40 | 显示全部楼层
D:\python\yang\zte_modem_tools-main>python zte_factroymode.py --user telecomadmin --pass nE7jA%5m -- 192.168.1.1 8080 telnet open
1 q1 X, X+ ^. s$ @trying  user:"telecomadmin" pass:"nE7jA%5m"
+ D8 N+ {$ c% x% T4 T- Areset facTelnetSteps:
/ y( G1 I5 }& V/ N( lTraceback (most recent call last):
2 A$ C+ X! x1 x) e  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
. v( K3 |) z& B4 d, C* @    httplib_response = self._make_request(3 s2 ~" d; d1 }: N( `) U! W
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
& `, }0 q/ z6 B2 r    six.raise_from(e, None)
/ P* N" K$ b+ o2 l" A  File "<string>", line 3, in raise_from1 j" f5 u. z/ j' w1 U4 B
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request+ Q* M5 V$ J$ {1 G+ m
    httplib_response = conn.getresponse()
% _$ b* j6 {4 U! Z% p: Y2 f  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse/ @. r/ D7 r0 G" z- H
    response.begin()
) c$ j7 H6 V. `6 F$ y  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin2 a! h: G/ j4 Z( R2 }
    version, status, reason = self._read_status()
$ y$ b: C. W1 Q1 W  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status" M+ g! n: J- p7 y; j% P/ Z! `
    raise RemoteDisconnected("Remote end closed connection without"
  V; u" z  Z, E+ s- A3 q3 E) ]3 Ohttp.client.RemoteDisconnected: Remote end closed connection without response
  C& C5 Z8 e' k; _4 A. \9 [  j/ e: ~8 k9 u7 D3 h% o* Y( p
During handling of the above exception, another exception occurred:
$ p6 X. H" @1 t3 N
. s- k: `7 g: N: pTraceback (most recent call last):
7 U/ ~/ y7 C" l, A  O8 K  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 489, in send
  e/ @  T4 g, |8 m$ m% }% [7 m* Y    resp = conn.urlopen(
+ _/ Q# q. `: M1 W; f8 s8 ~" ^6 P, f% X  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
' g+ \; m9 h. u/ e    retries = retries.increment(
; m8 z7 U( Q' `2 S) T" T  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 550, in increment
" X/ b/ r: }$ W* T2 {    raise six.reraise(type(error), error, _stacktrace)
$ V& ~+ m6 b' N# Z* P' L0 [; V- l  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\packages\six.py", line 769, in reraise
- `7 Q# _7 l: j7 i$ p- ]  e    raise value.with_traceback(tb)' C/ N, B6 G9 S; H+ K+ |' y
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
' \5 ^/ E  n4 f    httplib_response = self._make_request(. K( W2 b. D0 z) g( W. z: I3 ]
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
) g9 y$ x3 R9 D) N- a$ T    six.raise_from(e, None)0 w# t- \$ C/ B5 T9 \3 `4 \; K
  File "<string>", line 3, in raise_from* |& U- l. b& u/ y4 V
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request' B1 ]4 n+ h6 Y2 I; u7 a
    httplib_response = conn.getresponse()8 @/ T3 y* c) |. t4 k
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse; e& i4 _2 M! Y+ [/ C
    response.begin()
8 e+ N) s$ m( |+ U' p( c) y  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin. G- [9 E+ t! v2 m- o$ C
    version, status, reason = self._read_status()
' s; d3 R" x; a. r! c0 e1 p% L  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status
4 K$ U5 e6 N- x    raise RemoteDisconnected("Remote end closed connection without"
, f! C9 p1 l- [: Q. }/ ~urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
  `* @$ Q1 [0 }) i! D7 |. v5 Q! {
$ |6 `. ?  d% \( I- wDuring handling of the above exception, another exception occurred:' b0 P) l* L/ `! Z1 `/ D& C$ N

: ]3 v8 k( M  }+ J6 yTraceback (most recent call last):
# }( @& E, R# d! H  File "zte_factroymode.py", line 314, in <module>
0 ]4 \% v9 v' R0 B7 \    main()9 E0 }- D1 V3 j4 |6 i2 D8 k8 G
  File "zte_factroymode.py", line 310, in main
  ?9 a, k: g  R6 Y9 m2 W! u# y: e    dealTelnet(args.ip, args.port, args.user, args.pw, args.action)" Z0 I- I" _$ u0 F" F( `# N2 K
  File "zte_factroymode.py", line 268, in dealTelnet
2 ?4 i! g$ S8 J% i5 ^4 [    telnet = dealFacAuth(WebFacTelnet, ip, port, users, pws)& o; ]! o; m" `" G6 t  ]# v
  File "zte_factroymode.py", line 220, in dealFacAuth
; q# }) j2 q: C- ^5 T) X, u% L4 M    if webfac.reset():; O) a( S% C8 q) _( B( g
  File "zte_factroymode.py", line 59, in reset
/ ^$ L/ u1 @) [! B* U% @    resp = self.S.post(f"http://{self.ip}:{self.port}/webFac", data='SendSq.gch')6 k7 ~6 w; z( y3 f: Z, W5 n$ X
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 635, in post% j! X0 w9 O" {) N; [+ {
    return self.request("POST", url, data=data, json=json, **kwargs)2 a/ v/ Z- `1 X3 t0 \/ G) m  a$ t( G
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 587, in request
' _3 X9 v' s# o* b& _, }! R    resp = self.send(prep, **send_kwargs)( U: b+ s! }" J) ?# n0 t
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 701, in send8 \: r8 w) U6 D
    r = adapter.send(request, **kwargs)  y. b- Q$ }' D2 @/ T
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 547, in send
8 ?8 B5 a$ i6 R) M2 ]& X    raise ConnectionError(err, request=request)4 i: {6 m# I& J* m" u2 t
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
 楼主| 发表于 2023-2-2 19:02:33 | 显示全部楼层
bluck88 发表于 2023-2-2 17:43
$ r" B  D! p8 {3 l3 r: l  UD:\python\yang\zte_modem_tools-main>python zte_factroymode.py --user telecomadmin --pass nE7jA%5m -- ...

  q2 a- m, O' ?/ n3 H7 q) Y什么型号的?
发表于 2023-2-3 10:23:42 | 显示全部楼层
douniwandsl 发表于 2023-2-2 19:02
  ?. V8 J: }* m什么型号的?

3 L9 ]. ?5 A- m! i4 n+ k  mF450A    8080端口
发表于 2023-2-4 13:26:43 | 显示全部楼层
猫粮花了,没东西,不让下载附件
 楼主| 发表于 2023-2-4 15:38:27 | 显示全部楼层
DIVIDE 发表于 2023-2-4 13:26. K! W1 J  Z( V& C9 N0 B
猫粮花了,没东西,不让下载附件
8 d- X4 I1 Y+ k
点击就能下载
发表于 2023-2-4 23:23:40 | 显示全部楼层
感谢楼主分享,这个具体要怎么使用呢?下载了,不会用呀。在Windows应用商店里安装了Python,那下载的这个zte_modem_tools-main里面的文件要放在那个文件夹下呢?readme文件,也没看懂如何使用。希望大神指点一下,谢谢啦!
发表于 2023-2-7 01:09:23 | 显示全部楼层
感谢大神,前来膜拜
*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

Archiver|小黑屋|宽带技术网 |网站地图 粤公网安备44152102000001号

GMT+8, 2026-3-5 09:57 , Processed in 0.021761 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表