Move wordlist folder scan to straight.c and combinator.c init functions
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
|
||||
int combinator_ctx_init (combinator_ctx_t *combinator_ctx, const user_options_t *user_options);
|
||||
int combinator_ctx_init (combinator_ctx_t *combinator_ctx, user_options_t *user_options, user_options_extra_t *user_options_extra, const straight_ctx_t *straight_ctx, dictstat_ctx_t *dictstat_ctx, wl_data_t *wl_data);
|
||||
void combinator_ctx_destroy (combinator_ctx_t *combinator_ctx);
|
||||
|
||||
#endif // _COMBINATOR_H
|
||||
|
||||
@@ -1513,8 +1513,6 @@ int hashconfig_init (hashconfig_t *hashconfig, const user_
|
||||
void hashconfig_destroy (hashconfig_t *hashconfig);
|
||||
u32 hashconfig_enforce_kernel_threads (const hashconfig_t *hashconfig, const hc_device_param_t *device_param);
|
||||
u32 hashconfig_enforce_kernel_loops (const hashconfig_t *hashconfig, const user_options_t *user_options);
|
||||
uint hashconfig_general_pw_min (hashconfig_t *hashconfig);
|
||||
uint hashconfig_general_pw_max (hashconfig_t *hashconfig);
|
||||
void hashconfig_general_defaults (hashconfig_t *hashconfig, hashes_t *hashes, const user_options_t *user_options);
|
||||
void hashconfig_benchmark_defaults (const hashconfig_t *hashconfig, salt_t *salt, void *esalt);
|
||||
char *hashconfig_benchmark_mask (const hashconfig_t *hashconfig);
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
|
||||
#define INCR_DICTS 1000
|
||||
|
||||
int straight_ctx_init (straight_ctx_t *straight_ctx, const user_options_t *user_options);
|
||||
int straight_ctx_init (straight_ctx_t *straight_ctx, const user_options_t *user_options, const user_options_extra_t *user_options_extra, hashconfig_t *hashconfig);
|
||||
void straight_ctx_destroy (straight_ctx_t *straight_ctx);
|
||||
|
||||
void straight_append_dict (straight_ctx_t *straight_ctx, const char *dict);
|
||||
|
||||
Reference in New Issue
Block a user