mirror of
https://github.com/nmap/nmap.git
synced 2026-10-20 19:01:56 +00:00
Respect version intensity in http-trane-info
This commit is contained in:
parent
09886c7246
commit
d52df89026
1 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue