WebLogicPasswordDecryptor
WebLogicPasswordDecryptor copied to clipboard
Can't get it to work
Everytime I try to use it (java or powershell version), I get an error regardding padding.
"Exception calling "DoFinal" with "1" argument(s): "pad block corrupted"".
This is when attempting to use your example
PS C:\Users\User1\Desktop\WebLogicPasswordDecryptor-master> Invoke-W ebLogicPasswordDecryptor -SerializedSystemIni C:\SerializedSystemIni.dat -Cipher Text "{3DES}JMRazF/vClP1WAgy1czd2Q==" Exception calling "DoFinal" with "1" argument(s): "pad block corrupted" At C:\Users\User1\Desktop\WebLogicPasswordDecryptor-master\Invoke-W ebLogicPasswordDecryptor.psm1:163 char:33
-
$ClearText = $Cipher.DoFinal <<<< ($DecodedCipherText)
- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : DotNetMethodException
Exception calling "GetString" with "1" argument(s): "Array cannot be null. Parameter name: bytes" At C:\Users\User1\Desktop\WebLogicPasswordDecryptor-master\Invoke-W ebLogicPasswordDecryptor.psm1:165 char:44
-
[System.Text.Encoding]::ASCII.GetString <<<< ($ClearText)
- CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- FullyQualifiedErrorId : DotNetMethodException
I'll take a look at it again
Thanks, I appreciate it!
Me too, I have the same problem.
Unfortunately, I'm not really sure what the problem is. It's working fine for me. I'm guessing there's some weird issue cutting the ciphertext up. You can try opening it in PowerShell ISE and setting some breakpoints to see what the variables hold when passing to other methods.