class Rex::Post::Meterpreter::Extension
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.
Attributes
name[RW]
The name of the extension.
Public Class Methods
new(client, name)
click to toggle source
Initializes the client and name attributes.
# File lib/rex/post/meterpreter/extension.rb, line 18 def initialize(client, name) self.client = client self.name = name end