Sunday, 3 September 2023

Decrypt Weblogic Password

 

Encrypted passwords are stored under  $DOMAIN_HOME/config/config.xml

<node-manager-password-encrypted>{AES256}xxxxxxx=</node-manager-password-encrypted>

Decrypt WebLogic Passwords

cd E:\Middleware\Oracle_Home\oracle_common\common\bin
wlst.cmd


domain = "E:\\Middleware\\Oracle_Home\\user_projects\\domains\\adf_domain"
service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
print encryption.decrypt("{AES256}Uu05WamUC4nBG8rcPohWLMHv9X7dAFfazrWESGgTsro=")






No comments:

Post a Comment