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

Fixed issue with url always being set to root, it now lets the httpspider library get it from the script arguments

This commit is contained in:
martin
2012-08-09 06:20:16 +00:00
parent cd0b08f8b3
commit 7dbabbac65

View File

@@ -123,7 +123,7 @@ end
action = function(host, port)
local crawler = httpspider.Crawler:new(host, port, '/', { scriptname = SCRIPT_NAME } )
local crawler = httpspider.Crawler:new(host, port, nil, { scriptname = SCRIPT_NAME } )
crawler:set_timeout(10000)
local results = {}