Class: Metasploit::Credential::Origin::Manual
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Metasploit::Credential::Origin::Manual
- Defined in:
- app/models/metasploit/credential/origin/manual.rb
Overview
Origin of core credentials that are manually entered by a #user.
Instance Attribute Summary collapse
-
#cores ⇒ ActiveRecord::Relation<Metasploit::Credential::Core>
Core credentials that were entered by the #user.
-
#created_at ⇒ DateTime
When the credentials were manually created.
-
#updated_at ⇒ DateTime
When this origin was last updated.
-
#user ⇒ Mdm::User
The user that manually enters the credentials.
Instance Attribute Details
#cores ⇒ ActiveRecord::Relation<Metasploit::Credential::Core>
Core credentials that were entered by the #user.
11 12 13 14 |
# File 'app/models/metasploit/credential/origin/manual.rb', line 11 has_many :cores, as: :origin, class_name: 'Metasploit::Credential::Core', dependent: :destroy |
#created_at ⇒ DateTime
When the credentials were manually created.
|
# File 'app/models/metasploit/credential/origin/manual.rb', line 28
|
#updated_at ⇒ DateTime
When this origin was last updated.
|
# File 'app/models/metasploit/credential/origin/manual.rb', line 33
|
#user ⇒ Mdm::User
The user that manually enters the credentials.
20 21 22 |
# File 'app/models/metasploit/credential/origin/manual.rb', line 20 belongs_to :user, class_name: 'Mdm::User', inverse_of: :credential_origins |