mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-29 18:07:27 +01:00
d4d710cc3a
MSP-11147 Merge to get framework instance cleanup, which should clean up a lot of thread leaks too. Conflicts: Rakefile lib/metasploit/framework/spec.rb spec/spec_helper.rb
16 lines
697 B
Ruby
Executable File
16 lines
697 B
Ruby
Executable File
#!/usr/bin/env rake
|
|
require File.expand_path('../config/application', __FILE__)
|
|
require 'metasploit/framework/require'
|
|
require 'metasploit/framework/spec/untested_payloads'
|
|
|
|
# @note must be before `Metasploit::Framework::Application.load_tasks`
|
|
#
|
|
# define db rake tasks from activerecord if activerecord is in the bundle. activerecord could be not in the bundle if
|
|
# the user installs with `bundle install --without db`
|
|
Metasploit::Framework::Require.optionally_active_record_railtie
|
|
|
|
Metasploit::Framework::Application.load_tasks
|
|
Metasploit::Framework::Spec::Constants.define_task
|
|
Metasploit::Framework::Spec::Threads::Suite.define_task
|
|
Metasploit::Framework::Spec::UntestedPayloads.define_task
|