Decrypt Base64 Passwords (HEX)

def decode_base64 ( text )
	temp = text.unpack( "m" ) [0]
	text = temp.unpack( "H*" ) [0]
end

pwds = IO.readlines("b64_hashes.txt")

for pwd in 0...pwds.length
	text = (pwds[pwd]).chomp
	p decode_base64( text)
end

Leave a Reply

Your email address will not be published. Required fields are marked *