-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Detect Popup Blocker
Jack Walker edited this page Dec 30, 2019
·
2 revisions
- Objective: Detect if popup blocker is enabled.
- Date:
- Author: wade
- Browser: All (user notify)
- Code
Uses the beef.browser.popup.blocker_enbabled function (here):
blocker_enbabled: function () {
screenParams = beef.browser.getScreenSize();
var popUp = window.open('/', 'windowName0', 'width=1, height=1, left='+screenParams.width+', top='+screenParams.height+', scrollbars, resizable');
if (popUp == null || typeof(popUp)=='undefined') {
return true;
} else {
popUp.close();
return false;
}
}
- IE6 seems to block popup
- Firefox 15 seems to allow popup (without extension)
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK