xshell&xftp密碼獲取


加密方式:
https://github.com/HyperSine/how-does-Xmanager-encrypt-password/blob/master/doc/how-does-Xmanager-encrypt-password.md

賬戶密碼保存位置:
XShell5		%userprofile%\Documents\NetSarang\Xshell\Sessions
XFtp5		%userprofile%\Documents\NetSarang\Xftp\Sessions
XShell6		%userprofile%\Documents\NetSarang Computer\6\Xshell\Sessions
XFtp6		%userprofile%\Documents\NetSarang Computer\6\Xftp\Sessions

加密內容如下

版本如下

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM