Sha256: e306e3a33e36ec9e75d7c307709ff7c751099b92b2846a055bcef7aa943d9f3f
Contents?: true
Size: 955 Bytes
Versions: 5
Compression:
Stored size: 955 Bytes
Contents
# Defines constants for {Metasploit::Model::Module} types as used in {Metasploit::Model::Module::Ancestor}. module Metasploit::Model::Module::Type # # CONSTANTS # # Symbolizes any module type is allowed. ANY = '_any_' # Auxiliary modules AUX = 'auxiliary' # Encoder modules ENCODER = 'encoder' # Exploit modules EXPLOIT = 'exploit' # No operation modules NOP = 'nop' # Payload modules PAYLOAD = 'payload' # Post-exploitation modules POST = 'post' # Array<String> of all supported module types (except {ANY} since that's a symbolic type) ALL = [ AUX, ENCODER, EXPLOIT, NOP, PAYLOAD, POST ] # Array<String> of all module types that aren't {PAYLOAD} because {PAYLOAD} # {Metasploit::Model::Module::Ancestor#contents} define `Modules` instead of `Classes` and so need to be loaded # differently. NON_PAYLOAD = ALL.reject { |module_type| module_type == PAYLOAD } end
Version data entries
5 entries across 5 versions & 1 rubygems