Class: Nexpose::Exploit

Inherits:
APIObject show all
Defined in:
lib/nexpose/vuln_def.rb

Overview

Known exploits of a vulnerability.

Instance Attribute Summary collapse

Method Summary

Methods inherited from APIObject

#object_from_hash

Instance Attribute Details

#descriptionObject (readonly)

A description of the exploit, if available.



153
154
155
# File 'lib/nexpose/vuln_def.rb', line 153

def description
  @description
end

#idObject (readonly)

Internal Nexpose identifier of the exploit.



149
150
151
# File 'lib/nexpose/vuln_def.rb', line 149

def id
  @id
end

#skill_levelObject (readonly)

Skill level required to use the exploit. One of: Expert, Intermediate, Novice.



156
157
158
# File 'lib/nexpose/vuln_def.rb', line 156

def skill_level
  @skill_level
end

#sourceObject (readonly)

Source which defined and published the exploit, such as Metasploit or Exploit Database.



159
160
161
# File 'lib/nexpose/vuln_def.rb', line 159

def source
  @source
end

#source_keyObject (readonly)

Reference key used by the publishing source to identify the exploit.



161
162
163
# File 'lib/nexpose/vuln_def.rb', line 161

def source_key
  @source_key
end

#titleObject (readonly)

Exploit title.



151
152
153
# File 'lib/nexpose/vuln_def.rb', line 151

def title
  @title
end