Last active
December 6, 2023 21:54
-
-
Save 3a1/5213252ba927abbb7935940fd53ef526 to your computer and use it in GitHub Desktop.
Wordlist Generator
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
import itertools | |
min_length = 3 | |
max_length = 3 | |
charset = "abcdefghijklmnopqrstuvwxyz0123456789-" | |
wordlist = [''.join(candidate) for candidate in itertools.product(charset, repeat=min_length)] | |
output_file_path = "wordlist.txt" | |
with open(output_file_path, 'w') as file: | |
for word in wordlist: | |
file.write(word + '\n') | |
print(f"Saved: {output_file_path}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment