Sha256: a78880a6142f762ed6898600071dcb966a9ebe5b30986714b37a13b9eaec7160
Contents?: true
Size: 1.25 KB
Versions: 68
Compression:
Stored size: 1.25 KB
Contents
# An origin for {#cores core credentials} that were imported by a {#task} from a {#filename file}. class Metasploit::Credential::Origin::Import < ActiveRecord::Base # # Associations # # @!attribute cores # {Metasploit::Credential::Core Core credentials} imported from {#filename}. # # @return [ActiveRecord::Relation<Metasploit::Credential::Core>] has_many :cores, as: :origin, class_name: 'Metasploit::Credential::Core', dependent: :destroy # @!attribute task # The task that did the import. # # @return [Mdm::Task] belongs_to :task, class_name: 'Mdm::Task', inverse_of: :import_credential_origins # # Attribute # # @!attribute created_at # When the credentials were imported. # # @return [DateTime] # @!attribute filename # The `File.basename` of the file from which the {#cores core credentials} were imported. Because only a # basename is available, a {#filename} may be used more than once for the same {#task}. # # @return [String] # @!attribute updated_at # When this origin was last updated. # # @return [DateTime] # # Mass Assignment Security # attr_accessible :filename Metasploit::Concern.run(self) end
Version data entries
68 entries across 68 versions & 1 rubygems