Update RockyouMask.py

This commit is contained in:
Surferlul 2020-09-21 14:21:28 +02:00 committed by GitHub
parent 7a82dbf103
commit eff52bbd32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -310,6 +310,14 @@ while True:
hashmode = input("Hash mode: ") hashmode = input("Hash mode: ")
hashfile = input("Hash file: ") hashfile = input("Hash file: ")
start = input("Start at mask-id (empty if start at start): ")
if start =! "":
try:
rule = rule[int(start):]
except:
print("Start has to be int!")
exit
if name == "posix": if name == "posix":
syntax = "hashcat64.exe -m " + hashmode + " -a 3 " + hashfile + " " syntax = "hashcat64.exe -m " + hashmode + " -a 3 " + hashfile + " "
else: else:
@ -317,5 +325,6 @@ else:
system(syntax + convert("0000000000") + " --increment") system(syntax + convert("0000000000") + " --increment")
system(syntax + convert("aaaaaaa") + " --increment") system(syntax + convert("aaaaaaa") + " --increment")
system(syntax + "?a?a?a?a?a --increment") system(syntax + "?a?a?a?a?a --increment")
for i in rule: for i in range(len(rule)):
system(syntax + convert(i)) print("Current mask:", convert(rule[i]), " id: ", i)
system(syntax + convert(rule[i]))