Sha256: 6173c1a0a6b1b2a7f0761198b5cc0e69a76afb303b1315ce14ffb73ae4c0df07

Contents?: true

Size: 546 Bytes

Versions: 2

Compression:

Stored size: 546 Bytes

Contents

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

module Rex
module Post
module Meterpreter

###
#
# Base class for all extensions that holds a reference to the
# client context that they are part of.  Each extension also has a defined
# name through which it is referenced.
#
###
class Extension

	#
	# Initializes the client and name attributes.
	#
	def initialize(client, name)
		self.client = client
		self.name   = name
	end

	#
	# The name of the extension.
	#
	attr_accessor :name
protected
	attr_accessor :client # :nodoc:
end

end; end; end

Version data entries

2 entries across 2 versions & 1 rubygems

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