Class: Rex::Post::Meterpreter::Extension
- Inherits:
-
Object
- Object
- Rex::Post::Meterpreter::Extension
- Defined in:
- lib/rex/post/meterpreter/extension.rb
Overview
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.
Direct Known Subclasses
ClientCore, Rex::Post::Meterpreter::Extensions::Android::Android, Rex::Post::Meterpreter::Extensions::AppApi::AppApi, Rex::Post::Meterpreter::Extensions::Bofloader::Bofloader, Rex::Post::Meterpreter::Extensions::Espia::Espia, Rex::Post::Meterpreter::Extensions::Extapi::Extapi, Rex::Post::Meterpreter::Extensions::Incognito::Incognito, Rex::Post::Meterpreter::Extensions::Kiwi::Kiwi, Rex::Post::Meterpreter::Extensions::Lanattacks::Lanattacks, Rex::Post::Meterpreter::Extensions::Peinjector::Peinjector, Rex::Post::Meterpreter::Extensions::Powershell::Powershell, Rex::Post::Meterpreter::Extensions::Priv::Priv, Rex::Post::Meterpreter::Extensions::Python::Python, Rex::Post::Meterpreter::Extensions::Sniffer::Sniffer, Rex::Post::Meterpreter::Extensions::Stdapi::Stdapi, Rex::Post::Meterpreter::Extensions::Unhook::Unhook, Rex::Post::Meterpreter::Extensions::Winpmem::Winpmem
Instance Attribute Summary collapse
-
#client ⇒ Object
protected
:nodoc:.
-
#name ⇒ Object
The name of the extension.
Instance Method Summary collapse
-
#initialize(client, name) ⇒ Extension
constructor
Initializes the client and name attributes.
Constructor Details
#initialize(client, name) ⇒ Extension
Initializes the client and name attributes.
34 35 36 37 |
# File 'lib/rex/post/meterpreter/extension.rb', line 34 def initialize(client, name) self.client = client self.name = name end |
Instance Attribute Details
#client ⇒ Object (protected)
:nodoc:
44 45 46 |
# File 'lib/rex/post/meterpreter/extension.rb', line 44 def client @client end |
#name ⇒ Object
The name of the extension.
42 43 44 |
# File 'lib/rex/post/meterpreter/extension.rb', line 42 def name @name end |