Sha256: 141bc297f11a1a429097a1414e1f4f49fd7fd73c08e4597e924cf0be452f203d

Contents?: true

Size: 608 Bytes

Versions: 8

Compression:

Stored size: 608 Bytes

Contents

require 'spec_helper'
describe "The OSVDB-108563 vulnerability" do
	before(:all) do
		@check = Dawn::Kb::OSVDB_108563.new
		# @check.debug = true
	end

  it "is reported when a vulnerable version it has been found (1.0.0)" do
    @check.dependencies = [{:name=>"gyazo", :version=>"1.0.0"}]
    expect(@check.vuln?).to   eq(true)
  end
  it "is not reported when a safe version it has been found (0.4.15)" do
    @check.dependencies = [{:name=>"gyazo", :version=>"1.0.1"}]
    expect(@check.vuln?).to   eq(false)
  end
  it "must be filled with CVE identifier"
  it "must be filled with CVSS information"
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dawnscanner-1.6.9 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.6.8 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.6.7 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.6.6 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.6.5 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.6.4 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.6.3 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.6.2 spec/lib/kb/osvdb_108563_spec.rb