mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-11 16:21:12 +00:00
Do not check hc_path_read() if hc_path_exist() failed for commandline hash argument
This commit is contained in:
parent
3648efdb02
commit
518983d3a0
@ -1320,6 +1320,8 @@ int user_options_check_files (hashcat_ctx_t *hashcat_ctx)
|
||||
// hashfile - can be NULL
|
||||
|
||||
if (user_options_extra->hc_hash != NULL)
|
||||
{
|
||||
if (hc_path_exist (user_options_extra->hc_hash) == true)
|
||||
{
|
||||
if (hc_path_read (user_options_extra->hc_hash) == false)
|
||||
{
|
||||
@ -1328,6 +1330,7 @@ int user_options_check_files (hashcat_ctx_t *hashcat_ctx)
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// arguments - checks must depend on attack_mode
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user