Added long passwords support for 7-Zip

This commit is contained in:
jsteube
2017-07-07 16:48:18 +02:00
parent 27a57383f0
commit d3e6ae42f0
5 changed files with 323 additions and 729 deletions
+8 -12
View File
@@ -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