★ wanayoo — archive 1999 https://github.com/NetSPI/Powershell-Modules/issues/2Nouvelle recherche | Portail wanayoo
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

@Meatballs1 Meatballs1 commented Nov 6, 2015

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

@Meatballs1 Meatballs1 commented Nov 6, 2015

n.b. sql server 2014

@Meatballs1
Copy link
Author

@Meatballs1 Meatballs1 commented Nov 6, 2015

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

@Meatballs1 Meatballs1 commented Nov 6, 2015

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.