2014-07-29 19:07:14 +00:00
|
|
|
#
|
|
|
|
# Gems
|
|
|
|
#
|
|
|
|
|
2014-07-31 14:41:08 +00:00
|
|
|
# have to be exact so minimum is loaded prior to parsing arguments which could
|
|
|
|
# influence loading.
|
2014-07-29 19:07:14 +00:00
|
|
|
require 'active_support/dependencies/autoload'
|
|
|
|
|
2014-07-31 14:41:08 +00:00
|
|
|
# @note Must use the nested declaration of the
|
|
|
|
# {Metasploit::Framework::Command} namespace because commands need to be able
|
|
|
|
# to be required directly without any other part of metasploit-framework
|
|
|
|
# besides config/boot so that the commands can parse arguments, setup
|
|
|
|
# RAILS_ENV, and load config/application.rb correctly.
|
2014-07-29 19:07:14 +00:00
|
|
|
module Metasploit
|
|
|
|
module Framework
|
|
|
|
module Command
|
2014-07-31 14:41:08 +00:00
|
|
|
# Namespace for commands for metasploit-framework. There are
|
|
|
|
# corresponding classes in the {Metasploit::Framework::ParsedOptions}
|
|
|
|
# namespace, which handle for parsing the options for each command.
|
2014-07-29 19:07:14 +00:00
|
|
|
extend ActiveSupport::Autoload
|
|
|
|
|
|
|
|
autoload :Base
|
|
|
|
autoload :Console
|
|
|
|
end
|
|
|
|
end
|
2014-07-31 14:41:08 +00:00
|
|
|
end
|