找回密码
 注册

QQ登录

只需一步,快速开始

查看: 770|回复: 4

贝尔 G-140W-TG telnet root用户密码是多少啊

[复制链接]
发表于 2023-7-5 15:55:30 | 显示全部楼层 |阅读模式
悬赏10猫粮已解决
贝尔 G-140W-TG telnet root用户密码是多少啊,如题,求大神指点
! X0 _; g5 T& z

最佳答案

查看完整内容

WmQbYWZ8nfh4
发表于 2023-7-5 15:55:31 | 显示全部楼层
WmQbYWZ8nfh4
 楼主| 发表于 2023-7-5 16:30:09 | 显示全部楼层
<SuPassword ml="64" rw="RW" t="string" v="dd5SPAyMLr3ZbCsX/B/5Vw==" ealgo="ab"></SuPassword>
! m3 a1 f9 K+ `2 a) I2 e
发表于 2023-7-5 18:02:21 | 显示全部楼层
帐号root   密码 LA(ImvZx%8
 楼主| 发表于 2023-7-5 18:21:16 | 显示全部楼层
+ _# U: l5 V! `8 M3 O
对了 哈哈哈。谢谢大佬,另外贴出相应解密python代码
; J+ q- M5 Q' g+ M3 u  P- u: C
6 Q+ {; ^* g. }) x' |#!/usr/bin/env python3% J: C" b' B/ z" }1 T/ b
) [" o4 ~0 ~$ B
0 a$ u+ E# s" U* p9 v

* Q% f" I( h- s8 R. P) [import sys
. b2 j2 ~, S* [5 pimport zlib
: g" T) T) k! }2 n# H/ \  Nimport struct$ q" R$ P8 \+ L8 @4 ?
import base64  N- d7 f2 `% ~; S
import binascii5 e6 H* `0 e9 |; j% h
import datetime
  e& d/ Q" D! Y+ @4 K' s4 ffrom Crypto.Cipher import AES
! ?* g$ s  f: y& s/ q7 w1 K3 z0 a: `; g# F
7 j# J8 V; a- _5 v6 I8 |! @
class RouterCrypto:3 N1 q0 S2 u. t6 t/ y: n5 \
8 c$ k3 o0 @: ]' l  k* R
    def __init__(self):( ?: ?( z- O9 W: A, j; k
        key = '3D A3 73 D7 DC 82 2E 2A 47 0D EC 37 89 6E 80 D7 2C 49 B3 16 29 DD C9 97 35 4B 84 03 91 77 9E A4'
% a. d  h5 g* i0 w. e* ]        iv = 'D0 E6 DC CD A7 4A 00 DF 76 0F C0 85 11 CB 05 EA'' m- S. G* _( ?0 Z! J
        self.cipher = AES.new(bytes(bytearray.fromhex(key)), AES.MODE_CBC, bytes(bytearray.fromhex(iv)))" S3 ~  Y! q% |7 ~. P

# r5 Y- {4 y5 n" S1 f    # create AES-128-CBC cipher: v% N5 b6 H' O) t& f% V3 G

( g: y! j5 O0 _) m5 v$ S    def decrypt(self, data):8 }' e  P6 _; I9 u; M% j
        output = self.cipher.decrypt(data)+ N+ Z. C" M( }5 Z1 T% |
        return output[:-ord(output[-1:])]
( O: O# z2 f1 e5 j' ]- p' x2 U+ P  z9 W8 Z* ~# R8 F
    def encrypt(self, data):6 X/ z2 e  l7 N$ x
        pad_num = (16 - (len(data) % 16))
5 o( H5 c! D) O7 o        data += chr(pad_num).encode() * pad_num, x5 r2 u" c" l9 b- U! K2 a
        return self.cipher.encrypt(data)
2 R8 ~3 N' e, i- n1 K2 w$ o+ T1 M' U, c) W; }
# X8 ]0 g: ?! l- u" W8 f
if __name__ == '__main__':
4 w7 l  O, j# H/ {2 I0 B    decrypt_mode = sys.argv[1] == '-d'+ ?8 V1 A; k! F' a5 Q
    if decrypt_mode:
# s/ R& o4 E: \  z        print('\ndecrypted: ' + RouterCrypto().decrypt(base64.b64decode(sys.argv[2])).decode('UTF-8') + '\n')
" H- C1 E7 O$ D0 c$ R
! C) D7 K- I: h  K+ J  y    else:
( Q& H) t' P% j. Z' M0 R- ?+ U
* o: |0 W+ E8 {        print('\nencrypted: ' +base64.b64encode(RouterCrypto().encrypt(sys.argv[2].encode())).decode('UTF-8') + '\n')( d. l! I2 H$ c( Q% y
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|宽带技术网 |网站地图

粤公网安备 44152102000001号

GMT+8, 2024-5-13 16:36 , Processed in 0.023752 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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