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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import argparse | |
""" Asumimos que las contraseñas sólo pueden ser alfanuméricas """ | |
# seteamos las opciones 0-9: | |
opciones = [u'%s' % x for x in range(10)] | |
# agregamos A-Z (mayúsculas): | |
opciones.extend([chr(x) for x in range(65, 91)]) | |
# # y agregamos a-z (minúsculas): |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import argparse | |
import zipfile | |
parser = argparse.ArgumentParser(prog='Dictionary Zip Cracker') | |
parser.add_argument('-f', '--file', help='Ruta del archivo diccionario', required=True) | |
parser.add_argument('-z', '--zipfile', help='Ruta del archivo comprimido', required=True) | |
values = parser.parse_args() |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
""" | |
knbe@ydweaf.mb | |
hola@inzafe.cl | |
""" | |
dict_conv = { | |
'\n': '\n', | |
' ': ' ', |