Class: Mdm::ExploitAttempt
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Mdm::ExploitAttempt
- Defined in:
- app/models/mdm/exploit_attempt.rb
Instance Attribute Summary collapse
-
#host ⇒ Mdm::Host
Host that was attempted to be exploited.
-
#loot ⇒ Mdm::Loot?
Loot gathers from the successful exploit.
-
#service ⇒ Mdm::Service?
The service being exploited on #host.
-
#session ⇒ Mdm::Session?
The session that was established when this attempt was successful.
-
#vuln ⇒ Mdm::Vuln?
The vulnerability that was attempted to be exploited.
Instance Attribute Details
#host ⇒ Mdm::Host
Host that was attempted to be exploited.
10 11 12 13 |
# File 'app/models/mdm/exploit_attempt.rb', line 10 belongs_to :host, class_name: 'Mdm::Host', counter_cache: :exploit_attempt_count, inverse_of: :exploit_attempts |
#loot ⇒ Mdm::Loot?
Loot gathers from the successful exploit.
19 20 21 |
# File 'app/models/mdm/exploit_attempt.rb', line 19 belongs_to :loot, class_name: 'Mdm::Loot', inverse_of: :exploit_attempt |
#service ⇒ Mdm::Service?
The service being exploited on #host.
27 28 29 |
# File 'app/models/mdm/exploit_attempt.rb', line 27 belongs_to :service, class_name: 'Mdm::Service', inverse_of: :exploit_attempts |
#session ⇒ Mdm::Session?
The session that was established when this attempt was successful.
36 37 38 |
# File 'app/models/mdm/exploit_attempt.rb', line 36 belongs_to :session, class_name: 'Mdm::Session', inverse_of: :exploit_attempt |
#vuln ⇒ Mdm::Vuln?
The vulnerability that was attempted to be exploited.
44 45 46 |
# File 'app/models/mdm/exploit_attempt.rb', line 44 belongs_to :vuln, class_name: 'Mdm::Vuln', inverse_of: :exploit_attempts |