mirror of
https://github.com/nmap/nmap.git
synced 2026-06-10 01:35:18 +00:00
Add filename checks to deprecated output file options
This commit is contained in:
parent
829fbef715
commit
0effedaf9e
1 changed files with 2 additions and 0 deletions
2
nmap.cc
2
nmap.cc
|
|
@ -1133,6 +1133,7 @@ void parse_options(int argc, char **argv) {
|
|||
error("Warning: Your max-parallelism (-M) option is extraordinarily high, which can hurt reliability");
|
||||
break;
|
||||
case 'm':
|
||||
test_file_name(optarg, "oG");
|
||||
delayed_options.machinefilename = logfilename(optarg, local_time);
|
||||
break;
|
||||
case 'n':
|
||||
|
|
@ -1147,6 +1148,7 @@ void parse_options(int argc, char **argv) {
|
|||
fatal("Unknown argument to -O.");
|
||||
break;
|
||||
case 'o':
|
||||
test_file_name(optarg, "oN");
|
||||
delayed_options.normalfilename = logfilename(optarg, local_time);
|
||||
break;
|
||||
case 'P':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue