|
|
|
@ -5112,7 +5112,9 @@ int ikepsk_md5_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE
|
|
|
|
|
|
|
|
|
|
size_t in_len[9] = { 0 };
|
|
|
|
|
|
|
|
|
|
char *saveptr = NULL;
|
|
|
|
|
char *saveptr;
|
|
|
|
|
|
|
|
|
|
if (input_buf == NULL) return (PARSER_HASH_VALUE);
|
|
|
|
|
|
|
|
|
|
in_off[0] = (u8 *) strtok_r ((char *) input_buf, ":", &saveptr);
|
|
|
|
|
|
|
|
|
@ -5198,7 +5200,9 @@ int ikepsk_sha1_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYB
|
|
|
|
|
|
|
|
|
|
size_t in_len[9] = { 0 };
|
|
|
|
|
|
|
|
|
|
char *saveptr = NULL;
|
|
|
|
|
char *saveptr;
|
|
|
|
|
|
|
|
|
|
if (input_buf == NULL) return (PARSER_HASH_VALUE);
|
|
|
|
|
|
|
|
|
|
in_off[0] = (u8 *) strtok_r ((char *) input_buf, ":", &saveptr);
|
|
|
|
|
|
|
|
|
@ -22507,10 +22511,17 @@ int hashconfig_general_defaults (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
|
|
|
|
|
char *keyfiles = hcstrdup (tcvc_keyfiles);
|
|
|
|
|
|
|
|
|
|
char *saveptr = NULL;
|
|
|
|
|
char *saveptr;
|
|
|
|
|
|
|
|
|
|
char *keyfile = strtok_r (keyfiles, ",", &saveptr);
|
|
|
|
|
|
|
|
|
|
if (keyfile == NULL)
|
|
|
|
|
{
|
|
|
|
|
free (keyfiles);
|
|
|
|
|
|
|
|
|
|
return -1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
do
|
|
|
|
|
{
|
|
|
|
|
const int rc_crc32 = cpu_crc32 (hashcat_ctx, keyfile, (u8 *) keyfile_buf);
|
|
|
|
|