Update RockyouMask.py
This commit is contained in:
parent
e0f18a17e7
commit
12a2e9e471
@ -1,5 +1,6 @@
|
|||||||
from os import system
|
from os import system
|
||||||
from os import chdir
|
from os import chdir
|
||||||
|
from os import name
|
||||||
|
|
||||||
rule = open("mask.txt", "rt", encoding="Latin-1").read().split()
|
rule = open("mask.txt", "rt", encoding="Latin-1").read().split()
|
||||||
|
|
||||||
@ -10,6 +11,7 @@ def convert(inp):
|
|||||||
inp = inp.replace("!", "?s")
|
inp = inp.replace("!", "?s")
|
||||||
return (inp)
|
return (inp)
|
||||||
|
|
||||||
|
if name != "posix":
|
||||||
input_ = input("directory of hashcat64.exe (empty if current directory): ")
|
input_ = input("directory of hashcat64.exe (empty if current directory): ")
|
||||||
|
|
||||||
if input_ == "":
|
if input_ == "":
|
||||||
@ -308,6 +310,9 @@ while True:
|
|||||||
|
|
||||||
hashmode = input("Hash mode: ")
|
hashmode = input("Hash mode: ")
|
||||||
hashfile = input("Hash file: ")
|
hashfile = input("Hash file: ")
|
||||||
|
if name == "posix":
|
||||||
|
syntax = "hashcat64.exe -m " + hashmode + " -a 3 " + hashfile + " "
|
||||||
|
else:
|
||||||
syntax = ".\\hashcat64.exe -m " + hashmode + " -a 3 " + hashfile + " "
|
syntax = ".\\hashcat64.exe -m " + hashmode + " -a 3 " + hashfile + " "
|
||||||
system(syntax + convert("0000000000") + " --increment")
|
system(syntax + convert("0000000000") + " --increment")
|
||||||
system(syntax + convert("aaaaaaa") + " --increment")
|
system(syntax + convert("aaaaaaa") + " --increment")
|
||||||
|
Loading…
Reference in New Issue
Block a user