1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 10:59:02 +00:00

merge soc07 r4727 - Added --top-ports/--port-ratio and wildcard/[] -p switch extensions.

This commit is contained in:
fyodor
2007-08-11 02:58:03 +00:00
parent 510eba5dd2
commit e51abafe02
9 changed files with 528 additions and 258 deletions

View File

@@ -172,6 +172,7 @@ class NmapOps {
int verbose;
int randomize_hosts;
int spoofsource; /* -S used */
int fastscan;
char device[64];
int interactivemode;
int ping_group_sz;
@@ -191,6 +192,7 @@ class NmapOps {
int timing_level; // 0-5, corresponding to Paranoid, Sneaky, Polite, Normal, Aggressive, Insane
int max_parallelism; // 0 means it has not been set
int min_parallelism; // 0 means it has not been set
double topportlevel; // -1 means it has not been set
/* The maximum number of OS detection (gen2) tries we will make
without any matches before giving up on a host. We may well give