Tuesday 29 August 2017

we don't remember weblogic admin password

 we can get it as below:


[applmgr@ebs1213 ~]$ sh /u01/app/oracle/ebsappl/FIN2DB/fs1/FMW_Home/wlserver_10.3/common/bin/wlst.sh


Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> domain="/u01/app/oracle/ebsappl/FIN2DB/fs1/FMW_Home/user_projects/domains/EBS_domain_FIN2DB"
wls:/offline> service = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domain)
wls:/offline> encryption = weblogic.security.internal.encryption.ClearOrEncryptedService(service)
wls:/offline> print encryption.decrypt("{AES}Gp7Q+3yqpimz1+27+ftmbCRHpgkMTpEZc67RsxM9XS0=")
weblogic@123
wls:/offline>

We can get encrypted password from boot.properties.

[applmgr@ebs1213 security]$ cd $FMW_HOME/user_projects/domains/EBS_domain_FIN2DB/servers/AdminServer/security
[applmgr@ebs1213 security]$ cat boot.properties
username={AES}LY9AdjI1A7wTpNJpOl4/aMIH3uc0HEwLVcbM9kXwffE=
password={AES}Gp7Q+3yqpimz1+27+ftmbCRHpgkMTpEZc67RsxM9XS0=

Thursday 3 August 2017

Troubleshooting HTTP and HTTPS Traffic With WFetch

Troubleshooting HTTP and HTTPS Traffic With WFetch

This little utility has helped us out on numerous occasions when we were trying to figure out if a system was compromised,
proxy settings were wrong, proxy server not responding, or browsers were just plain not working.


WFetch 1.4 (Microsoft download site)

The above screenshot shows a successful connection from the workstation to Bing’s site.
This is one utility that belongs in our Technician’s Thumb Drive (blog category).