1
0
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:
patrik
2012-02-01 16:27:24 +00:00
parent 7a4ffa429e
commit e0697de6f1

View File

@@ -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
}
)