Class: Mdm::Payload

Inherits:
ApplicationRecord
  • Object
show all
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

Instance Attribute Details

#archString

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.

Returns:

  • (String)

# File 'app/models/mdm/payload.rb', line 38

#build_optsHash

A hash containing various options used to build this payload

Returns:

  • (Hash)

# File 'app/models/mdm/payload.rb', line 75

#build_statusString

The current status of the job building the payload binary. Valid values are "started", "completed", and "error"

Returns:

  • (String)

# File 'app/models/mdm/payload.rb', line 70

#descriptionString

A description of why this payload was created and what it is being used for.

Returns:

  • (String)

# File 'app/models/mdm/payload.rb', line 55

#nameString

The name of this payload.

Returns:

  • (String)

# File 'app/models/mdm/payload.rb', line 16

#platformString

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.

Returns:

  • (String)

# File 'app/models/mdm/payload.rb', line 44

#raw_payloadString

A URL pointing to where the binary payload can be downloaded from.

Returns:

  • (String)

# File 'app/models/mdm/payload.rb', line 60

#raw_payload_hashString

The unique hash value for the generated payload binary

Returns:

  • (String)

# File 'app/models/mdm/payload.rb', line 65

#timestampInteger

The Unix format timestamp when this payload was created.

Returns:

  • (Integer)

# File 'app/models/mdm/payload.rb', line 33

#urlsArray

The unique, encoded urls used to host this payload. Only applicable for http(s) payloads

Returns:

  • (Array)

# File 'app/models/mdm/payload.rb', line 50

#uuidString

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.

Returns:

  • (String)

# File 'app/models/mdm/payload.rb', line 21

#uuid_maskInteger

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

Returns:

  • (Integer)

# File 'app/models/mdm/payload.rb', line 27