function to list all possible 25 character passwords and their AES256 hash used by Microsoft active directory
import hashlib def hash_pass(): for p in range(1000000000000000, 10000000000000000): pass_hash = hashlib.md5(str(p)).hexdigest() if pass_hash.startswith("0000"): print(pass_hash + ":" + str(p)) hash_pass()