From 05979af3a2b6a75ff44024ad6d8dd093e4938ed4 Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Fri, 14 Mar 2014 13:22:16 +0000 Subject: [PATCH] Treating IE9 and 10 as the same for the ui_abuse_ie attack --- modules/social_engineering/ui_abuse_ie/command.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/social_engineering/ui_abuse_ie/command.js b/modules/social_engineering/ui_abuse_ie/command.js index b1fa78b2e..90300ff36 100644 --- a/modules/social_engineering/ui_abuse_ie/command.js +++ b/modules/social_engineering/ui_abuse_ie/command.js @@ -89,9 +89,7 @@ beef.execute(function() { // } // } - if(beef.browser.isIE9()){ - document.body.onclick = function(){spawnPopunder();}; - }else if(beef.browser.isIE10()){ + if(beef.browser.isIE9() || beef.browser.isIE10()){ document.body.onclick = function(){ spawnPopunder();