-
> $PwdString = 'EnCryptEdStringFRoMRDGfile=='
-
> Copy-Item 'C:\Program Files (x86)\Microsoft\Remote Desktop Connection Manager\RDCMan.exe' 'C:\temp\RDCMan.dll'
-
> Import-Module 'C:\temp\RDCMan.dll'
-
> $EncryptionSettings = New-Object -TypeName RdcMan.EncryptionSettings
-
> [RdcMan.Encryption]::DecryptString($PwdString, $EncryptionSettings)
参考:
qastack.cn/superuser/1103193/decrypt-rdp-password-stored-in-rdg-file
阅读(1441) | 评论(0) | 转发(0) |