Sha256: 44558c85942a8d377d7c70ef94b97b4f731900881127f4370dec857d9972a5e3
Contents?: true
Size: 1.08 KB
Versions: 45
Compression:
Stored size: 1.08 KB
Contents
# @deprecated {Mdm::Task} has and belongs to many `Metasploit::Credential::Cores` in `Mdm::Task#credential_cores` and # has and belongs to many `Metasploit::Credential::Logins` in `Mdm::Task#credential_logins` when the # `Metasploit::Credential::Engine` is installed. # # Join model between {Mdm::Cred} and {Mdm::Task} that signifies that the {#task} found the {#cred}. class Mdm::TaskCred < ActiveRecord::Base # # Associations # # The {Mdm::Cred} found by {#task}. belongs_to :cred, class_name: 'Mdm::Cred', inverse_of: :task_creds # An {Mdm::Task} that found {#cred}. belongs_to :task, class_name: 'Mdm::Task', inverse_of: :task_creds # # Attributes # # @!attribute [rw] created_at # When this task cred was created. # # @return [DateTime] # @!attribute [rw] updated_at # The last time this task cred was updated. # # @return [DateTime] # # Validations # validates :cred_id, :uniqueness => { :scope => :task_id } Metasploit::Concern.run(self) end
Version data entries
45 entries across 45 versions & 1 rubygems