1 /**
2 * Author......: See docs/credits.txt
3 * License.....: MIT
4 */
5
6 #include "common.h"
7 #include "types.h"
8 #include "modules.h"
9 #include "bitops.h"
10 #include "convert.h"
11 #include "shared.h"
12 #include "memory.h"
13
14 static const u32 ATTACK_EXEC = ATTACK_EXEC_OUTSIDE_KERNEL;
15 static const u32 DGST_POS0 = 0;
16 static const u32 DGST_POS1 = 1;
17 static const u32 DGST_POS2 = 2;
18 static const u32 DGST_POS3 = 3;
19 static const u32 DGST_SIZE = DGST_SIZE_4_4;
20 static const u32 HASH_CATEGORY = HASH_CATEGORY_CRYPTOCURRENCY_WALLET;
21 static const char *HASH_NAME = "Bitcoin/Litecoin wallet.dat";
22 static const u64 KERN_TYPE = 11300;
23 static const u32 OPTI_TYPE = OPTI_TYPE_ZERO_BYTE
24 | OPTI_TYPE_USES_BITS_64
25 | OPTI_TYPE_SLOW_HASH_SIMD_LOOP;
26 static const u64 OPTS_TYPE = OPTS_TYPE_PT_GENERATE_LE
27 | OPTS_TYPE_ST_HEX
28 | OPTS_TYPE_ST_ADD80
29 | OPTS_TYPE_HASH_COPY
30 | OPTS_TYPE_MP_MULTI_DISABLE
31 | OPTS_TYPE_DEEP_COMP_KERNEL
32 | OPTS_TYPE_MAXIMUM_THREADS;
33 static const u32 SALT_TYPE = SALT_TYPE_EMBEDDED;
34 static const char *ST_PASS = "hashcat";
35 static const char *ST_HASH = "$bitcoin$96$c265931309b4a59307921cf054b4ec6b6e4554369be79802e94e16477645777d948ae1d375191831efc78e5acd1f0443$16$8017214013543185$200460$96$480008005625057442352316337722323437108374245623701184230273883222762730232857701607167815448714$66$014754433300175043011633205413774877455616682000536368706315333388";
36
module_attack_exec(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)37 u32 module_attack_exec (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return ATTACK_EXEC; }
module_dgst_pos0(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)38 u32 module_dgst_pos0 (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return DGST_POS0; }
module_dgst_pos1(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)39 u32 module_dgst_pos1 (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return DGST_POS1; }
module_dgst_pos2(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)40 u32 module_dgst_pos2 (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return DGST_POS2; }
module_dgst_pos3(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)41 u32 module_dgst_pos3 (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return DGST_POS3; }
module_dgst_size(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)42 u32 module_dgst_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return DGST_SIZE; }
module_hash_category(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)43 u32 module_hash_category (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return HASH_CATEGORY; }
module_hash_name(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)44 const char *module_hash_name (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return HASH_NAME; }
module_kern_type(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)45 u64 module_kern_type (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return KERN_TYPE; }
module_opti_type(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)46 u32 module_opti_type (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return OPTI_TYPE; }
module_opts_type(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)47 u64 module_opts_type (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return OPTS_TYPE; }
module_salt_type(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)48 u32 module_salt_type (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return SALT_TYPE; }
module_st_hash(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)49 const char *module_st_hash (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return ST_HASH; }
module_st_pass(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)50 const char *module_st_pass (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra) { return ST_PASS; }
51
52 typedef struct bitcoin_wallet
53 {
54 u32 cry_master_buf[64];
55 u32 cry_master_len;
56
57 u32 cry_salt_buf[16];
58 u32 cry_salt_len;
59
60 } bitcoin_wallet_t;
61
62 typedef struct bitcoin_wallet_tmp
63 {
64 u64 dgst[8];
65
66 } bitcoin_wallet_tmp_t;
67
68 static const char *SIGNATURE_BITCOIN_WALLET = "$bitcoin$";
69
module_jit_build_options(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra,MAYBE_UNUSED const hashes_t * hashes,MAYBE_UNUSED const hc_device_param_t * device_param)70 char *module_jit_build_options (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra, MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const hc_device_param_t *device_param)
71 {
72 char *jit_build_options = NULL;
73
74 // Extra treatment for Apple systems
75 if (device_param->opencl_platform_vendor_id == VENDOR_ID_APPLE)
76 {
77 return jit_build_options;
78 }
79
80 // NVIDIA GPU
81 if (device_param->opencl_device_vendor_id == VENDOR_ID_NV)
82 {
83 hc_asprintf (&jit_build_options, "-D _unroll");
84 }
85
86 // HIP
87 if (device_param->opencl_device_vendor_id == VENDOR_ID_AMD_USE_HIP)
88 {
89 hc_asprintf (&jit_build_options, "-D _unroll");
90 }
91
92 // ROCM
93 if ((device_param->opencl_device_vendor_id == VENDOR_ID_AMD) && (device_param->has_vperm == true))
94 {
95 hc_asprintf (&jit_build_options, "-D _unroll");
96 }
97
98 return jit_build_options;
99 }
100
module_deep_comp_kernel(MAYBE_UNUSED const hashes_t * hashes,MAYBE_UNUSED const u32 salt_pos,MAYBE_UNUSED const u32 digest_pos)101 u32 module_deep_comp_kernel (MAYBE_UNUSED const hashes_t *hashes, MAYBE_UNUSED const u32 salt_pos, MAYBE_UNUSED const u32 digest_pos)
102 {
103 return KERN_RUN_3;
104 }
105
module_esalt_size(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)106 u64 module_esalt_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
107 {
108 const u64 esalt_size = (const u64) sizeof (bitcoin_wallet_t);
109
110 return esalt_size;
111 }
112
module_tmp_size(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)113 u64 module_tmp_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
114 {
115 const u64 tmp_size = (const u64) sizeof (bitcoin_wallet_tmp_t);
116
117 return tmp_size;
118 }
119
module_pw_max(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const user_options_t * user_options,MAYBE_UNUSED const user_options_extra_t * user_options_extra)120 u32 module_pw_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
121 {
122 // this overrides the reductions of PW_MAX in case optimized kernel is selected
123 // IOW, even in optimized kernel mode it support length 256
124
125 const u32 pw_max = PW_MAX;
126
127 return pw_max;
128 }
129
module_hash_decode(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED void * digest_buf,MAYBE_UNUSED salt_t * salt,MAYBE_UNUSED void * esalt_buf,MAYBE_UNUSED void * hook_salt_buf,MAYBE_UNUSED hashinfo_t * hash_info,const char * line_buf,MAYBE_UNUSED const int line_len)130 int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED void *digest_buf, MAYBE_UNUSED salt_t *salt, MAYBE_UNUSED void *esalt_buf, MAYBE_UNUSED void *hook_salt_buf, MAYBE_UNUSED hashinfo_t *hash_info, const char *line_buf, MAYBE_UNUSED const int line_len)
131 {
132 u32 *digest = (u32 *) digest_buf;
133
134 bitcoin_wallet_t *bitcoin_wallet = (bitcoin_wallet_t *) esalt_buf;
135
136 token_t token;
137
138 token.token_cnt = 10;
139
140 token.signatures_cnt = 1;
141 token.signatures_buf[0] = SIGNATURE_BITCOIN_WALLET;
142
143 token.len[0] = 9;
144 token.attr[0] = TOKEN_ATTR_FIXED_LENGTH
145 | TOKEN_ATTR_VERIFY_SIGNATURE;
146
147 token.sep[1] = '$';
148 token.len_min[1] = 2;
149 token.len_max[1] = 3;
150 token.attr[1] = TOKEN_ATTR_VERIFY_LENGTH
151 | TOKEN_ATTR_VERIFY_DIGIT;
152
153 token.sep[2] = '$';
154 token.len_min[2] = 64;
155 token.len_max[2] = 256;
156 token.attr[2] = TOKEN_ATTR_VERIFY_LENGTH
157 | TOKEN_ATTR_VERIFY_HEX;
158
159 token.sep[3] = '$';
160 token.len_min[3] = 2;
161 token.len_max[3] = 2;
162 token.attr[3] = TOKEN_ATTR_VERIFY_LENGTH
163 | TOKEN_ATTR_VERIFY_DIGIT;
164
165 token.sep[4] = '$';
166 token.len_min[4] = 16;
167 token.len_max[4] = 36;
168 token.attr[4] = TOKEN_ATTR_VERIFY_LENGTH
169 | TOKEN_ATTR_VERIFY_HEX;
170
171 token.sep[5] = '$';
172 token.len_min[5] = 1;
173 token.len_max[5] = 6;
174 token.attr[5] = TOKEN_ATTR_VERIFY_LENGTH
175 | TOKEN_ATTR_VERIFY_DIGIT;
176
177 token.sep[6] = '$';
178 token.len_min[6] = 0;
179 token.len_max[6] = 6;
180 token.attr[6] = TOKEN_ATTR_VERIFY_LENGTH
181 | TOKEN_ATTR_VERIFY_DIGIT;
182
183 token.sep[7] = '$';
184 token.len_min[7] = 0;
185 token.len_max[7] = 999999;
186 token.attr[7] = TOKEN_ATTR_VERIFY_LENGTH
187 | TOKEN_ATTR_VERIFY_HEX;
188
189 token.sep[8] = '$';
190 token.len_min[8] = 0;
191 token.len_max[8] = 6;
192 token.attr[8] = TOKEN_ATTR_VERIFY_LENGTH
193 | TOKEN_ATTR_VERIFY_DIGIT;
194
195 token.sep[9] = '$';
196 token.len_min[9] = 0;
197 token.len_max[9] = 999999;
198 token.attr[9] = TOKEN_ATTR_VERIFY_LENGTH
199 | TOKEN_ATTR_VERIFY_HEX;
200
201 const int rc_tokenizer = input_tokenizer ((const u8 *) line_buf, line_len, &token);
202
203 if (rc_tokenizer != PARSER_OK) return (rc_tokenizer);
204
205 const u8 *cry_master_len_pos = token.buf[1];
206 const u8 *cry_master_buf_pos = token.buf[2];
207 const u8 *cry_salt_len_pos = token.buf[3];
208 const u8 *cry_salt_buf_pos = token.buf[4];
209 const u8 *cry_rounds_pos = token.buf[5];
210 const u8 *ckey_len_pos = token.buf[6];
211 const u8 *public_key_len_pos = token.buf[8];
212
213 const int cry_master_buf_len = token.len[2];
214 const int cry_salt_buf_len = token.len[4];
215 const int ckey_buf_len = token.len[7];
216 const int public_key_buf_len = token.len[9];
217
218 // verify
219
220 const int cry_master_len = hc_strtoul ((const char *) cry_master_len_pos, NULL, 10);
221 const int cry_salt_len = hc_strtoul ((const char *) cry_salt_len_pos, NULL, 10);
222 const int ckey_len = hc_strtoul ((const char *) ckey_len_pos, NULL, 10);
223 const int public_key_len = hc_strtoul ((const char *) public_key_len_pos, NULL, 10);
224
225 if (cry_master_buf_len != cry_master_len) return (PARSER_SALT_VALUE);
226 if (cry_salt_buf_len != cry_salt_len) return (PARSER_SALT_VALUE);
227 if (ckey_buf_len != ckey_len) return (PARSER_SALT_VALUE);
228 if (public_key_buf_len != public_key_len) return (PARSER_SALT_VALUE);
229
230 if (cry_master_len < 64) return (PARSER_SALT_VALUE);
231 if (cry_master_len % 32) return (PARSER_SALT_VALUE);
232
233 if (cry_salt_len != 16 && cry_salt_len != 36) return (PARSER_SALT_VALUE);
234
235 // esalt
236
237 for (int i = 0, j = 0; j < cry_master_len; i += 1, j += 8)
238 {
239 bitcoin_wallet->cry_master_buf[i] = hex_to_u32 ((const u8 *) &cry_master_buf_pos[j]);
240 }
241
242 bitcoin_wallet->cry_master_len = cry_master_len / 2;
243
244 // hash
245
246 digest[0] = bitcoin_wallet->cry_master_buf[0];
247 digest[1] = bitcoin_wallet->cry_master_buf[1];
248 digest[2] = bitcoin_wallet->cry_master_buf[2];
249 digest[3] = bitcoin_wallet->cry_master_buf[3];
250
251 // iter
252
253 const int cry_rounds = hc_strtoul ((const char *) cry_rounds_pos, NULL, 10);
254
255 salt->salt_iter = cry_rounds - 1;
256
257 // esalt
258
259 const bool parse_rc = generic_salt_decode (hashconfig, cry_salt_buf_pos, cry_salt_buf_len, (u8 *) bitcoin_wallet->cry_salt_buf, (int *) &bitcoin_wallet->cry_salt_len);
260
261 if (parse_rc == false) return (PARSER_SALT_LENGTH);
262
263 // salt
264
265 salt->salt_buf[0] = bitcoin_wallet->cry_salt_buf[0];
266 salt->salt_buf[1] = bitcoin_wallet->cry_salt_buf[1];
267
268 salt->salt_len = 8;
269
270 return (PARSER_OK);
271 }
272
module_hash_encode(MAYBE_UNUSED const hashconfig_t * hashconfig,MAYBE_UNUSED const void * digest_buf,MAYBE_UNUSED const salt_t * salt,MAYBE_UNUSED const void * esalt_buf,MAYBE_UNUSED const void * hook_salt_buf,MAYBE_UNUSED const hashinfo_t * hash_info,char * line_buf,MAYBE_UNUSED const int line_size)273 int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const void *digest_buf, MAYBE_UNUSED const salt_t *salt, MAYBE_UNUSED const void *esalt_buf, MAYBE_UNUSED const void *hook_salt_buf, MAYBE_UNUSED const hashinfo_t *hash_info, char *line_buf, MAYBE_UNUSED const int line_size)
274 {
275 return snprintf (line_buf, line_size, "%s", hash_info->orighash);
276 }
277
module_init(module_ctx_t * module_ctx)278 void module_init (module_ctx_t *module_ctx)
279 {
280 module_ctx->module_context_size = MODULE_CONTEXT_SIZE_CURRENT;
281 module_ctx->module_interface_version = MODULE_INTERFACE_VERSION_CURRENT;
282
283 module_ctx->module_attack_exec = module_attack_exec;
284 module_ctx->module_benchmark_esalt = MODULE_DEFAULT;
285 module_ctx->module_benchmark_hook_salt = MODULE_DEFAULT;
286 module_ctx->module_benchmark_mask = MODULE_DEFAULT;
287 module_ctx->module_benchmark_salt = MODULE_DEFAULT;
288 module_ctx->module_build_plain_postprocess = MODULE_DEFAULT;
289 module_ctx->module_deep_comp_kernel = module_deep_comp_kernel;
290 module_ctx->module_deprecated_notice = MODULE_DEFAULT;
291 module_ctx->module_dgst_pos0 = module_dgst_pos0;
292 module_ctx->module_dgst_pos1 = module_dgst_pos1;
293 module_ctx->module_dgst_pos2 = module_dgst_pos2;
294 module_ctx->module_dgst_pos3 = module_dgst_pos3;
295 module_ctx->module_dgst_size = module_dgst_size;
296 module_ctx->module_dictstat_disable = MODULE_DEFAULT;
297 module_ctx->module_esalt_size = module_esalt_size;
298 module_ctx->module_extra_buffer_size = MODULE_DEFAULT;
299 module_ctx->module_extra_tmp_size = MODULE_DEFAULT;
300 module_ctx->module_extra_tuningdb_block = MODULE_DEFAULT;
301 module_ctx->module_forced_outfile_format = MODULE_DEFAULT;
302 module_ctx->module_hash_binary_count = MODULE_DEFAULT;
303 module_ctx->module_hash_binary_parse = MODULE_DEFAULT;
304 module_ctx->module_hash_binary_save = MODULE_DEFAULT;
305 module_ctx->module_hash_decode_potfile = MODULE_DEFAULT;
306 module_ctx->module_hash_decode_zero_hash = MODULE_DEFAULT;
307 module_ctx->module_hash_decode = module_hash_decode;
308 module_ctx->module_hash_encode_status = MODULE_DEFAULT;
309 module_ctx->module_hash_encode_potfile = MODULE_DEFAULT;
310 module_ctx->module_hash_encode = module_hash_encode;
311 module_ctx->module_hash_init_selftest = MODULE_DEFAULT;
312 module_ctx->module_hash_mode = MODULE_DEFAULT;
313 module_ctx->module_hash_category = module_hash_category;
314 module_ctx->module_hash_name = module_hash_name;
315 module_ctx->module_hashes_count_min = MODULE_DEFAULT;
316 module_ctx->module_hashes_count_max = MODULE_DEFAULT;
317 module_ctx->module_hlfmt_disable = MODULE_DEFAULT;
318 module_ctx->module_hook_extra_param_size = MODULE_DEFAULT;
319 module_ctx->module_hook_extra_param_init = MODULE_DEFAULT;
320 module_ctx->module_hook_extra_param_term = MODULE_DEFAULT;
321 module_ctx->module_hook12 = MODULE_DEFAULT;
322 module_ctx->module_hook23 = MODULE_DEFAULT;
323 module_ctx->module_hook_salt_size = MODULE_DEFAULT;
324 module_ctx->module_hook_size = MODULE_DEFAULT;
325 module_ctx->module_jit_build_options = module_jit_build_options;
326 module_ctx->module_jit_cache_disable = MODULE_DEFAULT;
327 module_ctx->module_kernel_accel_max = MODULE_DEFAULT;
328 module_ctx->module_kernel_accel_min = MODULE_DEFAULT;
329 module_ctx->module_kernel_loops_max = MODULE_DEFAULT;
330 module_ctx->module_kernel_loops_min = MODULE_DEFAULT;
331 module_ctx->module_kernel_threads_max = MODULE_DEFAULT;
332 module_ctx->module_kernel_threads_min = MODULE_DEFAULT;
333 module_ctx->module_kern_type = module_kern_type;
334 module_ctx->module_kern_type_dynamic = MODULE_DEFAULT;
335 module_ctx->module_opti_type = module_opti_type;
336 module_ctx->module_opts_type = module_opts_type;
337 module_ctx->module_outfile_check_disable = MODULE_DEFAULT;
338 module_ctx->module_outfile_check_nocomp = MODULE_DEFAULT;
339 module_ctx->module_potfile_custom_check = MODULE_DEFAULT;
340 module_ctx->module_potfile_disable = MODULE_DEFAULT;
341 module_ctx->module_potfile_keep_all_hashes = MODULE_DEFAULT;
342 module_ctx->module_pwdump_column = MODULE_DEFAULT;
343 module_ctx->module_pw_max = module_pw_max;
344 module_ctx->module_pw_min = MODULE_DEFAULT;
345 module_ctx->module_salt_max = MODULE_DEFAULT;
346 module_ctx->module_salt_min = MODULE_DEFAULT;
347 module_ctx->module_salt_type = module_salt_type;
348 module_ctx->module_separator = MODULE_DEFAULT;
349 module_ctx->module_st_hash = module_st_hash;
350 module_ctx->module_st_pass = module_st_pass;
351 module_ctx->module_tmp_size = module_tmp_size;
352 module_ctx->module_unstable_warning = MODULE_DEFAULT;
353 module_ctx->module_warmup_disable = MODULE_DEFAULT;
354 }
355