Skip to content

Instantly share code, notes, and snippets.

@nicerobot
Created January 20, 2012 17:14
Show Gist options
  • Save nicerobot/1648504 to your computer and use it in GitHub Desktop.
Save nicerobot/1648504 to your computer and use it in GitHub Desktop.
Recover WLS Password
java weblogic.WLST <<WLS
import weblogic.security.internal.SerializedSystemIni
import weblogic.security.internal.encryption.ClearOrEncryptedService
es=weblogic.security.internal.SerializedSystemIni.getEncryptionService(".")
ces=weblogic.security.internal.encryption.ClearOrEncryptedService(es)
ces.decrypt("{AES}9P7z/8D7ccvDWhBmqa0NEhR1b65BlFuBeVQ3WpwJHTI=")
ces.decrypt("{AES}Tlxc7yoE4BGQS2k5XBsMX/Kx4XgEBAcPqzXH7PP5zSI=")
WLS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment