Add extra warning for --force

Warn users not to report issues when using --force in their command.
pull/2018/head
Chick3nman 5 years ago committed by GitHub
parent 5373440a5a
commit 717b82c406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,6 +73,13 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag)
event_log_info (hashcat_ctx, "%s (%s) starting...", PROGNAME, version_tag);
event_log_info (hashcat_ctx, NULL);
}
if (user_options->force == true)
{
event_log_warning (hashcat_ctx, "You have enabled --force to bypass dangerous warnings and errors!");
event_log_warning (hashcat_ctx, "This can hide serious problems and should only be done when debugging.");
event_log_warning (hashcat_ctx, "Do not report hashcat issues encountered when using --force.");
}
}
void goodbye_screen (hashcat_ctx_t *hashcat_ctx, const time_t proc_start, const time_t proc_stop)

Loading…
Cancel
Save