@@ -52,13 +52,13 @@ def twitter(query):
52
52
53
53
############################################################optional##############################################################
54
54
print "Running Passwordpro & combinator rules...."
55
- hashcat = subprocess .Popen (["optirun" ,"./hashcat/cudaHashcat-plus64.bin" ,"--remove" ,"--rules-file" ,"hashcat/rules/passwordspro.rule" , "--rules-file" ,"hashcat/rules/combinator.rule" ,"--outfile" , "crackme.out" , "crackme.txt" , "password.txt" ], stdout = subprocess .PIPE ).communicate ()[0 ]
55
+ hashcat = subprocess .Popen (["optirun" ,"./hashcat/cudaHashcat-plus64.bin" ,"--remove" ,"--rules-file" ,"hashcat/rules/passwordspro.rule" , "--rules-file" ,"hashcat/rules/combinator.rule" ,"--outfile" , "crackme.out" , sys . argv [ 1 ] , "password.txt" ], stdout = subprocess .PIPE ).communicate ()[0 ]
56
56
print hashcat
57
57
print "Running Leetspeak & Best64 rules...."
58
- hashcat = subprocess .Popen (["optirun" ,"./hashcat/cudaHashcat-plus64.bin" ,"--remove" ,"--rules-file" ,"hashcat/rules/best64.rule" , "--rules-file" ,"hashcat/rules/leetspeak.rule" , "--outfile" , "crackme.out" , "crackme.txt" , "password.txt" ], stdout = subprocess .PIPE ).communicate ()[0 ]
58
+ hashcat = subprocess .Popen (["optirun" ,"./hashcat/cudaHashcat-plus64.bin" ,"--remove" ,"--rules-file" ,"hashcat/rules/best64.rule" , "--rules-file" ,"hashcat/rules/leetspeak.rule" , "--outfile" , "crackme.out" , sys . argv [ 1 ] , "password.txt" ], stdout = subprocess .PIPE ).communicate ()[0 ]
59
59
print hashcat
60
60
print "Running generated Rules...."
61
- hashcat = subprocess .Popen (["optirun" ,"./hashcat/cudaHashcat-plus64.bin" ,"--remove" ,"--rules-file" ,"hashcat/rules/generated.rule" , "--outfile" , "crackme.out" , "crackme.txt" , "password.txt" ], stdout = subprocess .PIPE ).communicate ()[0 ]
61
+ hashcat = subprocess .Popen (["optirun" ,"./hashcat/cudaHashcat-plus64.bin" ,"--remove" ,"--rules-file" ,"hashcat/rules/generated.rule" , "--outfile" , "crackme.out" , sys . argv [ 1 ] , "password.txt" ], stdout = subprocess .PIPE ).communicate ()[0 ]
62
62
print hashcat
63
63
f = open ("password.txt" , "w" ).write ("" )
64
64
############################################################optional##############################################################
0 commit comments