Skip to content

Instantly share code, notes, and snippets.

@danilodorgam
Created November 10, 2019 16:54
Show Gist options
  • Save danilodorgam/4479ff141ca594cf87ea04b6e33be442 to your computer and use it in GitHub Desktop.
Save danilodorgam/4479ff141ca594cf87ea04b6e33be442 to your computer and use it in GitHub Desktop.
Descobrir senha de administrador no weblogic
Arquivo com a senha criptrografada
CAMINHO_PARA_A_PASTA_base_domain/init-info/config-nodemanager.xml
<nod:password>{AES}???????????????????????????????????/=</nod:password>
abrir o console Wlst
rodar os comandos abaixo?
CAMINHO_PARA_A_PASTA_oracle_common/common/bin/wlst.sh
domain ="CAMINHO_PARA_A_PASTA_base_domain"
service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
print encryption.decrypt("SENHA QUE PEGOU DO config-nodemanager.xml")
fim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment