Sha256: d60317674fd03720200654b82d14f83b93a995d85a17ee60e0b8ea60395613af

Contents?: true

Size: 409 Bytes

Versions: 8

Compression:

Stored size: 409 Bytes

Contents

require 'metasploit/model/authority'

# Zero Day Initiative authority-specific code.
module Metasploit::Model::Authority::Zdi
  # Returns URL to {Metasploit::Model::Reference#designation the ZDI ID's} page on ZDI.
  #
  # @param designation [String] YY-NNNN ZDI ID.
  # @return [String] URL
  def self.designation_url(designation)
    "http://www.zerodayinitiative.com/advisories/ZDI-#{designation}"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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