weblogic şifrelerin decrypt edilmesi

bazen yönetilen domainin şifreleri kaybolur silinir. bu tip durumlarda weblogicin içindeki dosyalardan bu şifre toplanabilir.

import weblogic.security.internal.SerializedSystemIni;
import weblogic.security.internal.encryption.ClearOrEncryptedService;
es=weblogic.security.internal.SerializedSystemIni.getEncryptionService(“/data/usr/domains/DOMAIN/security/”);
ces=weblogic.security.internal.encryption.ClearOrEncryptedService(es);
print ces.decrypt(“{AES}6Xkvv0+md8WJiAg1jv4xyB9ElyRzjyAbIweTsA674oE=”);

yukardaki encrypted şifreyi jdbc için şurdan alabilirsiniz
/data/usr/domains/DOMAIN/config/jdbc

Leave a Reply

Your email address will not be published. Required fields are marked *