Skip to content

Commit

Permalink
Don't force password hash algo (#1565)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryyyyy authored Nov 13, 2024
1 parent cb804a2 commit 799f08b
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 799f08b

Please sign in to comment.