diff --git a/src/modules/module_02500.c b/src/modules/module_02500.c index 8907f8677..753636dc1 100644 --- a/src/modules/module_02500.c +++ b/src/modules/module_02500.c @@ -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], diff --git a/src/modules/module_02501.c b/src/modules/module_02501.c index a7ce17b04..41aa86acd 100644 --- a/src/modules/module_02501.c +++ b/src/modules/module_02501.c @@ -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], diff --git a/src/modules/module_16800.c b/src/modules/module_16800.c index d77ddd8ed..b236b0cea 100644 --- a/src/modules/module_16800.c +++ b/src/modules/module_16800.c @@ -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], diff --git a/src/modules/module_16801.c b/src/modules/module_16801.c index f34c449d0..2e8ef9987 100644 --- a/src/modules/module_16801.c +++ b/src/modules/module_16801.c @@ -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],