The below Java code will help us to decrypt the weblogic server password
import weblogic.security.internal.SerializedSystemIni;import weblogic.security.internal.encryption.ClearOrEncryptedService;
import weblogic.security.internal.encryption.EncryptionService;
public class Decrypt {
public static void main(String[] args) {
String string = args[0];
EncryptionService encryptionService = SerializedSystemIni.getEncryptionService();
ClearOrEncryptedService clearOrEncryptedService = new ClearOrEncryptedService(encryptionService);
System.out.println("Clear text password: " + clearOrEncryptedService.decrypt(string));
}
}