1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 22:49:01 +00:00

Make sure to use version_intensity checks for version category scripts

This commit is contained in:
dmiller
2017-07-27 18:21:09 +00:00
parent 091eddf76f
commit 590618261c
7 changed files with 13 additions and 6 deletions

View File

@@ -43,6 +43,8 @@ categories = {"version"}
portrule = function (host, port)
-- Run for any port that has a service fingerprint indicating an unknown service
-- OK to run at any version intensity (e.g. not checking nmap.version_intensity)
-- because no traffic is sent and lower intensity is more likely to not match.
return port.version and port.version.service_fp
end