Created
June 25, 2024 08:33
-
-
Save edermi/e21dc9b446b5235c4049c3fda3a0a583 to your computer and use it in GitHub Desktop.
uniq ntlmv2 hashes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with open("collected_hashes_ntlmv2.txt", 'r') as hashfile: | |
hashes=hashfile.read().splitlines() | |
hash_dict = {} | |
for line in hashes: | |
name, _ = line.split("::") | |
hash_dict[name] = line | |
with open("uniq_collected_hashes_ntlmv2.txt", 'w') as hashfile: | |
for h in hash_dict.values(): | |
hashfile.write(f"{h}\n") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment