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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user