I deployed a windows machine on AWS with a key pair. I want the windows administrator password.
I got the windows encrypted password using:
var myEC2GetPasswordDataResult = ec2Client2.getPasswordData(myEC2GetPasswordDataRequest);
myEC2GetPasswordDataResult = myEC2GetPasswordDataResult.withInstanceId("instanceID");
System.log( myEC2GetPasswordDataResult.toString());
myEC2GetPasswordDataResult.getPasswordData()
Now how can I decrypt this password?
I tried many options with castlebouncy but none of them worked.