diff --git a/scripts/http-auth-finder.nse b/scripts/http-auth-finder.nse index 75a043c92..a86adddec 100644 --- a/scripts/http-auth-finder.nse +++ b/scripts/http-auth-finder.nse @@ -56,7 +56,7 @@ end action = function(host, port) -- create a new crawler instance - local crawler = httpspider.Crawler:new( host, port, nil, { scriptname = SCRIPT_NAME } ) + local crawler = httpspider.Crawler:new( host, port, nil, { scriptname = SCRIPT_NAME } ) -- create a table entry in the registry nmap.registry.auth_urls = nmap.registry.auth_urls or {} diff --git a/scripts/url-snarf.nse b/scripts/url-snarf.nse index ac5991d5e..cd5b314ff 100644 --- a/scripts/url-snarf.nse +++ b/scripts/url-snarf.nse @@ -9,7 +9,7 @@ ctrl+break is issued, by setting the timeout to 0. --- -- @usage --- nmap --script url-snarf +-- nmap --script url-snarf -e -- -- @output -- | url-snarf: @@ -23,13 +23,12 @@ ctrl+break is issued, by setting the timeout to 0. author = "Patrik Karlsson" license = "Same as Nmap--See http://nmap.org/book/man-legal.html" -categories = {"broadcast", "safe"} +categories = {"safe"} require 'packet' require 'url' -local arg_iface = nmap.get_interface() or - stdnse.get_script_args(SCRIPT_NAME .. ".interface") +local arg_iface = nmap.get_interface() or stdnse.get_script_args(SCRIPT_NAME .. ".interface") prerule = function() local has_interface = ( arg_iface ~= nil )