Created
September 8, 2018 00:50
-
-
Save AdryDev92/2218722f8af1deb48b6bbe4d2c275a38 to your computer and use it in GitHub Desktop.
Simple brute force dictionary made in python3
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 os | |
# Se introduce la ruta para la creacion del diccionario por teclado | |
route = input("Introduce la ruta donde se creará el diccionario:") | |
# la funcion open acepta la ruta donde se va a crear el archivo | |
# y la W otorga permisos de escritura | |
file = open(route+"/dictionary.txt", "w") | |
# la funcion write rellena el contenido del archivo dictinary.txt | |
file.write("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!|@#~€¬·$%&/()=¿?}{-:;," + os.linesep) | |
# close cierra el flujo y termina la creacion del archivo | |
file.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment