1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Make version scripts (with non shortport portrules) obey nmap.version_intensity() >= 7

This commit is contained in:
jay
2014-07-30 07:12:50 +00:00
parent 61d13e12d2
commit d93a78f502
7 changed files with 10 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ portrule = function(host, port)
if type(port.version) == "table" and (port.version.name_confidence > 3 or port.version.product ~= nil) then
return false
end
return shortport.http(host,port)
return (shortport.http(host,port) and nmap.version_intensity() >= 7)
end
action = function(host, port)