Procedure to know the console password - LINUX
Step1. Run setEnv.cmd/setEnv.sh from your Location@ E:\psft\PSHDEV\webserv\peoplesoft\bin directory to set necessary domain environment variables in command prompt.
Step2. Place\Create the below script “decrypt.py” file in E:\psft\PSHDEV\webserv\peoplesoft\security directory and paste the following code into it:
import os
import weblogic.security.internal.SerializedSystemIni
import weblogic.security.internal.encryption.ClearOrEncryptedService
def decrypt(domainHomeName, encryptedPwd):
domainHomeAbsolutePath = os.path.abspath(domainHomeName)
encryptionService = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domainHomeAbsolutePath)
ces = weblogic.security.internal.encryption.ClearOrEncryptedService(encryptionService)
clear = ces.decrypt(encryptedPwd)
print "Decrypted Password:" + clear
try:
if len(sys.argv) == 3:
decrypt(sys.argv[1], sys.argv[2])
else:
print "INVALID ARGUMENTS"
print " Usage: java weblogic.WLST decryptPassword.py <DOMAIN_HOME> <ENCRYPTED_PASSWORD>"
print " Example:"
print "java weblogic.WLST decryptPassword.py <domain_path> <encrypted password>"
except:
print "Unexpected error: ", sys.exc_info()[0]
dumpStack()
raise
Step3. Execute the command “java weblogic.WLST decrypt.py <DOMAIN_PATH> <ENCRYPTED PASSWORD> “from the location E:\psft\PSHDEV\webserv\peoplesoft\security
Ex: java weblogic.WLST decrypt.py /data/PSOFT/HCMDEV/webserv/HCMDEV/ {AES}dokmw8rm1/eCBZ8QiOr3Q+vkNyqEVlYb+b+CV1mR75A=
Step1. Run setEnv.cmd/setEnv.sh from your Location@ E:\psft\PSHDEV\webserv\peoplesoft\bin directory to set necessary domain environment variables in command prompt.
Step2. Place\Create the below script “decrypt.py” file in E:\psft\PSHDEV\webserv\peoplesoft\security directory and paste the following code into it:
import os
import weblogic.security.internal.SerializedSystemIni
import weblogic.security.internal.encryption.ClearOrEncryptedService
def decrypt(domainHomeName, encryptedPwd):
domainHomeAbsolutePath = os.path.abspath(domainHomeName)
encryptionService = weblogic.security.internal.SerializedSystemIni.getEncryptionService(domainHomeAbsolutePath)
ces = weblogic.security.internal.encryption.ClearOrEncryptedService(encryptionService)
clear = ces.decrypt(encryptedPwd)
print "Decrypted Password:" + clear
try:
if len(sys.argv) == 3:
decrypt(sys.argv[1], sys.argv[2])
else:
print "INVALID ARGUMENTS"
print " Usage: java weblogic.WLST decryptPassword.py <DOMAIN_HOME> <ENCRYPTED_PASSWORD>"
print " Example:"
print "java weblogic.WLST decryptPassword.py <domain_path> <encrypted password>"
except:
print "Unexpected error: ", sys.exc_info()[0]
dumpStack()
raise
Step3. Execute the command “java weblogic.WLST decrypt.py <DOMAIN_PATH> <ENCRYPTED PASSWORD> “from the location E:\psft\PSHDEV\webserv\peoplesoft\security
Ex: java weblogic.WLST decrypt.py /data/PSOFT/HCMDEV/webserv/HCMDEV/ {AES}dokmw8rm1/eCBZ8QiOr3Q+vkNyqEVlYb+b+CV1mR75A=
Note: Take the encrypted password from “boot.properties” file and paste it when prompted for password in the above step.
Location @ E:\psft\PSHDEV\webserv\peoplesoft\servers\PIA\security\ boot.properties
Bank Offline pada saat deposit adalah momok menakutkan para pemain judi online. Terutama kaum milenial yang kini mendominasi rating pemain terbanyak judi online yang tersebar di (Baca Selengkapnya...)
ReplyDelete