This commit is contained in:
Stephen
2023-12-31 14:46:15 +10:00
parent 747ddb5387
commit 482143067b
15 changed files with 15 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
# #
# Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net # Copyright (c) 2006-2024 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com # Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission # See the file 'doc/COPYING' for copying permission
# #
require 'yaml' require 'yaml'

View File

@@ -15,7 +15,7 @@ WelcomeTab = function() {
welcome = " \ welcome = " \
<div style='font:11px tahoma,arial,helvetica,sans-serif;width:500px' > \ <div style='font:11px tahoma,arial,helvetica,sans-serif;width:500px' > \
<p><img src='<%= @base_path %>/media/images/beef.jpg' alt='BeEF - The Browser Exploitation Framework' /></p><br /> \ <p><img src='<%= @base_path %>/media/images/beef.jpg' alt='BeEF - The Browser Exploitation Framework' /></p><br /> \
<p>Official website: <a href='https://beefproject.com/'>http://beefproject.com/</a></p><br />\ <p>Official website: <a href='https://beefproject.com/'>https://beefproject.com/</a></p><br />\
<p><span style='font:bold 13px tahoma,arial,helvetica,sans-serif'>Getting Started</span></p><br />\ <p><span style='font:bold 13px tahoma,arial,helvetica,sans-serif'>Getting Started</span></p><br />\
<p>Welcome to BeEF!</p><br /> \ <p>Welcome to BeEF!</p><br /> \
<p>Before being able to fully explore the framework you will have to 'hook' a browser. To begin with you can point a browser towards the basic demo page <a href='/demos/basic.html' target='_blank'>here</a>, or the advanced version <a href='/demos/butcher/index.html' target='_blank'>here</a>.</p><br /> \ <p>Before being able to fully explore the framework you will have to 'hook' a browser. To begin with you can point a browser towards the basic demo page <a href='/demos/basic.html' target='_blank'>here</a>, or the advanced version <a href='/demos/butcher/index.html' target='_blank'>here</a>.</p><br /> \

View File

@@ -11,7 +11,7 @@
<h1>Secret page</h1> <h1>Secret page</h1>
<p> <p>
This page is not hooked by <a href="http://beefproject.com/">BeEF</a>. This page is not hooked by <a href="https://beefproject.com/">BeEF</a>.
However you should still be capable of accessing it using: However you should still be capable of accessing it using:
</p> </p>
<ul> <ul>

View File

@@ -9,6 +9,6 @@ beef:
name: 'QR Code Generator' name: 'QR Code Generator'
enable: false enable: false
authors: ["xntrik", "bcoles"] authors: ["xntrik", "bcoles"]
targets: ["/demos/basic.html", "http://beefproject.com/"] targets: ["/demos/basic.html", "https://beefproject.com/"]
qrsize: 3 qrsize: 3
qrborder: 1 qrborder: 1

View File

@@ -10,7 +10,7 @@ class Get_visited_urls < BeEF::Core::Command
'name' => 'urls', 'name' => 'urls',
'description' => 'Enter target URL(s)', 'description' => 'Enter target URL(s)',
'type' => 'textarea', 'type' => 'textarea',
'value' => 'http://beefproject.com/', 'value' => 'https://beefproject.com/',
'width' => '200px' } 'width' => '200px' }
] ]
end end

View File

@@ -6,7 +6,7 @@
class Link_rewrite < BeEF::Core::Command class Link_rewrite < BeEF::Core::Command
def self.options def self.options
[ [
{ 'ui_label' => 'URL', 'name' => 'url', 'description' => 'Target URL', 'value' => 'http://beefproject.com/', 'width' => '200px' } { 'ui_label' => 'URL', 'name' => 'url', 'description' => 'Target URL', 'value' => 'https://beefproject.com/', 'width' => '200px' }
] ]
end end

View File

@@ -6,7 +6,7 @@
class Link_rewrite_click_events < BeEF::Core::Command class Link_rewrite_click_events < BeEF::Core::Command
def self.options def self.options
[ [
{ 'ui_label' => 'URL', 'name' => 'url', 'description' => 'Target URL', 'value' => 'http://beefproject.com/', 'width' => '200px' } { 'ui_label' => 'URL', 'name' => 'url', 'description' => 'Target URL', 'value' => 'https://beefproject.com/', 'width' => '200px' }
] ]
end end

View File

@@ -6,7 +6,7 @@
class Site_redirect < BeEF::Core::Command class Site_redirect < BeEF::Core::Command
def self.options def self.options
[ [
{ 'ui_label' => 'Redirect URL', 'name' => 'redirect_url', 'description' => 'The URL the target will be redirected to.', 'value' => 'http://beefproject.com/', { 'ui_label' => 'Redirect URL', 'name' => 'redirect_url', 'description' => 'The URL the target will be redirected to.', 'value' => 'https://beefproject.com/',
'width' => '200px' } 'width' => '200px' }
] ]
end end

View File

@@ -17,7 +17,7 @@ class Site_redirect_iframe < BeEF::Core::Command
'width' => '200px' }, 'width' => '200px' },
{ 'name' => 'iframe_favicon', 'description' => 'Shortcut Icon', 'ui_label' => 'New Favicon', 'value' => favicon_uri, 'width' => '200px' }, { 'name' => 'iframe_favicon', 'description' => 'Shortcut Icon', 'ui_label' => 'New Favicon', 'value' => favicon_uri, 'width' => '200px' },
{ 'name' => 'iframe_src', 'description' => 'Source of the iFrame', 'ui_label' => 'Redirect URL', 'value' => 'http://beefproject.com/', 'width' => '200px' }, { 'name' => 'iframe_src', 'description' => 'Source of the iFrame', 'ui_label' => 'Redirect URL', 'value' => 'https://beefproject.com/', 'width' => '200px' },
{ 'name' => 'iframe_timeout', 'description' => 'iFrame timeout', 'ui_label' => 'Timeout', 'value' => '3500', 'width' => '150px' } { 'name' => 'iframe_timeout', 'description' => 'iFrame timeout', 'ui_label' => 'Timeout', 'value' => '3500', 'width' => '150px' }
] ]
end end

View File

@@ -14,7 +14,7 @@ class Test_cors_request < BeEF::Core::Command
[ [
{ 'name' => 'method', 'ui_label' => 'Method', 'type' => 'text', 'width' => '400px', 'value' => 'GET' }, { 'name' => 'method', 'ui_label' => 'Method', 'type' => 'text', 'width' => '400px', 'value' => 'GET' },
{ 'name' => 'url', 'ui_label' => 'URL', 'type' => 'text', 'width' => '400px', { 'name' => 'url', 'ui_label' => 'URL', 'type' => 'text', 'width' => '400px',
'value' => 'http://graph.facebook.com/fql?q=SELECT%20url,total_count%20FROM%20link_stat%20WHERE%20url=%27http://beefproject.com/%27' }, 'value' => 'http://graph.facebook.com/fql?q=SELECT%20url,total_count%20FROM%20link_stat%20WHERE%20url=%27https://beefproject.com/%27' },
{ 'name' => 'data', 'ui_label' => 'Data', 'type' => 'text', 'width' => '400px', 'value' => 'postdata' } { 'name' => 'data', 'ui_label' => 'Data', 'type' => 'text', 'width' => '400px', 'value' => 'postdata' }
] ]
end end

View File

@@ -5,7 +5,7 @@
# #
class Test_http_redirect < BeEF::Core::Command class Test_http_redirect < BeEF::Core::Command
def pre_send def pre_send
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind_redirect('http://beefproject.com', '/redirect') BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind_redirect('https://beefproject.com', '/redirect')
end end
def post_execute def post_execute

View File

@@ -6,7 +6,7 @@
class Invisible_iframe < BeEF::Core::Command class Invisible_iframe < BeEF::Core::Command
def self.options def self.options
[ [
{ 'name' => 'target', 'ui_label' => 'URL', 'value' => 'http://beefproject.com/' } { 'name' => 'target', 'ui_label' => 'URL', 'value' => 'https://beefproject.com/' }
] ]
end end

View File

@@ -1,7 +1,7 @@
<?php <?php
/** /**
* Plugin Name: beefbind * Plugin Name: beefbind
* Plugin URI: http://beefproject.com * Plugin URI: https://beefproject.com
* Description: BeEF bind shell with CORS. * Description: BeEF bind shell with CORS.
* Version: 1.1 * Version: 1.1
* Authors: Bart Leppens, Erwan LR (@erwan_lr | WPScanTeam) * Authors: Bart Leppens, Erwan LR (@erwan_lr | WPScanTeam)

View File

@@ -44,7 +44,7 @@ class TC_SocialEngineeringRest < Test::Unit::TestCase
# Tests DNS spoofing of cloned webpages # Tests DNS spoofing of cloned webpages
def test_1_dns_spoof def test_1_dns_spoof
url = 'http://beefproject.com' url = 'https://beefproject.com'
mount = '/beefproject' mount = '/beefproject'
dns_spoof = true dns_spoof = true

View File

@@ -128,7 +128,7 @@ def get_options_from_url(url, method, postdata, mname)
input_name = nil input_name = nil
input_value = nil input_value = nil
# parse POST params as module options # parse POST params as module options
CGI::parse(URI.parse("http://beefproject.com/?#{postdata}").query).each do |k, v| CGI::parse(URI.parse("https://beefproject.com/?#{postdata}").query).each do |k, v|
if k == 'submit' if k == 'submit'
print_error "Invalid POST parameter 'submit' - see: https://github.com/beefproject/beef/issues/1117" print_error "Invalid POST parameter 'submit' - see: https://github.com/beefproject/beef/issues/1117"
exit 1 exit 1