Sha256: 473914b2ec92d7790289f24667027bbd60f3f9d777cdfe37d694d2677b597a63

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: binary -*-

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/post/meterpreter/inbound_packet_handler.rb
librex-0.0.66 lib/rex/post/meterpreter/inbound_packet_handler.rb