1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

Check if Nmap's user agent is redirected in http-useragent-tester

This commit is contained in:
dmiller
2015-05-28 23:08:31 +00:00
parent 79f25ae304
commit 3a2c434998

View File

@@ -91,7 +91,9 @@ action = function(host, port)
-- We don't crawl any site. We initialize a crawler to use its iswithinhost method.
local crawler = httpspider.Crawler:new(host, port, '/', { scriptname = SCRIPT_NAME } )
local HTTPlibs = {"libwww",
local HTTPlibs = {
http.USER_AGENT,
"libwww",
"lwp-trivial",
"libcurl-agent/1.0",
"PHP/",