mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-08-28 23:26:18 +02:00
![Luke Imhoff](/assets/img/avatar_default.png)
MSP-11130 `Metasploit::Framework::Spec::Constants::Suite` extracts out `LOG_PATHNAME`, `configure!`, and `define_task` as those piece are specific to handling constant leaks for the entire suite. This is in preparation for `Metasploit::Framework::Spec::Constants::Each`.
13 lines
536 B
Ruby
Executable File
13 lines
536 B
Ruby
Executable File
#!/usr/bin/env rake
|
|
require File.expand_path('../config/application', __FILE__)
|
|
require 'metasploit/framework/require'
|
|
|
|
# @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::Suite.define_task
|