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:
@@ -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/",
|
||||
|
||||
Reference in New Issue
Block a user