mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Stop using Shellshock in header name. Fixes #1983
This commit is contained in:
parent
a0b05c0f4f
commit
c3431b9025
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue