编辑脚本中的 $User 变量,将其值替换为你的用户名。
以管理员身份打开 PowerShell 并运行脚本:
./PoC_CVE-2023-24055.ps1
脚本执行后打开 KeePass。
结果保存在 C:\Users\your_username\AppData\Local\Temp\output.xml 中。
密码以明文形式存储在:
<String>
<Key>Password</Key>
<Value ProtectInMemory="True">ExempePassword</Value>
</String>