mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Use shortport.http where appropriate.
This commit is contained in:
@@ -21,8 +21,7 @@ require("http")
|
||||
require("shortport")
|
||||
require("stdnse")
|
||||
|
||||
portrule = shortport.port_or_service({80, 443, 631, 8080},
|
||||
{"http", "https", "ipp", "http-alt"})
|
||||
portrule = shortport.http
|
||||
|
||||
action = function(host, port)
|
||||
-- Get the local date in UTC.
|
||||
|
||||
Reference in New Issue
Block a user