1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-23 16:09:02 +00:00

Whitespace in http-headers.

This commit is contained in:
david
2013-01-25 17:43:29 +00:00
parent 60600a5a77
commit 9827b75f82

View File

@@ -31,12 +31,11 @@ license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
categories = {"discovery", "safe"}
portrule = shortport.http
action = function(host, port)
local path = stdnse.get_script_args(SCRIPT_NAME..".path") or "/"
local useget = stdnse.get_script_args(SCRIPT_NAME..".useget")
local useget = stdnse.get_script_args(SCRIPT_NAME..".useget")
local request_type = "HEAD"
local status = false
local result
@@ -74,4 +73,3 @@ action = function(host, port)
return stdnse.format_output(true, result.rawheader)
end