Sanity: Added sanity check to disallow --loopback in combination with --runtime

pull/970/head
jsteube 7 years ago
parent 038b915e2d
commit 0fe6db6839

@ -62,6 +62,7 @@
- Potfile: In v3.10 already, the default potfile suffix changed but the note about was missing. The "hashcat.pot" became "hashcat.potfile"
- Potfile: Added old potfile detection, show warning message
- Sanity: Added sanity check to disallow --speed-only in combination with -i
- Sanity: Added sanity check to disallow --loopback in combination with --runtime
- Threads: Replaced all calls to ctime() with ctime_r() to ensure thread safety
- Threads: Replaced all calls to strerror() with %m printf() GNU extension to ensure thread safety

@ -393,6 +393,13 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx)
return -1;
}
if (user_options->runtime_chgd == true && user_options->loopback == true)
{
event_log_error (hashcat_ctx, "Runtime-Limit is not allowed in combination with --loopback");
return -1;
}
if (user_options->hash_mode > 99999)
{
event_log_error (hashcat_ctx, "Invalid hash-type specified");

Loading…
Cancel
Save