1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

Use shortport.http where appropriate.

This commit is contained in:
david
2010-08-09 22:30:50 +00:00
parent fbe60bdcc9
commit a9b75892f5
13 changed files with 17 additions and 81 deletions

View File

@@ -25,7 +25,7 @@ categories = {"discovery", "safe"}
require "http"
require "shortport"
portrule = shortport.port_or_service({80, 443, 8080, 8443}, {"http", "https", "http-alt", "https-alt"})
portrule = shortport.http
-- These are the magic queries that return fingerprintable data.
local LOGO_QUERY = "/?=PHPE9568F36-D428-11d2-A769-00AA001ACF42"