diff --git a/scripts/http-shellshock.nse b/scripts/http-shellshock.nse index 87c112fd7..fa70a1fc4 100644 --- a/scripts/http-shellshock.nse +++ b/scripts/http-shellshock.nse @@ -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