1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Set timeouts for Windows connect scan. Fixes #2113

This commit is contained in:
dmiller
2024-10-30 19:02:09 +00:00
parent f1559fbc22
commit 0e3a51c992
3 changed files with 65 additions and 4 deletions

View File

@@ -557,6 +557,9 @@ public:
bool ping_scan_arp; /* ONLY includes arp ping scan */
bool ping_scan_nd; /* ONLY includes ND ping scan */
bool noresp_open_scan; /* Whether no response means a port is open */
#ifdef WIN32
bool has_tcp_maxrtms; /* Whether TCP_MAXRTMS socket option is available */
#endif
/* massping state. */
/* If ping_scan is true (unless ping_scan_arp is also true), this is the set