mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +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:
parent
ea33a885a3
commit
6827d787b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue