mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-22 12:32:04 +00:00
Some format fix for -m 19700
This commit is contained in:
parent
851a129d79
commit
e5551c65ac
@ -138,13 +138,13 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
token.len_min[3] = 24;
|
token.len_min[3] = 24;
|
||||||
token.len_max[3] = 24;
|
token.len_max[3] = 24;
|
||||||
token.attr[3] = TOKEN_ATTR_VERIFY_LENGTH
|
token.attr[3] = TOKEN_ATTR_VERIFY_LENGTH
|
||||||
| TOKEN_ATTR_VERIFY_HEX;
|
| TOKEN_ATTR_VERIFY_HEX;
|
||||||
|
|
||||||
token.sep[4] = '$';
|
token.sep[4] = '$';
|
||||||
token.len_min[4] = 64;
|
token.len_min[4] = 64;
|
||||||
token.len_max[4] = 40960;
|
token.len_max[4] = 40960;
|
||||||
token.attr[4] = TOKEN_ATTR_VERIFY_LENGTH
|
token.attr[4] = TOKEN_ATTR_VERIFY_LENGTH
|
||||||
| TOKEN_ATTR_VERIFY_HEX;
|
| TOKEN_ATTR_VERIFY_HEX;
|
||||||
}
|
}
|
||||||
// assume $krb5tgs$18$user$realm$*spn*$checksum$edata2
|
// assume $krb5tgs$18$user$realm$*spn*$checksum$edata2
|
||||||
else
|
else
|
||||||
@ -177,13 +177,13 @@ int module_hash_decode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
token.len_min[4] = 24;
|
token.len_min[4] = 24;
|
||||||
token.len_max[4] = 24;
|
token.len_max[4] = 24;
|
||||||
token.attr[4] = TOKEN_ATTR_VERIFY_LENGTH
|
token.attr[4] = TOKEN_ATTR_VERIFY_LENGTH
|
||||||
| TOKEN_ATTR_VERIFY_HEX;
|
| TOKEN_ATTR_VERIFY_HEX;
|
||||||
|
|
||||||
token.sep[5] = '$';
|
token.sep[5] = '$';
|
||||||
token.len_min[5] = 64;
|
token.len_min[5] = 64;
|
||||||
token.len_max[5] = 40960;
|
token.len_max[5] = 40960;
|
||||||
token.attr[5] = TOKEN_ATTR_VERIFY_LENGTH
|
token.attr[5] = TOKEN_ATTR_VERIFY_LENGTH
|
||||||
| TOKEN_ATTR_VERIFY_HEX;
|
| TOKEN_ATTR_VERIFY_HEX;
|
||||||
|
|
||||||
is_spn_provided = 1;
|
is_spn_provided = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user