1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-26 23:51:16 +00:00

Do not show any header in case --status-automat is used

This commit is contained in:
Jens Steube 2016-05-17 11:29:38 +02:00
parent 567fcfe176
commit c6e5ff2a68

View File

@ -5870,10 +5870,13 @@ int main (int argc, char **argv)
if (quiet == 0) if (quiet == 0)
{ {
if (benchmark == 1) if (benchmark == 1)
{
if (status_automat == 0)
{ {
log_info ("%s (%s) starting in benchmark-mode...", PROGNAME, VERSION_TAG); log_info ("%s (%s) starting in benchmark-mode...", PROGNAME, VERSION_TAG);
log_info (""); log_info ("");
} }
}
else if (restore == 1) else if (restore == 1)
{ {
log_info ("%s (%s) starting in restore-mode...", PROGNAME, VERSION_TAG); log_info ("%s (%s) starting in restore-mode...", PROGNAME, VERSION_TAG);
@ -13074,6 +13077,8 @@ int main (int argc, char **argv)
// display results // display results
if ((benchmark == 1 || quiet == 0) && (algorithm_pos == 0)) if ((benchmark == 1 || quiet == 0) && (algorithm_pos == 0))
{
if (status_automat == 0)
{ {
if (device_param->skipped == 0) if (device_param->skipped == 0)
{ {
@ -13092,6 +13097,7 @@ int main (int argc, char **argv)
device_name); device_name);
} }
} }
}
// common driver check // common driver check
@ -13267,9 +13273,12 @@ int main (int argc, char **argv)
data.devices_active = devices_active; data.devices_active = devices_active;
if ((benchmark == 1 || quiet == 0) && (algorithm_pos == 0)) if ((benchmark == 1 || quiet == 0) && (algorithm_pos == 0))
{
if (status_automat == 0)
{ {
log_info (""); log_info ("");
} }
}
/** /**
* HM devices: init * HM devices: init
@ -15026,7 +15035,9 @@ int main (int argc, char **argv)
* In benchmark-mode, inform user which algorithm is checked * In benchmark-mode, inform user which algorithm is checked
*/ */
if (benchmark == 1 && status_automat == 0) if (benchmark == 1)
{
if (status_automat == 0)
{ {
quiet = 0; quiet = 0;
@ -15037,6 +15048,7 @@ int main (int argc, char **argv)
log_info ("Hashtype: %s", hash_type); log_info ("Hashtype: %s", hash_type);
log_info (""); log_info ("");
} }
}
/** /**
* keep track of the progress * keep track of the progress