mirror of
https://github.com/nmap/nmap.git
synced 2025-12-29 10:59:02 +00:00
fixed bug in helper instantiation that would prevent the script from running
This commit is contained in:
@@ -40,7 +40,7 @@ portrule = shortport.http
|
||||
function action(host, port)
|
||||
local EMAIL_PATTERN = "[A-Za-z0-9%.%%%+%-]+@[A-Za-z0-9%.%%%+%-]+%.%w%w%w?%w?"
|
||||
|
||||
local crawler = httpspider.Crawler:new(host, port, url or '/', {
|
||||
local crawler = httpspider.Crawler:new(host, port, nil, {
|
||||
scriptname = SCRIPT_NAME
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user