楼主: 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, q8 x, Y/ Q1 P( f" S* a; E
输出结果" t! E" t& E/ d, O+ }$ A! G& u) Y
https://www.chinadsl.net/forum.php?mod=attachment&aid=MTAzNzkyfDIzNWZhYmMzfDE3ODgzMDIyOTd8MHw%3D
+ l  K; S$ {7 E. y0 b
在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
$ P: R+ t3 M; n) T) _" dtrying  user:"telecomadmin" pass:"nE7jA%5m"4 f6 U! q/ ]6 E  _! e/ [
reset facTelnetSteps:5 b- G+ ~: C8 w# r9 H" p
Traceback (most recent call last):3 C9 D/ x1 E" F) b0 D! z3 ^
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen. @* }6 F7 k$ ~! p4 T
    httplib_response = self._make_request(
; B7 F) e( s' M7 g  d  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request: \  |6 U3 ], ?# L. B) k& X' P* w+ g! q
    six.raise_from(e, None)
# h- A2 G4 U+ s0 C# N, Y9 V  File "<string>", line 3, in raise_from
$ E1 \. V- T- S( @' C% E  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
# X, m/ `6 J# P0 C    httplib_response = conn.getresponse()! q5 W7 k/ J# s. E- _) q# t
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse
' q* Y' V& L: ^3 f1 ?    response.begin()( m$ F1 \! L/ B6 _. u8 r% B2 Y* o
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin
$ T& I; F! a. H0 c# }0 |    version, status, reason = self._read_status()
! A7 _$ I8 ]) p& y) p* F' ^  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status
$ b+ V' M8 j; e' C! |" Z2 _    raise RemoteDisconnected("Remote end closed connection without"
$ b) x1 H- J2 \; \* P: Uhttp.client.RemoteDisconnected: Remote end closed connection without response
4 C' d0 h$ D- A5 m) z- _# ^% }2 z/ s8 I' p7 g3 X* a8 |9 [
During handling of the above exception, another exception occurred:
1 l  S$ F1 n$ {! J6 `/ ^( L7 `( Z& a$ v1 [! v* W
Traceback (most recent call last):, }4 j# L) ?0 h2 L, _4 \& f1 C
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 489, in send4 q' T/ m( I$ N1 Z* c6 l1 t0 n& X
    resp = conn.urlopen(
' X- [, C9 f4 d2 H% q  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
8 l. t1 B" z! N- b: ]& I    retries = retries.increment(
$ }6 m- J/ f$ W' X' w$ ?  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 550, in increment' ]+ o, h5 A  D2 A& C+ y
    raise six.reraise(type(error), error, _stacktrace)4 n7 o+ e9 _0 h" X) Y
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\packages\six.py", line 769, in reraise
) j" f" g% X/ w. P1 A. N* U" ~  n    raise value.with_traceback(tb)
6 x& A* M4 b+ O+ L! l  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen- z2 F" M3 t: w' z2 _" g" a
    httplib_response = self._make_request(
. ?8 U' D, Q+ V; y; v4 E  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
# J6 Q# i# ?: W    six.raise_from(e, None)4 a' \) q* h9 Z) W0 T/ n
  File "<string>", line 3, in raise_from5 J/ d; n8 N4 o* W! M. X
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request$ j2 j5 _# i/ N
    httplib_response = conn.getresponse()  D- c4 f$ R* W& a2 ]
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse( Z9 F  x1 O3 u& g3 i
    response.begin()
- S6 a+ N0 b8 D  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin! ?; \+ s- \) U2 i
    version, status, reason = self._read_status()
% ?5 t3 e! t8 P/ L8 k' _' w  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status% [& L. X" Z! p
    raise RemoteDisconnected("Remote end closed connection without"
! x7 J# n# ], L8 M8 Z1 E5 eurllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))5 \$ O8 Q0 H; ~( T! [/ @
6 z3 R9 S. ^# b2 Q
During handling of the above exception, another exception occurred:% L* U) @7 t8 ?% [9 O% x7 J
: G( n, |9 c5 X0 E4 V# h3 r
Traceback (most recent call last):
+ i5 }# L5 s' ^( A  File "zte_factroymode.py", line 314, in <module>
' M! y+ F) [1 p9 j    main()
/ r5 u' J" r0 \# @# M) f  File "zte_factroymode.py", line 310, in main
+ I: K- F5 W; b3 c+ U: p' L    dealTelnet(args.ip, args.port, args.user, args.pw, args.action)
/ u6 ^1 h- A5 d  File "zte_factroymode.py", line 268, in dealTelnet
/ H! }$ ^/ F$ D: H' _$ l    telnet = dealFacAuth(WebFacTelnet, ip, port, users, pws)' n; F5 g6 X4 e) D: h
  File "zte_factroymode.py", line 220, in dealFacAuth  d$ L* K2 |& `# D! R# _! m
    if webfac.reset():; V  e$ Q. i& `7 ~* K1 ~
  File "zte_factroymode.py", line 59, in reset
7 h8 _3 v( C$ I. t    resp = self.S.post(f"http://{self.ip}:{self.port}/webFac", data='SendSq.gch')
& @, w. ]8 ?, z9 a+ T  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 635, in post
3 z) b5 `' r1 d- w0 e, q    return self.request("POST", url, data=data, json=json, **kwargs)- G: U9 P/ g3 c/ O
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 587, in request
, M, L; G: U  s/ o6 A1 O    resp = self.send(prep, **send_kwargs)0 k, [. t7 Z3 i6 V
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 701, in send
! Q+ U) }- q  Q' f4 r- P$ z    r = adapter.send(request, **kwargs)
5 G) Z0 H6 _; K  ^4 _  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 547, in send
% \, O- Y8 f$ I8 M' R    raise ConnectionError(err, request=request)3 g8 {4 n& }3 b5 @. U' ~
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
 楼主| 发表于 2023-2-2 19:02:33 |山东| 显示全部楼层
bluck88 发表于 2023-2-2 17:43
- J. i+ B" S" t$ g' ^  W  ^D:\python\yang\zte_modem_tools-main>python zte_factroymode.py --user telecomadmin --pass nE7jA%5m -- ...
6 h. b- y  W% h7 i# P
什么型号的?
发表于 2023-2-3 10:23:42 |上海| 显示全部楼层
douniwandsl 发表于 2023-2-2 19:02
  z! E- I1 Q) {7 B4 V什么型号的?

8 E# [( \; s& J5 UF450A    8080端口
发表于 2023-2-4 13:26:43 |河北| 显示全部楼层
猫粮花了,没东西,不让下载附件
 楼主| 发表于 2023-2-4 15:38:27 |山东| 显示全部楼层
DIVIDE 发表于 2023-2-4 13:26
- y7 }) u9 p4 R0 m' {, z猫粮花了,没东西,不让下载附件
: k; j4 p1 S/ t4 G2 V
点击就能下载
发表于 2023-2-4 23:23:40 |江苏| 显示全部楼层
感谢楼主分享,这个具体要怎么使用呢?下载了,不会用呀。在Windows应用商店里安装了Python,那下载的这个zte_modem_tools-main里面的文件要放在那个文件夹下呢?readme文件,也没看懂如何使用。希望大神指点一下,谢谢啦!
发表于 2023-2-7 01:09:23 |山西| 显示全部楼层
感谢大神,前来膜拜
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

相关侵权、举报、投诉及建议等,请发 E-mail:yesdong@qq.com

Powered by Discuz! X5.0 Licensed © 2001-2026 Discuz! Team.44152102000001

在本版发帖QQ客服返回顶部