Class: Mdm::Payload
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Mdm::Payload
- Extended by:
- ActiveSupport::Autoload
- Includes:
- Metasploit::Model::Search
- Defined in:
- app/models/mdm/payload.rb
Overview
A payload that has been generated by Metasploit and used to establish Session.
Instance Attribute Summary collapse
-
#arch ⇒ String
The architecture this payload supports.
-
#build_opts ⇒ Hash
A hash containing various options used to build this payload.
-
#build_status ⇒ String
The current status of the job building the payload binary.
-
#description ⇒ String
A description of why this payload was created and what it is being used for.
-
#name ⇒ String
The name of this payload.
-
#platform ⇒ String
The platform this payload supports.
-
#raw_payload ⇒ String
A URL pointing to where the binary payload can be downloaded from.
-
#raw_payload_hash ⇒ String
The unique hash value for the generated payload binary.
-
#timestamp ⇒ Integer
The Unix format timestamp when this payload was created.
-
#urls ⇒ Array
The unique, encoded urls used to host this payload.
-
#uuid ⇒ String
A unique identifier for this payload.
-
#uuid_mask ⇒ Integer
The number of bytes of the UUID that this payload has embedded within it.
-
#workspace ⇒ Object
Workspace in which this payload was created.
-
#workspace_id ⇒ Integer
The ID of the workspace this payload belongs to.
Instance Attribute Details
#arch ⇒ String
The architecture this payload supports. Valid values are located at lib/msf/core/payload/uuid.rb in the https://github.com/rapid7/metasploit-framework repo.
|
|
# File 'app/models/mdm/payload.rb', line 46
|
#build_opts ⇒ Hash
A hash containing various options used to build this payload
|
|
# File 'app/models/mdm/payload.rb', line 88
|
#build_status ⇒ String
The current status of the job building the payload binary. Valid values are "started", "completed", and "error"
|
|
# File 'app/models/mdm/payload.rb', line 83
|
#description ⇒ String
A description of why this payload was created and what it is being used for.
|
|
# File 'app/models/mdm/payload.rb', line 63
|
#name ⇒ String
The name of this payload.
|
|
# File 'app/models/mdm/payload.rb', line 24
|
#platform ⇒ String
The platform this payload supports. Valid values are located at lib/msf/core/payload/uuid.rb in the https://github.com/rapid7/metasploit-framework repo.
|
|
# File 'app/models/mdm/payload.rb', line 52
|
#raw_payload ⇒ String
A URL pointing to where the binary payload can be downloaded from.
|
|
# File 'app/models/mdm/payload.rb', line 73
|
#raw_payload_hash ⇒ String
The unique hash value for the generated payload binary
|
|
# File 'app/models/mdm/payload.rb', line 78
|
#timestamp ⇒ Integer
The Unix format timestamp when this payload was created.
|
|
# File 'app/models/mdm/payload.rb', line 41
|
#urls ⇒ Array
The unique, encoded urls used to host this payload. Only applicable for http(s) payloads
|
|
# File 'app/models/mdm/payload.rb', line 58
|
#uuid ⇒ String
A unique identifier for this payload. The UUID is encoded to include specific information. See lib/msf/core/payload/uuid.rb in the https://github.com/rapid7/metasploit-framework repo.
|
|
# File 'app/models/mdm/payload.rb', line 29
|
#uuid_mask ⇒ Integer
The number of bytes of the UUID that this payload has embedded within it. This is to support legacy payloads that limit the UUID to 8 bytes
|
|
# File 'app/models/mdm/payload.rb', line 35
|
#workspace ⇒ Object
Workspace in which this payload was created.
@return [Mdm::Workspace]
15 16 17 |
# File 'app/models/mdm/payload.rb', line 15 belongs_to :workspace, class_name: 'Mdm::Workspace', inverse_of: :payloads |
#workspace_id ⇒ Integer
The ID of the workspace this payload belongs to.
|
|
# File 'app/models/mdm/payload.rb', line 68
|