1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-16 17:42:04 +00:00

Fix bfs_cnt in -i mode

This commit is contained in:
jsteube 2016-09-26 17:50:47 +02:00
parent 3eaac31445
commit 04fb85cf1a
2 changed files with 4 additions and 1 deletions

View File

@ -1121,7 +1121,7 @@ typedef struct
cs_t mp_sys[6];
cs_t mp_usr[4];
u32 bfs_cnt;
u64 bfs_cnt;
cs_t *css_buf;
u32 css_cnt;

View File

@ -706,6 +706,9 @@ void sp_setup_tbl (const char *shared_dir, char *hcstat, uint disable, uint clas
void sp_tbl_to_css (hcstat_table_t *root_table_buf, hcstat_table_t *markov_table_buf, cs_t *root_css_buf, cs_t *markov_css_buf, uint threshold, uint uniq_tbls[SP_PW_MAX][CHARSIZ])
{
memset (root_css_buf, 0, SP_PW_MAX * sizeof (cs_t));
memset (markov_css_buf, 0, SP_PW_MAX * CHARSIZ * sizeof (cs_t));
/**
* Convert tables to css
*/