mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Check if Nmap's user agent is redirected in http-useragent-tester
This commit is contained in:
parent
79f25ae304
commit
3a2c434998
1 changed files with 3 additions and 1 deletions
|
|
@ -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/",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue