mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Use shortport.http where appropriate.
This commit is contained in:
parent
fbe60bdcc9
commit
a9b75892f5
13 changed files with 17 additions and 81 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue