1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-21 23:58:07 +00:00

Prepare commandline parameter for upcoming partial support for $dynamic_X$

This commit is contained in:
jsteube 2023-10-31 10:38:10 +00:00
parent adbcef6909
commit b1b349e8c9
2 changed files with 3 additions and 0 deletions

View File

@ -638,6 +638,7 @@ typedef enum user_options_defaults
#endif #endif
DEBUG_MODE = 0, DEBUG_MODE = 0,
DEPRECATED_CHECK = true, DEPRECATED_CHECK = true,
DYNAMIC_X = false,
FORCE = false, FORCE = false,
HWMON = true, HWMON = true,
#if defined (__APPLE__) #if defined (__APPLE__)
@ -757,6 +758,7 @@ typedef enum user_options_map
IDX_DEBUG_FILE = 0xff12, IDX_DEBUG_FILE = 0xff12,
IDX_DEBUG_MODE = 0xff13, IDX_DEBUG_MODE = 0xff13,
IDX_DEPRECATED_CHECK_DISABLE = 0xff14, IDX_DEPRECATED_CHECK_DISABLE = 0xff14,
IDX_DYNAMIC_X = 0xff55,
IDX_ENCODING_FROM = 0xff15, IDX_ENCODING_FROM = 0xff15,
IDX_ENCODING_TO = 0xff16, IDX_ENCODING_TO = 0xff16,
IDX_HASH_INFO = 0xff17, IDX_HASH_INFO = 0xff17,

View File

@ -54,6 +54,7 @@ static const struct option long_options[] =
{"debug-file", required_argument, NULL, IDX_DEBUG_FILE}, {"debug-file", required_argument, NULL, IDX_DEBUG_FILE},
{"debug-mode", required_argument, NULL, IDX_DEBUG_MODE}, {"debug-mode", required_argument, NULL, IDX_DEBUG_MODE},
{"deprecated-check-disable", no_argument, NULL, IDX_DEPRECATED_CHECK_DISABLE}, {"deprecated-check-disable", no_argument, NULL, IDX_DEPRECATED_CHECK_DISABLE},
{"dynamic-x", no_argument, NULL, IDX_DYNAMIC_X},
{"encoding-from", required_argument, NULL, IDX_ENCODING_FROM}, {"encoding-from", required_argument, NULL, IDX_ENCODING_FROM},
{"encoding-to", required_argument, NULL, IDX_ENCODING_TO}, {"encoding-to", required_argument, NULL, IDX_ENCODING_TO},
{"example-hashes", no_argument, NULL, IDX_HASH_INFO}, // alias of hash-info {"example-hashes", no_argument, NULL, IDX_HASH_INFO}, // alias of hash-info