mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 22:58:30 +00:00
add sanity check to disallow --show and --outfile-autohex-disable
This commit is contained in:
parent
d7f078cb45
commit
ed8315ba21
@ -24,6 +24,7 @@
|
||||
- Add support for @ rule (RULE_OP_MANGLE_PURGECHAR) to use on GPU
|
||||
- Add support for --outfile (short -o) to be used together with --stdout
|
||||
- Skip periodic status output whenever --stdout is used together with stdin mode, but no outfile was specified
|
||||
- Show error message if --show is used together with --outfile-autohex-disable (this is currently not supported)
|
||||
|
||||
##
|
||||
## Bugs
|
||||
|
@ -7226,6 +7226,16 @@ int main (int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
if (show == 1)
|
||||
{
|
||||
if (outfile_autohex == 0)
|
||||
{
|
||||
log_error ("ERROR: Mixing outfile-autohex-disable parameter not allowed with show parameter");
|
||||
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
uint attack_kern = ATTACK_KERN_NONE;
|
||||
|
||||
switch (attack_mode)
|
||||
|
Loading…
Reference in New Issue
Block a user