Use * in potfile entries for -m 250x and -m 1680x

pull/2259/head
Jens Steube 4 years ago
parent 1cbd02b1b5
commit 20ef9725ef

@ -261,7 +261,7 @@ int module_hash_decode_potfile (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
// essid
char *sep_pos = strrchr (line_buf, ':');
char *sep_pos = strrchr (line_buf, '*');
if (sep_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
@ -292,7 +292,7 @@ int module_hash_encode_potfile (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
tmp_buf[tmp_len] = 0;
const int line_len = snprintf (line_buf, line_size, "%08x%08x%08x%08x%08x%08x%08x%08x:%s",
const int line_len = snprintf (line_buf, line_size, "%08x%08x%08x%08x%08x%08x%08x%08x*%s",
wpa_pbkdf2_tmp->out[0],
wpa_pbkdf2_tmp->out[1],
wpa_pbkdf2_tmp->out[2],

@ -258,7 +258,7 @@ int module_hash_decode_potfile (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
// essid
char *sep_pos = strrchr (line_buf, ':');
char *sep_pos = strrchr (line_buf, '*');
if (sep_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
@ -289,7 +289,7 @@ int module_hash_encode_potfile (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
tmp_buf[tmp_len] = 0;
const int line_len = snprintf (line_buf, line_size, "%08x%08x%08x%08x%08x%08x%08x%08x:%s",
const int line_len = snprintf (line_buf, line_size, "%08x%08x%08x%08x%08x%08x%08x%08x*%s",
wpa_pmk_tmp->out[0],
wpa_pmk_tmp->out[1],
wpa_pmk_tmp->out[2],

@ -132,7 +132,7 @@ int module_hash_decode_potfile (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
// essid
char *sep_pos = strrchr (line_buf, ':');
char *sep_pos = strrchr (line_buf, '*');
if (sep_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
@ -163,7 +163,7 @@ int module_hash_encode_potfile (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
tmp_buf[tmp_len] = 0;
const int line_len = snprintf (line_buf, line_size, "%08x%08x%08x%08x%08x%08x%08x%08x:%s",
const int line_len = snprintf (line_buf, line_size, "%08x%08x%08x%08x%08x%08x%08x%08x*%s",
wpa_pbkdf2_tmp->out[0],
wpa_pbkdf2_tmp->out[1],
wpa_pbkdf2_tmp->out[2],

@ -129,7 +129,7 @@ int module_hash_decode_potfile (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
// essid
char *sep_pos = strrchr (line_buf, ':');
char *sep_pos = strrchr (line_buf, '*');
if (sep_pos == NULL) return (PARSER_SEPARATOR_UNMATCHED);
@ -160,7 +160,7 @@ int module_hash_encode_potfile (MAYBE_UNUSED const hashconfig_t *hashconfig, MAY
tmp_buf[tmp_len] = 0;
const int line_len = snprintf (line_buf, line_size, "%08x%08x%08x%08x%08x%08x%08x%08x:%s",
const int line_len = snprintf (line_buf, line_size, "%08x%08x%08x%08x%08x%08x%08x%08x*%s",
wpa_pmk_tmp->out[0],
wpa_pmk_tmp->out[1],
wpa_pmk_tmp->out[2],

Loading…
Cancel
Save