Fix but when cracking with John, small fixes.

* --crack commands printed consistently (same color/format).
* Only warn about PMKID -> hashcat once if any selected handshakes are PMKIDs
This commit is contained in:
derv82
2018-08-21 13:55:22 -07:00
parent d01470a8e4
commit f641ea53c4
5 changed files with 12 additions and 12 deletions

View File

@@ -40,7 +40,7 @@ class Hashcat(Dependency):
command.append('--force')
command.extend(additional_arg)
if show_command:
Color.pl('{+} {D}{C}Running %s{W}' % ' '.join(command))
Color.pl('{+} {D}Running: {W}{P}%s{W}' % ' '.join(command))
process = Process(command)
stdout, stderr = process.get_output()
if ':' not in stdout:
@@ -150,7 +150,7 @@ class HcxPcapTool(Dependency):
]
if show_command:
Color.pl('{+} {D}{C}Running %s{W}' % ' '.join(command))
Color.pl('{+} {D}Running: {W}{P}%s{W}' % ' '.join(command))
process = Process(command)
stdout, stderr = process.get_output()
@@ -173,7 +173,7 @@ class HcxPcapTool(Dependency):
]
if show_command:
Color.pl('{+} {D}{C}Running %s{W}' % ' '.join(command))
Color.pl('{+} {D}Running: {W}{P}%s{W}' % ' '.join(command))
process = Process(command)
stdout, stderr = process.get_output()