mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 09:49:05 +00:00
Use shortport.http where appropriate.
This commit is contained in:
@@ -85,7 +85,7 @@ local validate = function(response, original)
|
||||
return
|
||||
end
|
||||
|
||||
portrule = shortport.port_or_service({80, 8080, 443}, {"http", "https"})
|
||||
portrule = shortport.http
|
||||
|
||||
action = function(host, port)
|
||||
local cmd = "TRACE / HTTP/1.0\r\n\r\n"
|
||||
|
||||
Reference in New Issue
Block a user