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