metasploit-framework/lib/rex/post/meterpreter/inbound_packet_handler.rb

30 lines
420 B
Ruby

#!/usr/bin/env ruby
module Rex
module Post
module Meterpreter
###
#
# Mixin that provides stubs for handling inbound packets
#
###
module InboundPacketHandler
#
# Stub request handler that returns false by default.
#
def request_handler(client, packet)
return false
end
#
# Stub response handler that returns false by default.
#
def response_handler(client, packet)
return false
end
end
end; end; end