Class: Ronin::DB::Vulnerability
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Ronin::DB::Vulnerability
- Includes:
- Model
- Defined in:
- lib/ronin/db/vulnerability.rb
Overview
Represents a discovered vulnerability associated with a URL, open port, host name, IP, or MAC address.
Instance Attribute Summary collapse
-
#advisory ⇒ Advisory
The vulnerability advisory.
-
#host_name ⇒ HostName?
The host name that is vulnerable.
-
#id ⇒ Integer
The primary key of the vulnerability.
-
#ip_address ⇒ IPAddress?
The IP address that is vulnerable.
-
#mac_address ⇒ MACAddress?
The MAC address that is vulnerable.
-
#open_port ⇒ OpenPort?
The open port that hosts a vulnerable service.
-
#url ⇒ URL?
The URL that is vulnerable.
Method Summary
Methods included from Model
Instance Attribute Details
#advisory ⇒ Advisory
The vulnerability advisory.
82 |
# File 'lib/ronin/db/vulnerability.rb', line 82 belongs_to :advisory |
#host_name ⇒ HostName?
The host name that is vulnerable.
63 |
# File 'lib/ronin/db/vulnerability.rb', line 63 belongs_to :host_name, optional: true |
#id ⇒ Integer
The primary key of the vulnerability.
43 |
# File 'lib/ronin/db/vulnerability.rb', line 43 attribute :id, :integer |
#ip_address ⇒ IPAddress?
The IP address that is vulnerable.
56 57 |
# File 'lib/ronin/db/vulnerability.rb', line 56 belongs_to :ip_address, optional: true, class_name: 'IPAddress' |
#mac_address ⇒ MACAddress?
The MAC address that is vulnerable.
49 50 |
# File 'lib/ronin/db/vulnerability.rb', line 49 belongs_to :mac_address, optional: true, class_name: 'MACAddress' |
#open_port ⇒ OpenPort?
The open port that hosts a vulnerable service.
69 |
# File 'lib/ronin/db/vulnerability.rb', line 69 belongs_to :open_port, optional: true |
#url ⇒ URL?
The URL that is vulnerable.
75 76 |
# File 'lib/ronin/db/vulnerability.rb', line 75 belongs_to :url, optional: true, class_name: 'URL' |