Class: Metasploit::Credential::Origin::CrackedPassword
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Metasploit::Credential::Origin::CrackedPassword
- Defined in:
- app/models/metasploit/credential/origin/cracked_password.rb
Overview
An origin for core credentials that were cracked from a core credentials
Instance Attribute Summary collapse
-
#cores ⇒ ActiveRecord::Relation<Metasploit::Credential::Core>
Core credentials derived from cracking #originating_core.
-
#originating_core ⇒ Metasploit::Credential::Core
The credential that was cracked to get this one.
Instance Attribute Details
#cores ⇒ ActiveRecord::Relation<Metasploit::Credential::Core>
Core credentials derived from cracking #originating_core.
12 13 14 15 |
# File 'app/models/metasploit/credential/origin/cracked_password.rb', line 12 has_many :cores, as: :origin, class_name: 'Metasploit::Credential::Core', dependent: :destroy |
#originating_core ⇒ Metasploit::Credential::Core
The credential that was cracked to get this one.
21 22 23 |
# File 'app/models/metasploit/credential/origin/cracked_password.rb', line 21 belongs_to :originating_core, class_name: 'Metasploit::Credential::Core', foreign_key: 'metasploit_credential_core_id' |