Exception: Rex::Post::Meterpreter::ExtensionLoadError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/rex/post/meterpreter/extension.rb

Overview

An error that is raised when a particular Meterpreter extension can not be loaded for any reason.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ ExtensionLoadError

Returns a new instance of ExtensionLoadError.

Parameters:

  • name (String)

    The name of the extension that could not be loaded.


16
17
18
19
# File 'lib/rex/post/meterpreter/extension.rb', line 16

def initialize(name:)
  @name = name
  super
end

Instance Attribute Details

#nameString (readonly)

The name of the extension that could not be loaded.

Returns:

  • (String)

    the current value of name


12
13
14
# File 'lib/rex/post/meterpreter/extension.rb', line 12

def name
  @name
end