Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Decode websphere passwords
#!/bin/bash
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