mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-15 12:29:35 +00:00
Merge pull request #462 from philsmd/master
add sanity check to disallow --show and --outfile-autohex-disable
This commit is contained in:
commit
40f3efb1f2
@ -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