mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-24 00:51:05 +00:00
Add FOREGROUND_INTENSITY to windows error message color
This commit is contained in:
parent
cad3b3e10b
commit
8d899db110
@ -79,9 +79,12 @@ static void main_log (hashcat_ctx_t *hashcat_ctx, FILE *fp, const int loglevel)
|
|||||||
|
|
||||||
switch (loglevel)
|
switch (loglevel)
|
||||||
{
|
{
|
||||||
case LOGLEVEL_INFO: break;
|
case LOGLEVEL_INFO:
|
||||||
case LOGLEVEL_WARNING: SetConsoleTextAttribute (hConsole, 6); break;
|
break;
|
||||||
case LOGLEVEL_ERROR: SetConsoleTextAttribute (hConsole, FOREGROUND_RED); break;
|
case LOGLEVEL_WARNING: SetConsoleTextAttribute (hConsole, 6);
|
||||||
|
break;
|
||||||
|
case LOGLEVEL_ERROR: SetConsoleTextAttribute (hConsole, FOREGROUND_RED | FOREGROUND_INTENSITY);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user