Module: Rex::Post::Meterpreter::InboundPacketHandler

Included in:
Channel, Extensions::Stdapi::Net::SocketSubsystem::TcpServerChannel
Defined in:
lib/rex/post/meterpreter/inbound_packet_handler.rb

Overview

Mixin that provides stubs for handling inbound packets

Instance Method Summary collapse

Instance Method Details

#request_handler(client, packet) ⇒ Object

Stub request handler that returns false by default.


17
18
19
# File 'lib/rex/post/meterpreter/inbound_packet_handler.rb', line 17

def request_handler(client, packet)
  return false
end

#response_handler(client, packet) ⇒ Object

Stub response handler that returns false by default.


24
25
26
# File 'lib/rex/post/meterpreter/inbound_packet_handler.rb', line 24

def response_handler(client, packet)
  return false
end