WebSphere Issues

03/03/2011

Decode/Decrypt WebSphere J2C authentication passwords using WebSphere PasswordDecoder utility

Filed under: WAS, WebSphere Portal — Ishtiaque @ 6:43 pm

1. Search the tag “<authDataEntries” and corresponding XORed encoded password in the file /wp_profile/config/cells/node1/security.xml

2. Change directory to C:/IBM/WebSphere/AppServer/lib

3. Run the command:

C:/IBM/WebSphere/AppServer/java/bin/java -cp ffdc.jar;bootstrap.jar;emf.jar;securityimpl.jar;iwsorb.jar;ras.jar;wsexception.jar com.ibm.ws.security.util.PasswordDecoder {xor}LDo8LTor

Note: The above cmd must be run in WAS 6 and it can encode only passwords which are encoded by XOR.

References:

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: