mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-12 16:51:00 +00:00
Fix Cisco-PIX and Cisco-ASA pw_max as they limit themself to 16
This commit is contained in:
parent
e863a12624
commit
1cd0212f73
@ -24661,6 +24661,8 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
|||||||
switch (hashconfig->hash_mode)
|
switch (hashconfig->hash_mode)
|
||||||
{
|
{
|
||||||
case 1500: hashconfig->pw_max = 8; break; // DES max
|
case 1500: hashconfig->pw_max = 8; break; // DES max
|
||||||
|
case 2400: hashconfig->pw_max = 16; break; // Cisco-PIX MD5 sets w[4] = 0x80
|
||||||
|
case 2410: hashconfig->pw_max = 16; break; // Cisco-ASA MD5 sets w[4] = 0x80
|
||||||
case 2500: hashconfig->pw_max = 63; break; // WPA/WPA2 limits itself to 63
|
case 2500: hashconfig->pw_max = 63; break; // WPA/WPA2 limits itself to 63
|
||||||
case 2501: hashconfig->pw_max = 64; break; // WPA/WPA2 PMK max
|
case 2501: hashconfig->pw_max = 64; break; // WPA/WPA2 PMK max
|
||||||
case 3000: hashconfig->pw_max = 7; break; // LM max
|
case 3000: hashconfig->pw_max = 7; break; // LM max
|
||||||
|
Loading…
Reference in New Issue
Block a user