Class: Mdm::VulnAttempt

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

Instance Attribute Summary collapse

Instance Attribute Details

#exploitedtrue, false

Whether this attempt was successful.

Returns:

  • (true)

    if #vuln was exploited.

  • (false)

    if #vuln was not exploited.



# File 'app/models/mdm/vuln_attempt.rb', line 37

#lootMdm::Loot?

Loot gathered from this attempt.

Returns:



11
12
13
# File 'app/models/mdm/vuln_attempt.rb', line 11

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

#sessionMdm::Session?

The session opened by this attempt.

Returns:



20
21
22
# File 'app/models/mdm/vuln_attempt.rb', line 20

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

#vulnMdm::Vuln

The vulnerability that this attempt was exploiting.

Returns:



28
29
30
31
# File 'app/models/mdm/vuln_attempt.rb', line 28

belongs_to :vuln,
class_name: 'Mdm::Vuln',
counter_cache: :vuln_attempt_count,
inverse_of: :vuln_attempts