Module: Metasploit::Model::Module::Target
- Extended by:
- ActiveModel::Naming, ActiveSupport::Autoload, ActiveSupport::Concern
- Includes:
- Translation
- Defined in:
- lib/metasploit/model/module/target.rb,
lib/metasploit/model/module/target/platform.rb,
lib/metasploit/model/module/target/architecture.rb
Overview
Code shared between Mdm::Module::Target
and Metasploit::Framework::Module::Target
.
Defined Under Namespace
Modules: Architecture, Platform
Instance Attribute Summary collapse
-
#architectures ⇒ Array<Metasploit::Model::Architecture>
readonly
Architectures that this target supports, either by being declared specifically for this target or because this target did not override architectures and so inheritted the architecture set from the class.
-
#module_instance ⇒ Metasploit::Model::Module::Instance
Module where this target was declared.
-
#name ⇒ String
The name of this target.
-
#platforms ⇒ Array<Metasploit::Model::Platform>
readonly
Platforms that this target supports, either by being declared specifically for this target or because this target did not override platforms and so inheritted the platform set from the class.
-
#target_architectures ⇒ Array<Metasploit::Model::Module::Target::Architecture]
Joins this target to its #architectures.
-
#target_platforms ⇒ Array<Metasploit::Model::Module::Target::Platform>
Joins this target to its #platforms.
Instance Attribute Details
#architectures ⇒ Array<Metasploit::Model::Architecture> (readonly)
Architectures that this target supports, either by being declared specifically for this target or because this target did not override architectures and so inheritted the architecture set from the class.
|
# File 'lib/metasploit/model/module/target.rb', line 48
|
#module_instance ⇒ Metasploit::Model::Module::Instance
Module where this target was declared.
|
# File 'lib/metasploit/model/module/target.rb', line 54
|
#name ⇒ String
The name of this target.
|
# File 'lib/metasploit/model/module/target.rb', line 79
|
#platforms ⇒ Array<Metasploit::Model::Platform> (readonly)
Platforms that this target supports, either by being declared specifically for this target or because this target did not override platforms and so inheritted the platform set from the class.
|
# File 'lib/metasploit/model/module/target.rb', line 59
|
#target_architectures ⇒ Array<Metasploit::Model::Module::Target::Architecture]
Joins this target to its #architectures
|
# File 'lib/metasploit/model/module/target.rb', line 65
|
#target_platforms ⇒ Array<Metasploit::Model::Module::Target::Platform>
Joins this target to its #platforms
|
# File 'lib/metasploit/model/module/target.rb', line 70
|