码迷,mamicode.com
首页 > 其他好文 > 详细

SecureCRT找回密码

时间:2019-03-13 09:27:04      阅读:1390      评论:0      收藏:0      [点我收藏+]

标签:Opens   下载   cipher   socks   http   min   curl -O   eee   prefix   

参考:https://github.com/DoubleLabyrinth/how-does-SecureCRT-encrypt-password

安装python3

安装依赖:
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel lzma xz-devel libffi-devel gcc make
因下载源码包很慢,需要使用proxy:
export https_proxy=socks5://192.168.72.1:1080
下载源码:
curl https://www.python.org/ftp/python/3.7.2/Python-3.7.2.tar.xz -o Python-3.7.2.tar.xz
解压:
tar xf Python-3.7.2.tar.xz
安装:
./configure --prefix=/usr/local/python3
make && make install
导出PATH
export PATH=$PATH:/usr/local/python3/bin
python3 -V

SecureCRT

因为使用了proxy,需要安装pysocks
unset https_proxy
pip3 install pysocks
export https_proxy=socks5://192.168.72.1:1080
pip3 install pycryptodome
curl -O https://raw.githubusercontent.com/DoubleLabyrinth/how-does-SecureCRT-encrypt-password/master/python3/SecureCRTCipher.py
查看配置文件:
C:\Users\xxx\AppData\Roaming\VanDyke\Config\
找回密码:
python3 SecureCRTCipher.py dec -v2 91c7e87e7cf332d706d521cb93ca10193c4e9652312ad3aa1f44ec1e362bb20da9c6cfb5345a6df9c8de8c2a9517aaac07680d8c05f659ceee35afa0bbe45b32
显示密码:
111111

SecureCRT找回密码

标签:Opens   下载   cipher   socks   http   min   curl -O   eee   prefix   

原文地址:https://blog.51cto.com/14043491/2362027

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!