Class: Mdm::ExploitAttempt

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/mdm/exploit_attempt.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hostMdm::Host

Host that was attempted to be exploited.

Returns:



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

#lootMdm::Loot?

Loot gathers from the successful exploit.

Returns:



19
20
21
# File 'app/models/mdm/exploit_attempt.rb', line 19

belongs_to :loot,
class_name: 'Mdm::Loot',
inverse_of: :exploit_attempt

#serviceMdm::Service?

The service being exploited on #host.

Returns:



27
28
29
# File 'app/models/mdm/exploit_attempt.rb', line 27

belongs_to :service,
class_name: 'Mdm::Service',
inverse_of: :exploit_attempts

#sessionMdm::Session?

The session that was established when this attempt was successful.

Returns:



36
37
38
# File 'app/models/mdm/exploit_attempt.rb', line 36

belongs_to :session,
class_name: 'Mdm::Session',
inverse_of: :exploit_attempt

#vulnMdm::Vuln?

The vulnerability that was attempted to be exploited.

Returns:



44
45
46
# File 'app/models/mdm/exploit_attempt.rb', line 44

belongs_to :vuln,
class_name: 'Mdm::Vuln',
inverse_of: :exploit_attempts