From 80a24b4b5b432d20a3fb889c1bfeaccc3a6f0e10 Mon Sep 17 00:00:00 2001 From: Fry Date: Wed, 27 Sep 2023 12:48:32 +1000 Subject: [PATCH] Only try single word list for speed --- turbinia/lib/utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/turbinia/lib/utils.py b/turbinia/lib/utils.py index b00993c73..abd5fe1a5 100644 --- a/turbinia/lib/utils.py +++ b/turbinia/lib/utils.py @@ -187,14 +187,12 @@ def bruteforce_password_hashes( ] pot_file = os.path.expanduser('~/.john/john.pot') else: - cmd = ['hashcat', '--force', '-a', '1'] + cmd = ['hashcat', '--force', '-a', '0'] if extra_args: cmd = cmd + extra_args.split(' ') cmd = cmd + [f'--potfile-path={pot_file}'] cmd = cmd + [ - password_hashes_file_path, password_list_file_path, - password_list_file_path - ] + password_hashes_file_path, password_list_file_path] with open(os.devnull, 'w') as devnull: try: