<xssrays> prevent printing console.log messages if the hooked browser is IE

git-svn-id: https://beef.googlecode.com/svn/trunk@1250 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
antisnatchor
2011-09-02 09:26:46 +00:00
parent 5fb6334654
commit 10d8edb5fd

View File

@@ -98,9 +98,9 @@ beef.net.xssrays = {
return result;
},
// util function. Print string to the console only if the debug flag is on.
// util function. Print string to the console only if the debug flag is on and the browser is not IE.
printDebug:function(log) {
if (this.debug) {
if (this.debug && !beef.browser.isIE()) {
console.log("[XssRays] " + log);
}
},