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