Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decoding Credentials #2

Open
Meatballs1 opened this issue Nov 6, 2015 · 3 comments
Open

Decoding Credentials #2

Meatballs1 opened this issue Nov 6, 2015 · 3 comments

Comments

@Meatballs1
Copy link

Get the following error:

PS C:\Windows\system32> Get-MSSQLAllCredentials
Exception calling "Close" with "0" argument(s): "Padding is invalid and cannot be removed."
At line:33 char:33
+     {    if ($null -ne $Local:BROut) {$BROut.Close()};
+                                       ~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : CryptographicException

Will see if I can follow manual steps but wont be able to share the value :)

@Meatballs1
Copy link
Author

n.b. sql server 2014

@Meatballs1
Copy link
Author

The Get-MSSQLCredentials returns a value - but doesn't look to be properly decrypted (or could be machine generated). I guess the code paths differ at some point!

@Meatballs1
Copy link
Author

I tell a lie, it seems to have decrypted it fine, just a large base64 password that was clipped by the powershell output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant