Sha256: 34390b0a888dfa2451ea97a2e74d20a76efdbd2198254f66944f6a7fd72cc621

Contents?: true

Size: 419 Bytes

Versions: 8

Compression:

Stored size: 419 Bytes

Contents

require 'metasploit/model/authority'

# Common Vulnerabilities and Exposures authority-specific code.
module Metasploit::Model::Authority::Cve
  # Returns URL to {Metasploit::Model::Reference#designation the CVE ID's} page on CVE Details.
  #
  # @param designation [String] YYYY-NNNN CVE ID.
  # @return [String] URL
  def self.designation_url(designation)
    "http://cvedetails.com/cve/CVE-#{designation}"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
metasploit-model-0.27.3 lib/metasploit/model/authority/cve.rb
metasploit-model-0.27.3-java lib/metasploit/model/authority/cve.rb
metasploit-model-0.27.2 lib/metasploit/model/authority/cve.rb
metasploit-model-0.27.2-java lib/metasploit/model/authority/cve.rb
metasploit-model-0.27.1 lib/metasploit/model/authority/cve.rb
metasploit-model-0.27.1-java lib/metasploit/model/authority/cve.rb
metasploit-model-0.27.0 lib/metasploit/model/authority/cve.rb
metasploit-model-0.27.0-java lib/metasploit/model/authority/cve.rb