加密方式:
https://github.com/HyperSine/how-does-Xmanager-encrypt-password/blob/master/doc/how-does-Xmanager-encrypt-password.md
账户密码保存位置:
XShell5 %userprofile%DocumentsNetSarangXshellSessions
XFtp5 %userprofile%DocumentsNetSarangXftpSessions
XShell6 %userprofile%DocumentsNetSarang Computer6XshellSessions
XFtp6 %userprofile%DocumentsNetSarang Computer6XftpSessions
加密内容如下
版本如下
xshell解密:
python3 XShellCryptoHelper.py -d -ver 6.0 lQilxEugvLFfghR5tNV3K9DKhmwArV+SbjWAcgZZzIDTnJ0JgCo=
xftp解密:
python3 XFtpCryptoHelper.py -d -ver 6.0 xxxx/xxxxx=
其他参数:
加密:
$ XShellCryptoHelper.py -e -ver 5.0 "This is a test"
/6KaTrKwm0cmhr0yAWQ=
$ XFtpCryptoHelper.py -e -ver 5.0 "This is a test"
TPKSg0QQ6o795vnPIMs=
$ XShellCryptoHelper.py -e -ver 5.1 -sid S-1-5-21-917267712-1342860078-1792151419-512 "This is a test"
hIMxIyQ3HbJsVIdbbunHvh7ZAvuN1NSJl8ZFL11+UJ+82+KAixa89O3OTAfRTg==
$ XShellCryptoHelper.py -e -ver 5.3 -user Administrator -sid S-1-5-21-917267712-1342860078-1792151419-512 "This is a test"
zv21O1x43qRs3c5NckDHvh7ZAvuN1NSJl8ZFL11+UJ+82+KAixa89O3OTAfRTg==
$ XShellCryptoHelper.py -e -key 123123 "This is a test"
Rrm3P3AL0iDV7nBbS2bHvh7ZAvuN1NSJl8ZFL11+UJ+82+KAixa89O3OTAfRTg==
解密:
$ XShellCryptoHelper.py -d -ver 5.0 /6KaTrKwm0cmhr0yAWQ=
This is a test
$ XFtpCryptoHelper.py -d -ver 5.0 TPKSg0QQ6o795vnPIMs=
This is a test
$ XShellCryptoHelper.py -d -ver 5.1 -sid S-1-5-21-917267712-1342860078-1792151419-512 hIMxIyQ3HbJsVIdbbunHvh7ZAvuN1NSJl8ZFL11+UJ+82+KAixa89O3OTAfRTg==
This is a test
$ XShellCryptoHelper.py -d -ver 5.3 -user Administrator -sid S-1-5-21-917267712-1342860078-1792151419-512 zv21O1x43qRs3c5NckDHvh7ZAvuN1NSJl8ZFL11+UJ+82+KAixa89O3OTAfRTg==
This is a test
$ XShellCryptoHelper.py -d -key 123123 Rrm3P3AL0iDV7nBbS2bHvh7ZAvuN1NSJl8ZFL11+UJ+82+KAixa89O3OTAfRTg==
This is a test
参考
https://github.com/HyperSine/how-does-Xmanager-encrypt-password