Class: Mdm::VulnAttempt
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Mdm::VulnAttempt
- Defined in:
- app/models/mdm/vuln_attempt.rb
Overview
An attempt to exploit a #vuln.
Instance Attribute Summary collapse
-
#attempted_at ⇒ DateTime
When this attempt was made.
-
#exploited ⇒ true, false
Whether this attempt was successful.
-
#fail_detail ⇒ String?
Long details about why this attempt failed.
-
#fail_reason ⇒ String?
Short reason why this attempt failed.
-
#module ⇒ String
Full name of exploit Metasploit Module that was used in this attempt.
-
#username ⇒ String
The name of the user that made this attempt.
Instance Method Summary collapse
-
#loot ⇒ Mdm::Loot?
Loot gathered from this attempt.
-
#session ⇒ Mdm::Session?
The session opened by this attempt.
-
#vuln ⇒ Mdm::Vuln
The vulnerability that this attempt was exploiting.
Instance Attribute Details
#attempted_at ⇒ DateTime
When this attempt was made.
|
|
# File 'app/models/mdm/vuln_attempt.rb', line 35
|
#exploited ⇒ true, false
Whether this attempt was successful.
|
|
# File 'app/models/mdm/vuln_attempt.rb', line 40
|
#fail_detail ⇒ String?
Long details about why this attempt failed.
|
|
# File 'app/models/mdm/vuln_attempt.rb', line 46
|
#fail_reason ⇒ String?
Short reason why this attempt failed.
|
|
# File 'app/models/mdm/vuln_attempt.rb', line 52
|
#module ⇒ String
Full name of exploit Metasploit Module that was used in this attempt.
|
|
# File 'app/models/mdm/vuln_attempt.rb', line 58
|
#username ⇒ String
The name of the user that made this attempt.
|
|
# File 'app/models/mdm/vuln_attempt.rb', line 63
|
Instance Method Details
#loot ⇒ Mdm::Loot?
Loot gathered from this attempt.
11 12 13 |
# File 'app/models/mdm/vuln_attempt.rb', line 11 belongs_to :loot, class_name: 'Mdm::Loot', inverse_of: :vuln_attempt |
#session ⇒ Mdm::Session?
The session opened by this attempt.
19 20 21 |
# File 'app/models/mdm/vuln_attempt.rb', line 19 belongs_to :session, class_name: 'Mdm::Session', inverse_of: :vuln_attempt |
#vuln ⇒ Mdm::Vuln
The vulnerability that this attempt was exploiting.
26 27 28 29 |
# File 'app/models/mdm/vuln_attempt.rb', line 26 belongs_to :vuln, class_name: 'Mdm::Vuln', counter_cache: :vuln_attempt_count, inverse_of: :vuln_attempts |