mirror of
https://github.com/nmap/nmap.git
synced 2025-12-15 12:19:02 +00:00
In my tests, doubling the timeout only increased the number of properly detected telnet servers from 669 to 679. That is only an increase of ~1.5%, so I'm dialing it back down to 7.5s
This commit is contained in:
@@ -67,7 +67,7 @@ action = function(host, port)
|
||||
local data = bin.pack("H", "FFFD26FFFB26")
|
||||
local result
|
||||
|
||||
socket:set_timeout(10000)
|
||||
socket:set_timeout(7500)
|
||||
status, result = socket:send(data)
|
||||
if ( not(status) ) then
|
||||
return ("\n ERROR: Failed to send packet: %s"):format(result)
|
||||
|
||||
Reference in New Issue
Block a user