From e0697de6f19033ed9eda6abfc2ca6b2037b8fd85 Mon Sep 17 00:00:00 2001 From: patrik Date: Wed, 1 Feb 2012 16:27:24 +0000 Subject: [PATCH] fixed bug in helper instantiation that would prevent the script from running --- scripts/http-email-harvest.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/http-email-harvest.nse b/scripts/http-email-harvest.nse index 4d794656c..074349259 100644 --- a/scripts/http-email-harvest.nse +++ b/scripts/http-email-harvest.nse @@ -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 } )