mirror of
https://github.com/nmap/nmap.git
synced 2025-12-18 13:39:02 +00:00
Prevent tftp-enum from incorrectly setting the port as closed when an error occurred (e.g. timeout when port is filtered).
This commit is contained in:
@@ -200,7 +200,6 @@ action = function(host, port)
|
|||||||
|
|
||||||
if (not (check_open_tftp(host, port))) then
|
if (not (check_open_tftp(host, port))) then
|
||||||
stdnse.print_debug(1, "tftp seems not active")
|
stdnse.print_debug(1, "tftp seems not active")
|
||||||
nmap.set_port_state(host, port, "closed")
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user