Class: Metasploit::Framework::ParsedOptions::Console
- Defined in:
- lib/metasploit/framework/parsed_options/console.rb
Overview
Parsed options for Command::Console
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#options ⇒ ActiveSupport::OrderedOptions
Options parsed from msfconsole command-line.
Methods inherited from Base
#configure, #environment!, #initialize
Constructor Details
This class inherits a constructor from Metasploit::Framework::ParsedOptions::Base
Instance Method Details
#options ⇒ ActiveSupport::OrderedOptions
Options parsed from msfconsole command-line.
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/metasploit/framework/parsed_options/console.rb', line 6 def unless @options super.tap { || .console = ActiveSupport::OrderedOptions.new .console.commands = [] .console.confirm_exit = false .console.histfile = nil .console.logger = nil .console.local_output = nil .console.plugins = [] .console.quiet = false .console.readline = true .console.real_readline = false .console.resources = [] .console.subcommand = :run } end @options end |