wdr842nd_wdr842n_configure_disclosure.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:purelove 作者: hucmosin 项目源码 文件源码
def decrypt_config_bin(self, data):
        key = '\x47\x8D\xA5\x0B\xF9\xE3\xD2\xCF'
        crypto = DES.new(key, DES.MODE_ECB)
        data_decrypted = crypto.decrypt(data).rstrip('\0')
        authKey, cPskSecret, cUsrPIN = self.parse(data_decrypted)
        passwd = self.decrypt_authKey(authKey)
        return passwd, authKey, cPskSecret, cUsrPIN
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号