From a2f883396b1299bade079315ecd07f78c8fbe6bc Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Mon, 5 Jul 2021 09:25:06 +0200 Subject: [PATCH] Java Object hashCode: Add OPTS_TYPE_SUGGEST_KG as a default option --- docs/changes.txt | 1 + src/modules/module_18700.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 5324716a4..0d6e539b1 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -50,6 +50,7 @@ - Brain: Add brain_ctx_t to hashcat_ctx_t to enable runtime check if hashcat was compiled with brain support - File handling: Do not abort on seeing a BOM in input files, just warn and ignore the BOM - Folders: Do not escape the variable cpath_real to prevent certain OpenCL runtimes from running into an error which do not support escape characters +- Java Object hashCode: Add OPTS_TYPE_SUGGEST_KG as a default option - LM: Workaround JiT compiler bug in -m 3000 on NV leading to false negatives with large amount of hashes - OpenCL Runtime: Workaround JiT crash (SC failed. No reason given.) on macOS by limiting local memory allocations to 32k - Status View: Include time and duration info when pausing and resuming diff --git a/src/modules/module_18700.c b/src/modules/module_18700.c index 25b9f0c84..c23cc2efc 100644 --- a/src/modules/module_18700.c +++ b/src/modules/module_18700.c @@ -20,7 +20,8 @@ static const u32 HASH_CATEGORY = HASH_CATEGORY_RAW_CHECKSUM; static const char *HASH_NAME = "Java Object hashCode()"; static const u64 KERN_TYPE = 18700; static const u32 OPTI_TYPE = OPTI_TYPE_RAW_HASH; -static const u64 OPTS_TYPE = OPTS_TYPE_PT_GENERATE_LE; +static const u64 OPTS_TYPE = OPTS_TYPE_PT_GENERATE_LE + | OPTS_TYPE_SUGGEST_KG; static const u32 SALT_TYPE = SALT_TYPE_NONE; static const char *ST_PASS = "hashcat"; static const char *ST_HASH = "29937c08";