1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Stop using Shellshock in header name. Fixes #1983

This commit is contained in:
nnposter
2020-08-30 22:50:11 +00:00
parent a0b05c0f4f
commit c3431b9025

View File

@@ -98,7 +98,6 @@ function generate_http_req(host, port, uri, custom_header, cmd)
options["header"]["User-Agent"] = cmd
options["header"]["Referer"] = cmd
options["header"]["Cookie"] = cmd
options["header"][cmd] = cmd
else
stdnse.debug1("Sending '%s' in HTTP header '%s'", cmd, custom_header)
options["header"][custom_header] = cmd