Open gauthi3r opened 1 year ago
This is because veeam changed the configuration Path. Replace the path in line with this Path: HKLM:\SOFTWARE\Veeam\Veeam Backup and Replication\DatabaseConfigurations\MsSql\
and it will work again.
@sadshade do you have any idea how to extract the credentials (or at first access connect) from the newly introduced postgresql database? The registry schema is pretty similar to MsSql but i have no idea how i could connect to postgresql with powershell.
PS C:\tools> .\Veeam-Get-Creds.ps1
Found Veeam DB on DESKTOP-TPTNF54\@VeeamBackup, connecting... OK
Here are some passwords for you, have fun: Exception occurred when calling "Unprotect" with "3" arguments: "Invalid data. " Location C:\tools\1.ps1:4 Characters: 2
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : CryptographicException
Exception while calling 'GetString' with '1' argument: 'Array cannot be empty. Parameter name: bytes” Location C:\tools\1.ps1:6 Characters: 2
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ArgumentNullException
User name Password
daa VmVlYW1TYWx0ZWRQcm90ZWN0aW9uzql1lVA+50K2UiS7tMNXwAEAAADQjJ3fARXREYx6AMBPwpfrAQAAANR7lAEezipKohgFbHXEAeEEAA... da VmVlYW1TYWx0ZWRQcm90ZWN0aW9uzql1lVA+50K2UiS7tMNXwAEAAADQjJ3fARXREYx6AMBPwpfrAQAAANR7lAEezipKohgFbHXEAeEEAA...
I think the veeam encryption method has changed in version 12 and the password cannot be decrypted using DPAPI
Hi,
Sorry, don't have one
Hi, After upgrading on Veeam B&R 12, i try to execute the script, it failed. The output :
" PS C:\Users\Administrator\Downloads\veeam-creds-main> .\Veeam-Get-Creds.ps1
Found Veeam DB on \@, connecting... Can't connect to DB, exit. "
Thanks,