From 686bc227cf37a5eca08ca57315ea27e85bf1e212 Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 26 Oct 2023 11:42:01 +0000 Subject: [PATCH] Allow user to use --keyboard-layout-mapping for VeraCrypt SHA512 plugins. This plugin doesn't require a dedicated boot hash-mode, because the iteration count is the same for both boot and partition/file hash-mode. For that reason it should be allowed to use keyboard mapping functionality. --- src/modules/module_13721.c | 1 + src/modules/module_13722.c | 1 + src/modules/module_13723.c | 1 + src/modules/module_29421.c | 1 + src/modules/module_29422.c | 1 + src/modules/module_29423.c | 1 + 6 files changed, 6 insertions(+) diff --git a/src/modules/module_13721.c b/src/modules/module_13721.c index 75e7271b1..f6f335eb6 100644 --- a/src/modules/module_13721.c +++ b/src/modules/module_13721.c @@ -30,6 +30,7 @@ static const u64 OPTS_TYPE = OPTS_TYPE_STOCK_MODULE | OPTS_TYPE_BINARY_HASHFILE | OPTS_TYPE_LOOP_EXTENDED | OPTS_TYPE_MP_MULTI_DISABLE + | OPTS_TYPE_KEYBOARD_MAPPING | OPTS_TYPE_COPY_TMPS; static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED; static const char *ST_PASS = "hashcat"; diff --git a/src/modules/module_13722.c b/src/modules/module_13722.c index ff1ad6472..6ce7258e3 100644 --- a/src/modules/module_13722.c +++ b/src/modules/module_13722.c @@ -30,6 +30,7 @@ static const u64 OPTS_TYPE = OPTS_TYPE_STOCK_MODULE | OPTS_TYPE_BINARY_HASHFILE | OPTS_TYPE_LOOP_EXTENDED | OPTS_TYPE_MP_MULTI_DISABLE + | OPTS_TYPE_KEYBOARD_MAPPING | OPTS_TYPE_COPY_TMPS; static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED; static const char *ST_PASS = "hashcat"; diff --git a/src/modules/module_13723.c b/src/modules/module_13723.c index c94c2ab14..ca2a70316 100644 --- a/src/modules/module_13723.c +++ b/src/modules/module_13723.c @@ -30,6 +30,7 @@ static const u64 OPTS_TYPE = OPTS_TYPE_STOCK_MODULE | OPTS_TYPE_BINARY_HASHFILE | OPTS_TYPE_LOOP_EXTENDED | OPTS_TYPE_MP_MULTI_DISABLE + | OPTS_TYPE_KEYBOARD_MAPPING | OPTS_TYPE_COPY_TMPS; static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED; static const char *ST_PASS = "hashcat"; diff --git a/src/modules/module_29421.c b/src/modules/module_29421.c index 82ccd29dc..c75184e77 100644 --- a/src/modules/module_29421.c +++ b/src/modules/module_29421.c @@ -29,6 +29,7 @@ static const u64 OPTS_TYPE = OPTS_TYPE_STOCK_MODULE | OPTS_TYPE_PT_GENERATE_LE | OPTS_TYPE_LOOP_EXTENDED | OPTS_TYPE_MP_MULTI_DISABLE + | OPTS_TYPE_KEYBOARD_MAPPING | OPTS_TYPE_COPY_TMPS; static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED; static const char *ST_PASS = "hashcat"; diff --git a/src/modules/module_29422.c b/src/modules/module_29422.c index 0e1b9f628..1e307a2fd 100644 --- a/src/modules/module_29422.c +++ b/src/modules/module_29422.c @@ -29,6 +29,7 @@ static const u64 OPTS_TYPE = OPTS_TYPE_STOCK_MODULE | OPTS_TYPE_PT_GENERATE_LE | OPTS_TYPE_LOOP_EXTENDED | OPTS_TYPE_MP_MULTI_DISABLE + | OPTS_TYPE_KEYBOARD_MAPPING | OPTS_TYPE_COPY_TMPS; static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED; static const char *ST_PASS = "hashcat"; diff --git a/src/modules/module_29423.c b/src/modules/module_29423.c index ab441d433..fce68cc36 100644 --- a/src/modules/module_29423.c +++ b/src/modules/module_29423.c @@ -29,6 +29,7 @@ static const u64 OPTS_TYPE = OPTS_TYPE_STOCK_MODULE | OPTS_TYPE_PT_GENERATE_LE | OPTS_TYPE_LOOP_EXTENDED | OPTS_TYPE_MP_MULTI_DISABLE + | OPTS_TYPE_KEYBOARD_MAPPING | OPTS_TYPE_COPY_TMPS; static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED; static const char *ST_PASS = "hashcat";