mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 18:39:03 +00:00
Be clear about which max-scan-delay options are set with -T4 and -T5
This commit is contained in:
2
nmap.cc
2
nmap.cc
@@ -1335,6 +1335,7 @@ void parse_options(int argc, char **argv) {
|
||||
o.setInitialRttTimeout(500);
|
||||
o.setMaxTCPScanDelay(10);
|
||||
o.setMaxSCTPScanDelay(10);
|
||||
// No call to setMaxUDPScanDelay because of rate-limiting and unreliability
|
||||
o.setMaxRetransmissions(6);
|
||||
} else if (*optarg == '5' || (strcasecmp(optarg, "Insane") == 0)) {
|
||||
o.timing_level = 5;
|
||||
@@ -1344,6 +1345,7 @@ void parse_options(int argc, char **argv) {
|
||||
o.host_timeout = 900000;
|
||||
o.setMaxTCPScanDelay(5);
|
||||
o.setMaxSCTPScanDelay(5);
|
||||
// No call to setMaxUDPScanDelay because of rate-limiting and unreliability
|
||||
o.setMaxRetransmissions(2);
|
||||
#ifndef NOLUA
|
||||
o.scripttimeout = 600; // 10 minutes
|
||||
|
||||
Reference in New Issue
Block a user