From 8d899db110a298b9750b715b9689e14f90c56524 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 30 Nov 2016 11:45:24 +0100 Subject: [PATCH] Add FOREGROUND_INTENSITY to windows error message color --- src/main.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index f57dad4a8..afc2ce5af 100644 --- a/src/main.c +++ b/src/main.c @@ -79,9 +79,12 @@ static void main_log (hashcat_ctx_t *hashcat_ctx, FILE *fp, const int loglevel) switch (loglevel) { - case LOGLEVEL_INFO: break; - case LOGLEVEL_WARNING: SetConsoleTextAttribute (hConsole, 6); break; - case LOGLEVEL_ERROR: SetConsoleTextAttribute (hConsole, FOREGROUND_RED); break; + case LOGLEVEL_INFO: + break; + case LOGLEVEL_WARNING: SetConsoleTextAttribute (hConsole, 6); + break; + case LOGLEVEL_ERROR: SetConsoleTextAttribute (hConsole, FOREGROUND_RED | FOREGROUND_INTENSITY); + break; } #else