吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 3380|回复: 5
收起左侧

[Windows] Xpass Xshell密码查看软件

  [复制链接]
missyouag 发表于 2025-10-5 23:14
注意到xshell6.0密码是与主机账户名和uuid绑定的,
导入到其他计算机密码失效,
另外有注意到github上有软件,
ssmmtt/Xpass: Decrypt Xshell session file password.
但不能显示用户id和使用6.0,
参照HyperSine/how-does-Xmanager-encrypt-password: This is a repo to tell you how Xmanager (XFtp, XShell) encrypt password.uid和username获取python代码
def GetCurrentUserName():
    import win32api
    return win32api.GetUserName()
def GetCurrentSID():
    import win32api, win32security
    Sid = win32security.LookupAccountName(win32api.GetComputerName(), win32api.GetUserName())[0]
    return win32security.ConvertSidToStringSid(Sid)
how-does-Xmanager-encrypt-password-master\python3\XmanagerCrypto.py 63
  self._Version = float(SessionFileVersion)
        if 0 < self._Version and self._Version < 5.1:
            self._Key = MD5.new(b'!X@s#c$e%l^l&').digest()      # key is different with the one in XShellCrypto
        elif 5.1 <= self._Version and self._Version <= 5.2:
            self._Key = SHA256.new(kwargs['SID'].encode()).digest()
        elif 5.2 < self._Version:
            if kwargs.get('MasterPassword') == None:
                print(kwargs['UserName'] + kwargs['SID'])
                self._Key = SHA256.new((kwargs['UserName'] + kwargs['SID']).encode()).digest()
            else:
                self._Key = SHA256.new(kwargs['MasterPassword'].encode()).digest()
Xshell 6的文件目录为C:\Users\xxx\Documents\NetSarang Computer\6\Xshell\Sessions\
运行效果:

直接运行

直接运行

输入用户名/uid效果

输入用户名/uid效果

这里我通过xshell自带的导入导出到另一台电脑,
使用过重新保存密码的能正常解密,没使用过的需要使用以前电脑的这两个值,
默认值已经显示到窗口了,直接原电脑复制,粘贴到新电脑、勾选就好了。
我修改的源码Missyouag/Xpass: Decrypt Xshell session file password.
通过网盘分享的文件:Xpass链接: https://pan.baidu.com/s/1qsPXXZp_cjeHTUfxdiREVw?pwd=52pj 提取码: 52pj

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
木村拓哉 + 1 + 1 我很赞同!

查看全部评分

发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

52pj135c 发表于 2025-10-17 15:02
试试,以前用的是一个叫AsteriskPassword星号密码查看器的东东
thinkpad 发表于 2025-10-21 15:57
ovioni 发表于 2025-10-22 20:42
 楼主| missyouag 发表于 2025-10-23 22:06
thinkpad 发表于 2025-10-21 15:57
打不开,问下这个要.net多少框架

net6.0吧。
 楼主| missyouag 发表于 2025-10-23 22:12
thinkpad 发表于 2025-10-21 15:57
打不开,问下这个要.net多少框架

我这里找了一个arm的,提示下载了啊。
https://dotnet.microsoft.com/zh-cn/download/dotnet/thank-you/runtime-desktop-6.0.36-windows-x64-installer?cid=getdotnetcore
下载文件地址
https://builds.dotnet.microsoft.com/dotnet/WindowsDesktop/6.0.36/windowsdesktop-runtime-6.0.36-win-x64.exe
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - 52pojie.cn ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2026-10-22 10:32

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表