找回密码
 立即注册

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
4 {0 `7 n7 A1 P! U6 D- s( P输出结果+ `, x1 I0 @4 A) v( E' A% z2 K
https://www.chinadsl.net/forum.php?mod=attachment&aid=MTAzNzkyfGU0ZmFkNDA5fDE3NTUwNjYwNjV8MHw%3D

5 [# o' f$ @' Z  o/ f& s在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 open8 H; Q: n& j5 b2 g
trying  user:"telecomadmin" pass:"nE7jA%5m"; H: U2 ?5 A: A) r4 z& @
reset facTelnetSteps:
! l: F4 `* w2 l7 ETraceback (most recent call last):
; M- z# B4 U" ~; g  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
6 K; F( |' g, q) K    httplib_response = self._make_request(# p* e9 U$ l. v* w- {
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request
' ~+ l" t5 e; N9 x$ {    six.raise_from(e, None)
0 W; A5 v" w! P  File "<string>", line 3, in raise_from
  d' K  V4 t5 D  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request
$ [& l5 x+ u9 X/ B2 q    httplib_response = conn.getresponse()
% u- J7 h+ g6 T+ m: r! ?2 D6 ]( j5 k. Y  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse# {. G5 R9 }0 i2 ~9 w* l
    response.begin()& E2 W  c& C! s$ j" R" G
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin6 N" f3 T, \$ o! G
    version, status, reason = self._read_status()! T* a6 v8 \  P# Z1 N
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status4 {0 P9 L9 c; _) U
    raise RemoteDisconnected("Remote end closed connection without") Z- ~2 E  e5 ?  @& `$ J
http.client.RemoteDisconnected: Remote end closed connection without response
) b" L. m, D4 h+ l/ L5 [+ Q
- R8 a" B. g$ X1 W( IDuring handling of the above exception, another exception occurred:
4 [0 ]3 I( ]( d4 i. B' ]. t
  ~  _5 e; k: f) k0 t( hTraceback (most recent call last):7 A* L1 T/ D5 w) H$ L( \- S
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 489, in send, ~+ k  r- J% i0 I( ~/ v; w
    resp = conn.urlopen(! S, F) x' x' |, m
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 787, in urlopen7 U. v0 i6 z& e4 ^" T# b0 E1 }4 j
    retries = retries.increment(
# }1 A  {- h! L1 }- y% {4 _  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\util\retry.py", line 550, in increment
6 o# Z. R! A2 n* T2 X    raise six.reraise(type(error), error, _stacktrace)' @& D4 H6 Y# K8 S
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\packages\six.py", line 769, in reraise
  |7 S$ c. p+ y' A- D    raise value.with_traceback(tb)  v: x2 x9 \: `8 H; T+ U5 f
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 703, in urlopen
7 c" j4 q+ F  O- E6 s    httplib_response = self._make_request(" v- x9 g' r) |, W
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 449, in _make_request6 t" m9 s) P; D2 j6 G# [% c- W. ?  |5 x
    six.raise_from(e, None)
( H+ G4 a$ L- v+ v% h: R  File "<string>", line 3, in raise_from( X' i" L+ z( w+ j7 ?* J& X9 S
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\urllib3\connectionpool.py", line 444, in _make_request7 ]) _! {' f' h: v5 u4 B! n
    httplib_response = conn.getresponse()& m8 `& |1 ?+ h! }% k" K9 Y" _
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 1347, in getresponse$ n" _$ E  k8 T6 J' h/ M9 i6 C
    response.begin()& I2 P! n) r9 z! L
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 307, in begin
' O* x# Z5 k7 ?+ l* X    version, status, reason = self._read_status()
* O) @  G# `" W0 p! \  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\http\client.py", line 276, in _read_status
5 B* h" a" [) Y5 _" h6 g0 x( M; |    raise RemoteDisconnected("Remote end closed connection without"
: }% i+ _4 ]  _' J- ]/ Lurllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
: S- p+ R  U3 s9 N
4 A: [7 [* ^  q  s" d3 UDuring handling of the above exception, another exception occurred:
/ H/ c2 \$ w7 a6 J8 F/ t. b+ @0 ~% V
' U7 r# P& n. k* KTraceback (most recent call last):
% {; h9 ~- Y. e7 J+ L6 O  File "zte_factroymode.py", line 314, in <module>$ k0 l) t; s/ Y' J
    main()
- |1 I3 l) X$ J  File "zte_factroymode.py", line 310, in main9 ~, P9 Z  [- `4 l2 R0 m) l
    dealTelnet(args.ip, args.port, args.user, args.pw, args.action)
6 K5 ~, ?% G8 k5 u% g  V3 c  File "zte_factroymode.py", line 268, in dealTelnet+ ?3 q& |9 G3 F3 ~) k) |
    telnet = dealFacAuth(WebFacTelnet, ip, port, users, pws)
, j/ x3 A( H$ Q) h% }/ D  File "zte_factroymode.py", line 220, in dealFacAuth
4 r6 h$ {. S8 V: l1 p  S. P6 Q    if webfac.reset():
' D( t+ l2 m( C) ?& I  File "zte_factroymode.py", line 59, in reset! l1 ]9 I4 s" [
    resp = self.S.post(f"http://{self.ip}:{self.port}/webFac", data='SendSq.gch'); K" ^6 S6 r7 r/ K9 o% a
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 635, in post. g8 A/ o5 l& C1 V8 V- [
    return self.request("POST", url, data=data, json=json, **kwargs)  N; ?* v8 v' E; x6 k& F1 q& h3 }8 p
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 587, in request
7 \/ E7 b2 Y6 X3 ^7 `# p8 k    resp = self.send(prep, **send_kwargs)) R/ }3 X; O% N1 k/ f5 f
  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\sessions.py", line 701, in send6 N/ s0 y5 X/ ^
    r = adapter.send(request, **kwargs)
) O/ l# `. c$ c* N  File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\requests\adapters.py", line 547, in send
" m& J' w, E; ^7 E& R    raise ConnectionError(err, request=request)
* Z) c9 x3 j# e* R- srequests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
 楼主| 发表于 2023-2-2 19:02:33 | 显示全部楼层
bluck88 发表于 2023-2-2 17:43+ B# Z6 d' L' I! l' J
D:\python\yang\zte_modem_tools-main>python zte_factroymode.py --user telecomadmin --pass nE7jA%5m -- ...
4 U( U+ E  |* W. A$ O2 b! S1 q1 K! t
什么型号的?
发表于 2023-2-3 10:23:42 | 显示全部楼层
douniwandsl 发表于 2023-2-2 19:02
; e3 c( b7 W% o6 q( k& C什么型号的?
$ j7 f$ l. x( y( b* ~4 r2 ]
F450A    8080端口
发表于 2023-2-4 13:26:43 | 显示全部楼层
猫粮花了,没东西,不让下载附件
 楼主| 发表于 2023-2-4 15:38:27 | 显示全部楼层
DIVIDE 发表于 2023-2-4 13:264 u) K, A% L# f. J8 Z
猫粮花了,没东西,不让下载附件
2 L; f, l$ s: M* x# q1 j2 T
点击就能下载
发表于 2023-2-4 23:23:40 | 显示全部楼层
感谢楼主分享,这个具体要怎么使用呢?下载了,不会用呀。在Windows应用商店里安装了Python,那下载的这个zte_modem_tools-main里面的文件要放在那个文件夹下呢?readme文件,也没看懂如何使用。希望大神指点一下,谢谢啦!
发表于 2023-2-7 01:09:23 | 显示全部楼层
感谢大神,前来膜拜
*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-8-13 14:21 , Processed in 0.027379 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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