From 1cd0212f73426f3b1906c062f2baaa922a188ab2 Mon Sep 17 00:00:00 2001 From: jsteube Date: Mon, 17 Jul 2017 08:50:09 +0200 Subject: [PATCH] Fix Cisco-PIX and Cisco-ASA pw_max as they limit themself to 16 --- src/interface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/interface.c b/src/interface.c index 33be61795..ab59ef978 100644 --- a/src/interface.c +++ b/src/interface.c @@ -24661,6 +24661,8 @@ int hashconfig_init (hashcat_ctx_t *hashcat_ctx) switch (hashconfig->hash_mode) { 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 2501: hashconfig->pw_max = 64; break; // WPA/WPA2 PMK max case 3000: hashconfig->pw_max = 7; break; // LM max