2014-05-13 04:03:51 +08:00
|
|
|
#!/usr/bin/env rake
|
|
|
|
require File.expand_path('../config/application', __FILE__)
|
2014-07-30 23:10:20 +08:00
|
|
|
require 'metasploit/framework/require'
|
2014-10-23 23:24:33 +08:00
|
|
|
require 'metasploit/framework/spec/untested_payloads'
|
2014-07-30 23:10:20 +08:00
|
|
|
|
|
|
|
# @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
|
2012-10-02 02:09:30 +08:00
|
|
|
|
2014-05-13 04:03:51 +08:00
|
|
|
Metasploit::Framework::Application.load_tasks
|
2014-10-30 22:37:17 +08:00
|
|
|
Metasploit::Framework::Spec::Constants.define_task
|
2014-11-06 05:34:35 +08:00
|
|
|
Metasploit::Framework::Spec::Threads::Suite.define_task
|
2014-10-23 23:24:33 +08:00
|
|
|
Metasploit::Framework::Spec::UntestedPayloads.define_task
|