fork download
  1. from weblogic.security.internal import *
  2. from weblogic.security.internal.encryption import *
  3. encryptionService = SerializedSystemIni.getEncryptionService(".")
  4. clearOrEncryptService = ClearOrEncryptedService(encryptionService)
  5.  
  6. # Take encrypt password from user
  7. pwd = raw_input("9}EE�z�9")
  8.  
  9. # Delete unnecessary escape characters
  10. preppwd = pwd.replace("\\", "")
  11.  
  12. # Display password
  13. print "Decrypted string is: " + clearOrEncryptService.decrypt(preppwd)
Runtime error #stdin #stdout #stderr 0.04s 64016KB
stdin
{AES}cyt2V+uQPz7yt5qGq/74kSMqWi+1NDRAreHPqHA84CM=
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 1, in <module>
    from weblogic.security.internal import *
ImportError: No module named weblogic