Bootstrap FreeKB - IBM WebSphere - Decode XOR password
IBM WebSphere - Decode XOR password

Updated:   |  IBM WebSphere articles

The security.xml file, such as /opt/WebSphere/AppServer/profiles/your_profile/config/cells/your_cell/security.xml, contains "xor" encrypted passwords, like this.

serverPassword="{xor}Gi58JSwfODJuFQ=="
bindPassword="{xor}CmcYbTc1aSVvJy5tEmc="

 

The following Java command can then be used to decode the "xor" passwords into cleartext.

java -classpath /opt/WebSphere/AppServer/plugins/*:/opt/WebSphere/AppServer/lib/* com.ibm.ws.security.util.PasswordDecoder {xor}Gi16ABcdAApuAB=

 

Which should return something like this.

encoded password == "{xor}Gi16ABcdAApuAB=", decoded password == "Er%_HB_U1_@"

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


December 28 2022 by Luis Gomez
Thank you

Add a Comment


Please enter f24179 in the box below so that we can be sure you are a human.