1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-25 09:28:20 +00:00

Add new hash-mode category 'framework'

This commit is contained in:
Jens Steube 2019-08-12 11:25:21 +02:00
parent 706d69ba08
commit 417a1f6592
2 changed files with 3 additions and 0 deletions

View File

@ -2508,6 +2508,7 @@ typedef enum hash_category
HASH_CATEGORY_FORUM_SOFTWARE = 16,
HASH_CATEGORY_OTP = 17,
HASH_CATEGORY_PLAIN = 18,
HASH_CATEGORY_FRAMEWORK = 19,
} hash_category_t;

View File

@ -95,6 +95,7 @@ static const char *HASH_CATEGORY_DOCUMENTS_STR = "Documents";
static const char *HASH_CATEGORY_PASSWORD_MANAGER_STR = "Password Managers";
static const char *HASH_CATEGORY_OTP_STR = "One-Time Passwords";
static const char *HASH_CATEGORY_PLAIN_STR = "Plaintext";
static const char *HASH_CATEGORY_FRAMEWORK_STR = "Framework";
static inline int get_msb32 (const u32 v)
{
@ -903,6 +904,7 @@ const char *strhashcategory (const u32 hash_category)
case HASH_CATEGORY_PASSWORD_MANAGER: return HASH_CATEGORY_PASSWORD_MANAGER_STR;
case HASH_CATEGORY_OTP: return HASH_CATEGORY_OTP_STR;
case HASH_CATEGORY_PLAIN: return HASH_CATEGORY_PLAIN_STR;
case HASH_CATEGORY_FRAMEWORK: return HASH_CATEGORY_FRAMEWORK_STR;
}
return NULL;