From 178b8c1a8be157ec3557c9d35d5620d0573fc29e Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Tue, 27 Apr 2021 17:25:54 +0200 Subject: [PATCH] Drupal7 hash type --- crack_hash.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crack_hash.py b/crack_hash.py index 87322f4..c0d1c92 100755 --- a/crack_hash.py +++ b/crack_hash.py @@ -22,6 +22,7 @@ class HashType(enum.Enum): MD5_PASS_SALT = 10 MD5_SALT_PASS = 20 WORDPRESS = 400 + DRUPAL7 = 7900 # SHA1 RAW_SHA1 = 100 @@ -104,6 +105,8 @@ class Hash: self.type.append(HashType.KERBEROS_AS_REP) elif crypt_type == "P": self.type.append(HashType.WORDPRESS) + elif crypt_type == "S": + self.type.append(HashType.DRUPAL7) else: self.isSalted = ":" in raw_hash if self.isSalted: