找回密码
 立即注册

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; m, ^. q) p' v7 u4 O* @
输出结果
# z* _1 G% N5 Y. U6 Ohttps://www.chinadsl.net/forum.php?mod=attachment&aid=MTAzNzkyfDFjYjFmYjZmfDE3NTk0NTU1MjR8MHw%3D

5 B& e9 Y/ C/ d在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 open4 x, G* p3 ^* l0 ]. q
trying  user:"telecomadmin" pass:"nE7jA%5m"3 ]5 D! [! A0 P% K* f; r6 F5 z% A
reset facTelnetSteps:
' v6 |: R1 |! p* K% ~  L' KTraceback (most recent call last):6 C! j' Z; ]' z1 V( _: Y
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen1 q" j  q) f1 d1 C/ y/ \
    httplib_response = self._make_request(6 s/ Z+ B$ Z2 Q9 J" Z" \
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
' Z# ]. k7 K" O. x& E8 [2 d3 @$ ^    six.raise_from(e, None)1 \. q3 ~7 V. ]2 Z/ W
  File "<string>", line 3, in raise_from
8 c# R. \2 Q3 u! O" M5 b  x  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request2 `  o* D& E$ l1 J; e
    httplib_response = conn.getresponse()
. q3 k! E: [7 V# ?% ~' W  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse. P- d: A. `% ]6 y8 X  ]
    response.begin()# U- u  |0 d) f( H
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin
7 e, l7 i( R$ a/ o4 A) {    version, status, reason = self._read_status(); ^' [6 g" k- l8 B$ z) ~
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status
5 s2 O8 ]2 E5 I    raise RemoteDisconnected("Remote end closed connection without"5 v) t( d. `: u+ E3 J' V& K, |
http.client.RemoteDisconnected: Remote end closed connection without response
* s  g; m$ [5 j# h; p% m3 x4 y6 _* S+ ~2 E$ q
During handling of the above exception, another exception occurred:
9 ~: k& e( l) x. T
% U! \# l( }# kTraceback (most recent call last):. A- ^; j6 f% x& L8 {+ {
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 489, in send
! N: a6 J1 b1 ]# a- J3 \& o    resp = conn.urlopen(8 ~& e6 P6 s+ Z; b
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen7 Z( S/ \) F+ E4 A6 C
    retries = retries.increment(
1 F& \1 [8 |4 e4 c7 ^  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 550, in increment
4 k- G2 r$ e1 s* P1 V  M) r0 w* z    raise six.reraise(type(error), error, _stacktrace)
# _8 v& P& C  j5 o! A/ V' ?6 C1 [  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\packages\six.py", line 769, in reraise, b- R! ?4 `  v0 C, \+ y$ I1 C8 n0 J
    raise value.with_traceback(tb)/ i' ^. ?# v3 c, I) N
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen( G9 c6 C- e& c5 @- V
    httplib_response = self._make_request(5 B$ [- A' A. A9 }+ j5 v( Q
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request% C# z9 H! f! v6 I
    six.raise_from(e, None)
: e# q. ]; ]' _9 s6 W% F3 K  File "<string>", line 3, in raise_from- F5 u- F7 h  E
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request' k: ^+ Q& b4 f: P1 Z" B
    httplib_response = conn.getresponse()
- B9 J! f( ?- U' i  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse; v, P' g7 I4 B( z
    response.begin()
4 q# j8 j* j( y9 }, J  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin
3 r) F6 N( v9 T' P- V    version, status, reason = self._read_status()8 {/ O3 Q3 G& [
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status. V, P7 B9 a* Y. C- v
    raise RemoteDisconnected("Remote end closed connection without"
, a' }, \2 P5 Y* D3 J. l3 iurllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
8 _8 S, v, A( S7 D1 u- m0 I7 C) i
9 t% U2 {% ]% Z' D: z6 f: @& TDuring handling of the above exception, another exception occurred:! }: S9 v" I5 i1 A+ a$ D. j

. ]" J+ @; ?, P* V  y: rTraceback (most recent call last):6 {  q( d; ]  `& `5 E
  File "zte_factroymode.py", line 314, in <module>
- D" @  t; L1 |    main()
& P7 I; P% B# s" I' n( p  File "zte_factroymode.py", line 310, in main
$ \1 E* N% m7 g. d4 _    dealTelnet(args.ip, args.port, args.user, args.pw, args.action)! N& N1 n# z: R1 W- _; u4 Z' v
  File "zte_factroymode.py", line 268, in dealTelnet( w- j0 {% p" |8 m, e( H
    telnet = dealFacAuth(WebFacTelnet, ip, port, users, pws); r: q8 A  E; [  I  `3 d$ L+ C
  File "zte_factroymode.py", line 220, in dealFacAuth3 J3 w' J# W0 O
    if webfac.reset():
+ O  `  N! f* b, m! P  File "zte_factroymode.py", line 59, in reset6 y- [6 `3 U2 U$ l
    resp = self.S.post(f"http://{self.ip}:{self.port}/webFac", data='SendSq.gch')
" F6 h! k, w/ a6 o  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 635, in post/ |& o+ b( q* \' K# b
    return self.request("POST", url, data=data, json=json, **kwargs)
' c" [% `% y+ u! D1 Z1 l/ o8 h, ~7 k  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 587, in request
( b( l3 Q9 n, t4 U1 G" r- p    resp = self.send(prep, **send_kwargs)
" l  q! b/ a, p& C  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 701, in send+ y  Z+ A+ c  y4 {6 x! ?; W
    r = adapter.send(request, **kwargs)
8 h2 ?( }/ n% C1 b) g! O  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 547, in send
- u: y+ D. I$ d6 s    raise ConnectionError(err, request=request)/ Y6 [9 z! s9 y0 u  I, 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
. h* G' [3 Y7 K4 ], m# g0 b* yD:\python\yang\zte_modem_tools-main>python zte_factroymode.py --user telecomadmin --pass nE7jA%5m -- ...

% D1 W/ C( S! G1 C4 Y' Q1 `7 K1 J, W什么型号的?
发表于 2023-2-3 10:23:42 | 显示全部楼层
douniwandsl 发表于 2023-2-2 19:02
& p  {( d$ g, `3 l4 }什么型号的?

( W: O9 W& G9 R- J4 f$ o/ I% eF450A    8080端口
发表于 2023-2-4 13:26:43 | 显示全部楼层
猫粮花了,没东西,不让下载附件
 楼主| 发表于 2023-2-4 15:38:27 | 显示全部楼层
DIVIDE 发表于 2023-2-4 13:26$ [& S, F5 L/ X4 J+ N
猫粮花了,没东西,不让下载附件

* V' z( L8 d' W4 B% ]5 @点击就能下载
发表于 2023-2-4 23:23:40 | 显示全部楼层
感谢楼主分享,这个具体要怎么使用呢?下载了,不会用呀。在Windows应用商店里安装了Python,那下载的这个zte_modem_tools-main里面的文件要放在那个文件夹下呢?readme文件,也没看懂如何使用。希望大神指点一下,谢谢啦!
发表于 2023-2-7 01:09:23 | 显示全部楼层
感谢大神,前来膜拜
*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-10-3 09:38 , Processed in 0.025255 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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