From c7e4951220877737c6f614e1cc8d734783f011ab Mon Sep 17 00:00:00 2001 From: Fry Date: Thu, 7 Nov 2024 13:14:09 +1100 Subject: [PATCH] Don't force password hash algo --- turbinia/workers/analysis/linux_acct.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/turbinia/workers/analysis/linux_acct.py b/turbinia/workers/analysis/linux_acct.py index dc97b8e7a..419f51475 100644 --- a/turbinia/workers/analysis/linux_acct.py +++ b/turbinia/workers/analysis/linux_acct.py @@ -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