Update RockyouMask.py

This commit is contained in:
Surferlul 2020-08-04 14:10:35 +02:00 committed by GitHub
parent e0f18a17e7
commit 12a2e9e471
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
from os import system
from os import chdir
from os import name
rule = open("mask.txt", "rt", encoding="Latin-1").read().split()
@ -10,6 +11,7 @@ def convert(inp):
inp = inp.replace("!", "?s")
return (inp)
if name != "posix":
input_ = input("directory of hashcat64.exe (empty if current directory): ")
if input_ == "":
@ -308,6 +310,9 @@ while True:
hashmode = input("Hash mode: ")
hashfile = input("Hash file: ")
if name == "posix":
syntax = "hashcat64.exe -m " + hashmode + " -a 3 " + hashfile + " "
else:
syntax = ".\\hashcat64.exe -m " + hashmode + " -a 3 " + hashfile + " "
system(syntax + convert("0000000000") + " --increment")
system(syntax + convert("aaaaaaa") + " --increment")