From 9c04123ad5d3bc68417858cc6573620cf71e50f2 Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 19 May 2015 19:11:18 +0000 Subject: [PATCH] Remove some http headers that http.lua sets already. --- scripts/http-iis-webdav-vuln.nse | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/http-iis-webdav-vuln.nse b/scripts/http-iis-webdav-vuln.nse index 84108f765..3c9048adc 100644 --- a/scripts/http-iis-webdav-vuln.nse +++ b/scripts/http-iis-webdav-vuln.nse @@ -54,9 +54,7 @@ local function get_response(host, port, folder) local options = { header = { - Host = host.ip, Connection = "close", - ["User-Agent"] = "Mozilla/5.0 (compatible; Nmap Scripting Engine; http://nmap.org/book/nse.html)", ["Content-Type"] = "application/xml", }, content = webdav_req