Exception: Msf::MissingPayloadError

Inherits:
ArgumentError
  • Object
show all
Includes:
ExploitError
Defined in:
lib/msf/core/exceptions.rb

Overview

This exception is raised if a payload was not specified when attempting to exploit something.

Instance Method Summary collapse

Constructor Details

#initialize(msg = "A payload has not been selected.") ⇒ MissingPayloadError

Returns a new instance of MissingPayloadError.


196
197
198
# File 'lib/msf/core/exceptions.rb', line 196

def initialize(msg="A payload has not been selected.")
  super(msg)
end