Class: Rex::Post::Meterpreter::Extensions::Extapi::Extapi
- Inherits:
-
Rex::Post::Meterpreter::Extension
- Object
- Rex::Post::Meterpreter::Extension
- Rex::Post::Meterpreter::Extensions::Extapi::Extapi
- Defined in:
- lib/rex/post/meterpreter/extensions/extapi/extapi.rb
Overview
This meterpreter extension contains an extended API which will allow for more
advanced enumeration of the victim.
Instance Attribute Summary
Attributes inherited from Rex::Post::Meterpreter::Extension
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client) ⇒ Extapi
constructor
A new instance of Extapi.
Constructor Details
#initialize(client) ⇒ Extapi
Returns a new instance of Extapi.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/rex/post/meterpreter/extensions/extapi/extapi.rb', line 31 def initialize(client) super(client, 'extapi') client.register_extension_aliases( [ { 'name' => 'extapi', 'ext' => ObjectAliases.new( { 'window' => Rex::Post::Meterpreter::Extensions::Extapi::Window::Window.new(client), 'service' => Rex::Post::Meterpreter::Extensions::Extapi::Service::Service.new(client), 'clipboard' => Rex::Post::Meterpreter::Extensions::Extapi::Clipboard::Clipboard.new(client), 'adsi' => Rex::Post::Meterpreter::Extensions::Extapi::Adsi::Adsi.new(client), 'ntds' => Rex::Post::Meterpreter::Extensions::Extapi::Ntds::Ntds.new(client), 'pageant' => Rex::Post::Meterpreter::Extensions::Extapi::Pageant::Pageant.new(client), 'wmi' => Rex::Post::Meterpreter::Extensions::Extapi::Wmi::Wmi.new(client) }) }, ]) end |
Class Method Details
.extension_id ⇒ Object
27 28 29 |
# File 'lib/rex/post/meterpreter/extensions/extapi/extapi.rb', line 27 def self.extension_id EXTENSION_ID_EXTAPI end |