1
mirror of https://github.com/hashcat/hashcat synced 2024-11-24 14:27:14 +01:00

Add new category for application database and move new -m 31400 to it

This commit is contained in:
jsteube 2023-03-20 11:22:34 +00:00
parent 074411418f
commit c8dd3d63e9
4 changed files with 6 additions and 2 deletions

View File

@ -447,6 +447,7 @@ NVIDIA GPUs require "NVIDIA Driver" (440.64 or later) and "CUDA Toolkit" (9.0 or
- ENCsecurity Datavault (PBKDF2/keychain)
- ENCsecurity Datavault (MD5/no keychain)
- ENCsecurity Datavault (MD5/keychain)
- SecureCRT MasterPassphrase v2
##
## Attack-Modes

View File

@ -3056,7 +3056,8 @@ typedef enum hash_category
HASH_CATEGORY_PRIVATE_KEY = 20,
HASH_CATEGORY_IMS = 21,
HASH_CATEGORY_CRYPTOCURRENCY_WALLET = 22,
HASH_CATEGORY_FBE = 23
HASH_CATEGORY_FBE = 23,
HASH_CATEGORY_APPLICATION_DATABASE = 24
} hash_category_t;
// hash specific

View File

@ -19,7 +19,7 @@ static const u32 DGST_POS1 = 1;
static const u32 DGST_POS2 = 2;
static const u32 DGST_POS3 = 3;
static const u32 DGST_SIZE = DGST_SIZE_4_4;
static const u32 HASH_CATEGORY = HASH_CATEGORY_RAW_HASH;
static const u32 HASH_CATEGORY = HASH_CATEGORY_APPLICATION_DATABASE;
static const char *HASH_NAME = "SecureCRT MasterPassphrase v2";
static const u64 KERN_TYPE = 31400;
static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE

View File

@ -111,6 +111,7 @@ static const char *const HASH_CATEGORY_FRAMEWORK_STR = "Framework";
static const char *const HASH_CATEGORY_PRIVATE_KEY_STR = "Private Key";
static const char *const HASH_CATEGORY_IMS_STR = "Instant Messaging Service";
static const char *const HASH_CATEGORY_CRYPTOCURRENCY_WALLET_STR = "Cryptocurrency Wallet";
static const char *const HASH_CATEGORY_APPLICATION_DATABASE_STR = "Application Database";
int sort_by_string_sized (const void *p1, const void *p2)
{
@ -1003,6 +1004,7 @@ const char *strhashcategory (const u32 hash_category)
case HASH_CATEGORY_PRIVATE_KEY: return HASH_CATEGORY_PRIVATE_KEY_STR;
case HASH_CATEGORY_IMS: return HASH_CATEGORY_IMS_STR;
case HASH_CATEGORY_CRYPTOCURRENCY_WALLET: return HASH_CATEGORY_CRYPTOCURRENCY_WALLET_STR;
case HASH_CATEGORY_APPLICATION_DATABASE: return HASH_CATEGORY_APPLICATION_DATABASE_STR;
}
return NULL;