Module: Metasploit::Model::Module::Handler

Defined in:
lib/metasploit/model/module/handler.rb

Overview

The handler Module for a Ancestor#handled? Ancestor.

Constant Summary collapse

GENERAL_TYPE_BY_TYPE =

Maps TYPES to GENERAL_TYPES used as connection types for Msf::Payload.

{
    'bind_tcp' => 'bind',
    'find_port' => 'find',
    'find_shell' => 'find',
    'find_tag' => 'find',
    'none' => 'none',
    'reverse_http' => 'tunnel',
    'reverse_https' => 'tunnel',
    'reverse_https_proxy' => 'tunnel',
    'reverse_ipv6_http' => 'tunnel',
    'reverse_ipv6_https' => 'tunnel',
    'reverse_tcp' => 'reverse',
    'reverse_tcp_allports' => 'reverse',
    'reverse_tcp_double' => 'reverse',
    'reverse_tcp_double_ssl' => 'reverse',
    'reverse_tcp_ssl' => 'reverse'
}
GENERAL_TYPES =

General handler types that are used as connection types for Msf::Payloads.

GENERAL_TYPE_BY_TYPE.values.uniq.sort
TYPES =

Types of handlers

GENERAL_TYPE_BY_TYPE.keys.sort