Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Decode websphere passwords
import sys
import binascii
tmp = binascii.a2b_base64(sys.argv[1])
out = ""
for x in tmp:
out += chr(ord(x)^95) #xor with the underscore char (_)
print out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment