找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2364|回复: 4

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

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

最佳答案

查看完整内容

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>
发表于 2023-7-5 18:02:21 | 显示全部楼层
帐号root   密码 LA(ImvZx%8
 楼主| 发表于 2023-7-5 18:21:16 | 显示全部楼层

对了 哈哈哈。谢谢大佬,另外贴出相应解密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[1] == '-d'
    if decrypt_mode:
        print('\ndecrypted: ' + RouterCrypto().decrypt(base64.b64decode(sys.argv[2])).decode('UTF-8') + '\n')

    else:

        print('\nencrypted: ' +base64.b64encode(RouterCrypto().encrypt(sys.argv[2].encode())).decode('UTF-8') + '\n')
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-7-6 01:26 , Processed in 0.022830 second(s), 4 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

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