Skip to content

Instantly share code, notes, and snippets.

@AdryDev92
Created September 8, 2018 00:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdryDev92/2218722f8af1deb48b6bbe4d2c275a38 to your computer and use it in GitHub Desktop.
Save AdryDev92/2218722f8af1deb48b6bbe4d2c275a38 to your computer and use it in GitHub Desktop.
Simple brute force dictionary made in python3
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