1
0
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:
david
2010-08-09 22:30:50 +00:00
parent fbe60bdcc9
commit a9b75892f5
13 changed files with 17 additions and 81 deletions

View File

@@ -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"