Fixes issue 621: Added 2 new command line options. Now it's psosible to specify a different config.yaml file. Also changed the core load order, adding a new bootstrap module.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
BEEF_TEST_DIR = "/tmp/beef-test/"
|
||||
|
||||
ATTACK_DOMAIN = "attacker.beefproject.com"
|
||||
VICTIM_DOMAIN = "victim.beefproject.com"
|
||||
ATTACK_DOMAIN = "127.0.0.1"
|
||||
VICTIM_DOMAIN = "127.0.0.1"
|
||||
ATTACK_URL = "http://" + ATTACK_DOMAIN + ":3000/ui/panel"
|
||||
VICTIM_URL = "http://" + VICTIM_DOMAIN + ":3000/demos/basic.html"
|
||||
|
||||
1
test/thirdparty/msf/unit/tc_metasploit.rb
vendored
1
test/thirdparty/msf/unit/tc_metasploit.rb
vendored
@@ -41,6 +41,7 @@ class TC_Metasploit < Test::Unit::TestCase
|
||||
# Load the config for testing
|
||||
#
|
||||
def load_config
|
||||
BeEF::Core::Configuration.new("#{$root_dir}/config.yaml")
|
||||
BeEF::Core::Configuration.instance.load_extensions_config
|
||||
@config = BeEF::Core::Configuration.instance.get('beef.extension.metasploit')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user