Module: Metasploit::Model::Derivation::FullName
- Defined in:
- lib/metasploit/model/derivation/full_name.rb
Overview
Methods for deriving full_name from module_type and reference_name in Mdm::Module::Ancestor
,
Mdm::Module::Class
, Metasploit::Framework::Module::Ancestor
, and Metasploit::Framework::Module::Class
.
Instance Method Summary collapse
-
#derived_full_name ⇒ String?
Derives full_name by combining module_type and reference_name in the same way used to create modules using Msf::ModuleManager#create in metasploit-framework.
Instance Method Details
#derived_full_name ⇒ String?
Derives full_name by combining module_type and reference_name in the same way used to create modules using Msf::ModuleManager#create in metasploit-framework.
13 14 15 16 17 18 19 20 21 |
# File 'lib/metasploit/model/derivation/full_name.rb', line 13 def derived_full_name derived = nil if module_type and reference_name derived = "#{module_type}/#{reference_name}" end derived end |