diff --git a/docs/scripting.xml b/docs/scripting.xml index bacbf9d2f..59b8e56c2 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -1142,8 +1142,7 @@ try = nmap.new_try(function() socket:close() end) try(socket:connect(host.ip, port.number)) try(socket:send("login")) response = try(socket:receive()) -socket:close() - +socket:close() diff --git a/scripts/whois.nse b/scripts/whois.nse index 5f8f362c3..1036d35bb 100644 --- a/scripts/whois.nse +++ b/scripts/whois.nse @@ -74,7 +74,6 @@ the RIRs. -- \n -- \n nmap target --script whois --script-args whodb=nocache -- \n nmap target --script whois --script-args whois={whodb=nocache} --- \n\n -- -- --