1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-28 10:29:03 +00:00

Remove some http headers that http.lua sets already.

This commit is contained in:
dmiller
2015-05-19 19:11:18 +00:00
parent ec120db54f
commit 9c04123ad5

View File

@@ -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