Sha256: d83c97b1289821c62aa890043af0c30d48405698f653c11aa791504abff13db0

Contents?: true

Size: 540 Bytes

Versions: 15

Compression:

Stored size: 540 Bytes

Contents

# -*- 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

15 entries across 15 versions & 3 rubygems

Version Path
rex-2.0.13 lib/rex/post/meterpreter/extension.rb
rex-2.0.12 lib/rex/post/meterpreter/extension.rb
rex-2.0.11 lib/rex/post/meterpreter/extension.rb
rex-2.0.10 lib/rex/post/meterpreter/extension.rb
rex-2.0.9 lib/rex/post/meterpreter/extension.rb
rex-2.0.8 lib/rex/post/meterpreter/extension.rb
rex-2.0.7 lib/rex/post/meterpreter/extension.rb
rex-2.0.5 lib/rex/post/meterpreter/extension.rb
rex-2.0.4 lib/rex/post/meterpreter/extension.rb
dstruct-0.0.1 lib/rex/post/meterpreter/extension.rb
rex-2.0.3 lib/rex/post/meterpreter/extension.rb
librex-0.0.999 lib/rex/post/meterpreter/extension.rb
rex-2.0.2 lib/rex/post/meterpreter/extension.rb
librex-0.0.71 lib/rex/post/meterpreter/extension.rb
librex-0.0.70 lib/rex/post/meterpreter/extension.rb