Skip to content

Commit

Permalink
Only try single word list for speed
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryyyyy committed Sep 27, 2023
1 parent c0041aa commit 80a24b4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions turbinia/lib/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 80a24b4

Please sign in to comment.