mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 08:08:10 +00:00
Add new category HASH_CATEGORY_PRIVATE_KEY
This commit is contained in:
parent
cec6051d74
commit
6cec2664bc
@ -2627,6 +2627,7 @@ typedef enum hash_category
|
||||
HASH_CATEGORY_OTP = 17,
|
||||
HASH_CATEGORY_PLAIN = 18,
|
||||
HASH_CATEGORY_FRAMEWORK = 19,
|
||||
HASH_CATEGORY_PRIVATE_KEY = 20,
|
||||
|
||||
} hash_category_t;
|
||||
|
||||
|
@ -100,6 +100,7 @@ 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 const char *HASH_CATEGORY_PRIVATE_KEY_STR = "Private Key";
|
||||
|
||||
int sort_by_string_sized (const void *p1, const void *p2)
|
||||
{
|
||||
@ -950,6 +951,7 @@ const char *strhashcategory (const u32 hash_category)
|
||||
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;
|
||||
case HASH_CATEGORY_PRIVATE_KEY: return HASH_CATEGORY_PRIVATE_KEY_STR;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user