标签:Opens 下载 cipher socks http min curl -O eee prefix
参考:https://github.com/DoubleLabyrinth/how-does-SecureCRT-encrypt-password安装依赖:
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
因为使用了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
标签:Opens 下载 cipher socks http min curl -O eee prefix
原文地址:https://blog.51cto.com/14043491/2362027