Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Weblogic admin don't know the admin credentials of weblogic 8.1
UI..how can he get the credentials?

Answer Posted / jitender

This process prints the password encrypted in
boot.properties file in plain text.

It can also help in

• Recovering database passwords, if JDBC Connection
pools are configured, from config.xml
• Recover the keystore passwords from config.xml and
obtain SSL certificates stored in the jks keystores.

This script works with Weblogic 8.x, 9.x and 10.x.

Process

1: Download the decryptpwd.py [ attached with this email ]
and put in under domain directory

2: chmod 755 decryptpwd.py

3: Take a backup of SerializedSystemIni.dat under
$domain/security directory.

4: cd $domains

5: cp $domain/security/SerializedSystemIni.dat . [ dot in
the last ]

6: keep password in a notepad found under boot.properties
for example {3DES}F4DwzfPMWv1iubP0eSIP0w==

7: run wlst.sh with decryptpwd.py. for example

. /tools/weblogic/92sp2/common/bin/wlst.sh
decryptpwd.py

8: It will load the CLASSPATH and will ask for

Enter encrypted password (Eg. {3DES}Y1fA34S...):

9: Pass the value found under Step 6 above and it will
print the password in clear text format.
---------------------
contents of decryptpwd.py are
from weblogic.security.internal import *
from weblogic.security.internal.encryption import *

# Remind user about how to use
raw_input("Please ensure SerializedSystemIni.dat is in the
current directory now, and press ENTER to continue.")

# Get encryption service
encryptionService = SerializedSystemIni.getEncryptionService
(".")
clearOrEncryptService = ClearOrEncryptedService
(encryptionService)

# Get user to enter password
pwd = raw_input("Enter encrypted password (Eg. {3DES}
Y1fA34S...): ")

# Remove unnecessary escape characters
preppwd = pwd.replace("\\", "")

# Decrypt the password
print "Recovered password is: " +
clearOrEncryptService.decrypt(preppwd)

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the supported installation modes for WebLogic Server ?

1172


Which memory space does thread stack get allocated from?

896


Explain briefly what is the nm?

984


What are the toolbar elements.

1018


Tell me how is the security handled in web logic j2ee connector architecture?

938


Tell me how does a server find out server unavailability?

954


How do I publish an xml message? : BEA Weblogic

1075


How do I use a third-party jdbc driver with jms? : BEA Weblogic

986


The home of a product cmp entity bean has a finder method, which returns an enumeration of all the products whose price falls below a certain value, which is passed as the method argument. If there are no products in the database to match the above criteria what will be the result of a call to this finder method? : BEA Weblogic

941


What is the no_acknowledge acknowledge mode used for? : BEA Weblogic

997


Define the functions of t3 in the web logic server?

982


How can an application do a jms operation and have it succeed, independent of the result of the transaction? : BEA Weblogic

1033


What are the steps involved in setting up classpath in web logic server?

1004


How a web logic server works?

1148


How do I learn what codesets are available in oracle? : BEA Weblogic

932