Skip to content

Instantly share code, notes, and snippets.

@phi1ipp
Last active June 28, 2021 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phi1ipp/4501c67bfda1c17b9d0bcd77c96d47df to your computer and use it in GitHub Desktop.
Save phi1ipp/4501c67bfda1c17b9d0bcd77c96d47df to your computer and use it in GitHub Desktop.
WL12c decryption
#!$MW_HOME/oracle_common/common/bin/wlst.sh
domain = "$DOMAIN_HOME"
service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
print(encryption.decrypt("<encrypted_value>"))
@phi1ipp
Copy link
Author

phi1ipp commented Jan 28, 2021

environment variables should be expanded in the file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment