楼主: 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
) \! Z+ r9 x; K! U  r输出结果
0 n/ [" K5 }' H6 Q/ J. k2 hhttps://www.chinadsl.net/forum.php?mod=attachment&aid=MTAzNzkyfDcxMTdlYTQ5fDE3OTQ0MTk1MDh8MHw%3D

6 o& V+ \7 D( J* k4 I- H/ 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 open' \! u# o4 h  M! X0 ~
trying  user:"telecomadmin" pass:"nE7jA%5m"( K  ^% f! }( {; o# M0 _8 j5 d& O
reset facTelnetSteps:' F) H/ X: N. s8 c6 k! O  M
Traceback (most recent call last):
& |1 K. m4 l; Q* q  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen7 h5 Z8 d# Y* R1 i; l: v
    httplib_response = self._make_request(( N' w0 w7 [. s5 Q  t
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request4 i2 Z7 V9 @3 L+ v  v1 X) k
    six.raise_from(e, None). Q! `( P3 e! x7 ^% J( J
  File "<string>", line 3, in raise_from
2 d4 c0 j. E: m- O7 X  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
+ |* l, `: M7 A) ]+ e3 f    httplib_response = conn.getresponse()
' y. p5 F/ L: E3 D  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse
, W7 Z* `1 @7 E6 f0 d2 Z7 m0 s3 ~    response.begin()" A& o) [/ a3 r0 F, D: @  U. z
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin: b$ s. s7 _+ O! ~9 R/ E0 I
    version, status, reason = self._read_status(). \0 |* ^# x. f4 |& l$ K9 U
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status
% c3 M) x; {2 q* N) c    raise RemoteDisconnected("Remote end closed connection without"3 N8 `- f: ~' }: a* \* x1 R$ D: A# A
http.client.RemoteDisconnected: Remote end closed connection without response+ u7 Q+ }0 m$ a$ k
) B0 J0 _! K' ]" H/ [+ c
During handling of the above exception, another exception occurred:
+ ~3 b# ]# @" T3 z# @3 E
2 I1 A; u/ D' G' k/ |  u5 \6 TTraceback (most recent call last):0 G) K6 Q9 n1 u4 {" N/ t
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 489, in send7 G; b! N3 q# k5 c8 a
    resp = conn.urlopen(
% v- a. @( \3 p: h5 ?3 D- ]  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen
% p" }& P  q/ I    retries = retries.increment(9 V/ x+ [. T9 n# d  t8 H
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 550, in increment. {+ E# h/ f2 \" ?5 c5 }; F
    raise six.reraise(type(error), error, _stacktrace)  Q& w# o3 t+ C: b( p
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\packages\six.py", line 769, in reraise: S) W! \" T4 B9 a3 H, x
    raise value.with_traceback(tb)8 l- V3 G. l, C, Z6 w
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen8 S& S, Y5 j" C& {6 G' G. k- t' Y
    httplib_response = self._make_request(
3 n+ X7 j5 ~' Y  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request/ c7 w) z- A- V7 Z, z
    six.raise_from(e, None)6 Z+ j2 @6 J1 R: u% ]4 _
  File "<string>", line 3, in raise_from& B4 [* p$ G2 G  P
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request" i7 n$ U7 I! b1 W( t( |: |
    httplib_response = conn.getresponse()8 i; `# R' b3 O5 F/ T! z) Z0 w& q
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse
. t- w+ l! i- {# ~# g    response.begin()6 w$ F1 Z# p; V2 {( d* A
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin
. m- p6 x( ~/ s! z2 B6 r. c    version, status, reason = self._read_status()6 [2 r# ^' H( D/ h
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status
6 s% c6 L; X  n4 g6 Z7 F6 y    raise RemoteDisconnected("Remote end closed connection without"
/ V% a5 r0 e1 i* R3 Lurllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
# q: `2 D% Z+ o/ E2 u) e4 t! P
0 i2 s5 I/ t! U: nDuring handling of the above exception, another exception occurred:7 d" H- ^' Z: ]5 {# u2 ^2 N
! Q$ v( I2 `" z+ @
Traceback (most recent call last):
- \2 N/ z7 H% `% K9 j9 n$ h. i  File "zte_factroymode.py", line 314, in <module>
& H2 C2 z" F& ~8 q    main()
+ F% V) I9 k% D2 A0 f- W0 g$ \  File "zte_factroymode.py", line 310, in main3 c3 }" c& v8 h" E
    dealTelnet(args.ip, args.port, args.user, args.pw, args.action)
6 x: _1 B! L! M& s: x) t# k- T( ]' w  File "zte_factroymode.py", line 268, in dealTelnet
( Z- J! G, D0 ?    telnet = dealFacAuth(WebFacTelnet, ip, port, users, pws)
( X  a( y1 I7 O. K  File "zte_factroymode.py", line 220, in dealFacAuth
: ]+ z6 F5 E9 E' @9 S% D8 _# u    if webfac.reset():+ L  v( h: T6 N( @  o# y" t% K
  File "zte_factroymode.py", line 59, in reset9 U0 T& W( V. X3 t/ G5 E) Z5 _% P& |( P
    resp = self.S.post(f"http://{self.ip}:{self.port}/webFac", data='SendSq.gch')0 {1 W  N4 n' O! E+ Z3 b
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 635, in post5 ?# d: |+ ?7 C* h5 g( A
    return self.request("POST", url, data=data, json=json, **kwargs)+ t2 b+ [9 Q6 u( {; a: q
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 587, in request4 z' @9 n( T; l, S- c
    resp = self.send(prep, **send_kwargs)
9 O* A" ]8 Y) A$ Q6 L2 D* R6 N* H% z  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 701, in send
0 x# R2 Q, }! G7 G4 Q% }: q$ f" a    r = adapter.send(request, **kwargs)8 q2 s% L" x: c( F
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 547, in send3 M& I+ ]! Z- V* r! `1 b& N
    raise ConnectionError(err, request=request)
# U5 H! s$ \; G6 Crequests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
 楼主| 发表于 2023-2-2 19:02:33 |山东| 显示全部楼层
bluck88 发表于 2023-2-2 17:43! K9 B" C- a$ ?# t& w6 g( \
D:\python\yang\zte_modem_tools-main>python zte_factroymode.py --user telecomadmin --pass nE7jA%5m -- ...

! y: S* n; C' M; o1 C什么型号的?
发表于 2023-2-3 10:23:42 |上海| 显示全部楼层
douniwandsl 发表于 2023-2-2 19:02) T4 R: H8 m3 A/ V
什么型号的?

- \" s8 B! p/ G1 n, u* {: u3 @F450A    8080端口
发表于 2023-2-4 13:26:43 |河北| 显示全部楼层
猫粮花了,没东西,不让下载附件
 楼主| 发表于 2023-2-4 15:38:27 |山东| 显示全部楼层
DIVIDE 发表于 2023-2-4 13:26
% z' A2 j+ ~4 x& ^- R& m8 O猫粮花了,没东西,不让下载附件
8 e1 n# D# L- P# K2 _0 X) \3 P
点击就能下载
发表于 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

在本版发帖返回顶部