Move out code to check for hashfile or hash on commandline into dedicated function
This commit is contained in:
@@ -17,6 +17,8 @@ void check_hash (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, pl
|
||||
|
||||
int check_cracked (hashcat_ctx_t *hashcat_ctx, hc_device_param_t *device_param, const u32 salt_pos);
|
||||
|
||||
void hashes_init_filename (hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
int hashes_init_stage1 (hashcat_ctx_t *hashcat_ctx);
|
||||
int hashes_init_stage2 (hashcat_ctx_t *hashcat_ctx);
|
||||
int hashes_init_stage3 (hashcat_ctx_t *hashcat_ctx);
|
||||
|
||||
@@ -778,6 +778,7 @@ typedef struct logfile_ctx
|
||||
typedef struct hashes
|
||||
{
|
||||
const char *hashfile;
|
||||
char *hashfile_hcdmp;
|
||||
|
||||
u32 hashlist_mode;
|
||||
u32 hashlist_format;
|
||||
|
||||
Reference in New Issue
Block a user