Added long passwords support for 7-Zip
This commit is contained in:
+8
-12
@@ -24604,21 +24604,19 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
||||
{
|
||||
case 125: hashconfig->pw_max = 32;
|
||||
break;
|
||||
case 500: hashconfig->pw_max = 15;
|
||||
case 500: hashconfig->pw_max = 15; // pure kernel available
|
||||
break;
|
||||
case 1600: hashconfig->pw_max = 15;
|
||||
case 1600: hashconfig->pw_max = 15; // pure kernel available
|
||||
break;
|
||||
case 1800: hashconfig->pw_max = 16;
|
||||
case 1800: hashconfig->pw_max = 16; // pure kernel available
|
||||
break;
|
||||
case 5200: hashconfig->pw_max = 24;
|
||||
case 5800: hashconfig->pw_max = 16; // pure kernel available
|
||||
break;
|
||||
case 5800: hashconfig->pw_max = 16;
|
||||
break;
|
||||
case 6300: hashconfig->pw_max = 15;
|
||||
case 6300: hashconfig->pw_max = 15; // pure kernel available
|
||||
break;
|
||||
case 7000: hashconfig->pw_max = 19;
|
||||
break;
|
||||
case 7400: hashconfig->pw_max = 15;
|
||||
case 7400: hashconfig->pw_max = 15; // pure kernel available
|
||||
break;
|
||||
case 7700: hashconfig->pw_max = 8;
|
||||
break;
|
||||
@@ -24626,10 +24624,6 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
||||
break;
|
||||
case 10700: hashconfig->pw_max = 16;
|
||||
break;
|
||||
case 11300: hashconfig->pw_max = 40;
|
||||
break;
|
||||
case 11600: hashconfig->pw_max = 32;
|
||||
break;
|
||||
case 12500: hashconfig->pw_max = 20;
|
||||
break;
|
||||
case 12800: hashconfig->pw_max = 24;
|
||||
@@ -24661,6 +24655,8 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx)
|
||||
break;
|
||||
case 11300: hashconfig->pw_max = PW_MAX;
|
||||
break;
|
||||
case 11600: hashconfig->pw_max = PW_MAX;
|
||||
break;
|
||||
}
|
||||
|
||||
// pw_max : algo specific hard max length
|
||||
|
||||
Reference in New Issue
Block a user