Skip to content

Commit

Permalink
Don't force password hash algo
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryyyyy committed Nov 7, 2024
1 parent a019212 commit c7e4951
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions turbinia/workers/analysis/linux_acct.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,8 @@ def analyse_shadow_file(self, shadow, path, hashes, timeout=300):
summary = 'No weak passwords found'
priority = Priority.LOW

# 1800 is "sha512crypt $6$, SHA512 (Unix)"
weak_passwords = bruteforce_password_hashes(
shadow, tmp_dir=self.tmp_dir, timeout=timeout, extra_args='-m 1800')
shadow, tmp_dir=self.tmp_dir, timeout=timeout)

if weak_passwords:
priority = Priority.CRITICAL
Expand Down

0 comments on commit c7e4951

Please sign in to comment.