mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-16 04:49:24 +00:00
Merge branch 'master' of https://github.com/hashcat/hashcat
This commit is contained in:
commit
ad48ef2a8c
@ -268,7 +268,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
|
|
||||||
char ptr_plain[128];
|
char ptr_plain[128];
|
||||||
|
|
||||||
if (hashconfig->kern_type == KERN_TYPE_JWT_HS256)
|
if (jwt->signature_len == 43)
|
||||||
{
|
{
|
||||||
u32 tmp[8];
|
u32 tmp[8];
|
||||||
|
|
||||||
@ -287,7 +287,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
|
|
||||||
ptr_plain[43] = 0;
|
ptr_plain[43] = 0;
|
||||||
}
|
}
|
||||||
else if (hashconfig->kern_type == KERN_TYPE_JWT_HS384)
|
else if (jwt->signature_len == 64)
|
||||||
{
|
{
|
||||||
u64 tmp[6];
|
u64 tmp[6];
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ int module_hash_encode (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSE
|
|||||||
|
|
||||||
ptr_plain[64] = 0;
|
ptr_plain[64] = 0;
|
||||||
}
|
}
|
||||||
else if (hashconfig->kern_type == KERN_TYPE_JWT_HS512)
|
else if (jwt->signature_len == 86)
|
||||||
{
|
{
|
||||||
u64 tmp[8];
|
u64 tmp[8];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user