From ad6fea1f0297a8dc6717d1ec129f119581217350 Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Fri, 12 Jun 2020 17:07:06 +0200 Subject: [PATCH] More hash alg --- crack_hash.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crack_hash.py b/crack_hash.py index 3f8579d..f3e43f2 100755 --- a/crack_hash.py +++ b/crack_hash.py @@ -58,6 +58,9 @@ class HashType(enum.Enum): CRYPT_SHA512 = 1800 CRYPT_APACHE = 1600 + # Windows + NTLM = 1000 + # Kerberos KERBEROS_AS_REQ = 7500 KERBEROS_TGS_REP = 13100 @@ -128,13 +131,13 @@ class Hash: else: self.type.append(HashType.RAW_MD5) self.type.append(HashType.RAW_MD4) + self.type.append(HashType.NTLM) elif hash_len == 40: if self.isSalted: self.type.append(HashType.SHA1_PASS_SALT) self.type.append(HashType.SHA1_SALT_PASS) else: self.type.append(HashType.RAW_SHA1) - self.type.append(HashType.RAW_MD4) self.type.append(HashType.RAW_RIPEMD_160) elif hash_len == 96: if not self.isSalted: