daljay 发表于 2023-7-5 15:55:30

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

贝尔 G-140W-TG telnet root用户密码是多少啊,如题,求大神指点

bg5bbl 发表于 2023-7-5 15:55:31

WmQbYWZ8nfh4

daljay 发表于 2023-7-5 16:30:09

<SuPassword ml="64" rw="RW" t="string" v="dd5SPAyMLr3ZbCsX/B/5Vw==" ealgo="ab"></SuPassword>

liufubiao2015 发表于 2023-7-5 18:02:21

帐号root   密码 LA(ImvZx%8

daljay 发表于 2023-7-5 18:21:16

daljay 发表于 2023-7-5 16:30


对了 哈哈哈。谢谢大佬,另外贴出相应解密python代码

#!/usr/bin/env python3



import sys
import zlib
import struct
import base64
import binascii
import datetime
from Crypto.Cipher import AES


class RouterCrypto:

    def __init__(self):
      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'
      iv = 'D0 E6 DC CD A7 4A 00 DF 76 0F C0 85 11 CB 05 EA'
      self.cipher = AES.new(bytes(bytearray.fromhex(key)), AES.MODE_CBC, bytes(bytearray.fromhex(iv)))

    # create AES-128-CBC cipher

    def decrypt(self, data):
      output = self.cipher.decrypt(data)
      return output[:-ord(output[-1:])]

    def encrypt(self, data):
      pad_num = (16 - (len(data) % 16))
      data += chr(pad_num).encode() * pad_num
      return self.cipher.encrypt(data)


if __name__ == '__main__':
    decrypt_mode = sys.argv == '-d'
    if decrypt_mode:
      print('\ndecrypted: ' + RouterCrypto().decrypt(base64.b64decode(sys.argv)).decode('UTF-8') + '\n')

    else:

      print('\nencrypted: ' +base64.b64encode(RouterCrypto().encrypt(sys.argv.encode())).decode('UTF-8') + '\n')
页: [1]
查看完整版本: 贝尔 G-140W-TG telnet root用户密码是多少啊