1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-29 10:59:02 +00:00

Respect version intensity in http-trane-info

This commit is contained in:
dmiller
2017-11-04 03:37:31 +00:00
parent 09886c7246
commit d52df89026

View File

@@ -67,7 +67,9 @@ author = "Pedro Joaquin <pjoaquin()websec.mx>"
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"
categories = {"discovery", "version", "safe"}
portrule = shortport.http
portrule = function(host, port)
return (shortport.http(host,port) and nmap.version_intensity() >= 7)
end
local function GetInformation(host, port)
local output = stdnse.output_table()