From c3431b9025b9d504de243cf516cb0c1985415974 Mon Sep 17 00:00:00 2001 From: nnposter Date: Sun, 30 Aug 2020 22:50:11 +0000 Subject: [PATCH] Stop using Shellshock in header name. Fixes #1983 --- scripts/http-shellshock.nse | 1 - 1 file changed, 1 deletion(-) 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