Created
October 3, 2022 07:33
-
-
Save mxsgx/61ccd76d69e7233ff13ffc167e114d85 to your computer and use it in GitHub Desktop.
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
from itertools import permutations | |
import string | |
with open('passwords.txt', 'w+') as file: | |
for password in permutations(string.ascii_letters + string.digits, 5): | |
file.write("{0}\n".format("".join(password))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment