From 494afc0f66d223602e362facd1e9bb4319ee9c47 Mon Sep 17 00:00:00 2001 From: radix Date: Sat, 30 Jul 2016 20:39:23 -0500 Subject: [PATCH] Added Custom.Chars for modes 6, and 7. --- src/hashcat.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/hashcat.c b/src/hashcat.c index 291cf576d..86ee6668e 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -1054,11 +1054,27 @@ void status_display () { if (data.dictfile != NULL) log_info ("Input.Left.....: File (%s)", data.dictfile); if (data.mask != NULL) log_info ("Input.Right....: Mask (%s) [%i]", data.mask, data.css_cnt); + if (data.custom_charset_1 || data.custom_charset_2 || data.custom_charset_3 || data.custom_charset_4) + { + char *custom_charset_1 = data.custom_charset_1; + char *custom_charset_2 = data.custom_charset_2; + char *custom_charset_3 = data.custom_charset_3; + char *custom_charset_4 = data.custom_charset_4; + log_info ("Custom.Chars...: -1 %s, -2 %s, -3 %s, -4 %s", custom_charset_1, custom_charset_2, custom_charset_3, custom_charset_4); + } } else if (data.attack_mode == ATTACK_MODE_HYBRID2) { if (data.mask != NULL) log_info ("Input.Left.....: Mask (%s) [%i]", data.mask, data.css_cnt); if (data.dictfile != NULL) log_info ("Input.Right....: File (%s)", data.dictfile); + if (data.custom_charset_1 || data.custom_charset_2 || data.custom_charset_3 || data.custom_charset_4) + { + char *custom_charset_1 = data.custom_charset_1; + char *custom_charset_2 = data.custom_charset_2; + char *custom_charset_3 = data.custom_charset_3; + char *custom_charset_4 = data.custom_charset_4; + log_info ("Custom.Chars...: -1 %s, -2 %s, -3 %s, -4 %s", custom_charset_1, custom_charset_2, custom_charset_3, custom_charset_4); + } } if (data.digests_cnt == 1)