Module: Msf::Handler::None

Includes:
Msf::Handler
Defined in:
lib/msf/core/handler/none.rb

Overview

The ‘none’ handler, for no connection.

Constant Summary

Constants included from Msf::Handler

Claimed, Unused

Instance Attribute Summary

Attributes included from Msf::Handler

#exploit_config, #parent_payload, #pending_connections, #session_waiter_event, #sessions

Class Method Summary collapse

Methods included from Msf::Handler

#add_handler, #cleanup_handler, #create_session, #handle_connection, #handler, #handler_name, #initialize, #interrupt_wait_for_session, #register_session, #setup_handler, #start_handler, #stop_handler, #wait_for_session, #wfs_delay

Class Method Details

.general_handler_typeObject

Returns none to indicate no connection.



24
25
26
# File 'lib/msf/core/handler/none.rb', line 24

def self.general_handler_type
  return "none"
end

.handler_typeObject

Returns the handler type of none since payloads that use this handler have no connection.



17
18
19
# File 'lib/msf/core/handler/none.rb', line 17

def self.handler_type
  return "none"
end