mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 00:49:01 +00:00
Merging branch /nmap-exp/shinnok/nmap-options-parsing into trunk.
Nmap delays parsing for options that require knowledge of other options that the user might have supplied in order to make informed decisions. This is achieved by using a temporary storage place in which options that can't be correctly parsed and interpreted without having full knowledge of all other user supplied command line arguments like -S and -6.
This commit is contained in:
@@ -179,6 +179,7 @@ class NmapOps {
|
||||
/* The requested auto stats printing interval, or 0.0 if unset. */
|
||||
float stats_interval;
|
||||
int randomize_hosts;
|
||||
int randomize_ports;
|
||||
int spoofsource; /* -S used */
|
||||
int fastscan;
|
||||
char device[64];
|
||||
@@ -286,6 +287,7 @@ class NmapOps {
|
||||
int connectscan;
|
||||
int finscan;
|
||||
int idlescan;
|
||||
char* idleProxy; /* The idle host used to "Proxy" an idle scan */
|
||||
int ipprotscan;
|
||||
int maimonscan;
|
||||
int nullscan;
|
||||
@@ -318,6 +320,11 @@ class NmapOps {
|
||||
bool traceroute;
|
||||
bool reason;
|
||||
bool adler32;
|
||||
FILE *excludefd;
|
||||
char *exclude_spec;
|
||||
int quashargv;
|
||||
FILE *inputfd;
|
||||
char *portlist; /* Ports list specified by user */
|
||||
|
||||
#ifndef NOLUA
|
||||
int script;
|
||||
|
||||
Reference in New Issue
Block a user