Sha256: 88f7577a62b2892663df0fbd092bcb30ab9781a1252232f0f00f178d62b1dc80

Contents?: true

Size: 598 Bytes

Versions: 11

Compression:

Stored size: 598 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"}]
    @check.vuln?.should   == 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"}]
    @check.vuln?.should   == false
  end
  it "must be filled with CVE identifier"
  it "must be filled with CVSS information"
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dawnscanner-1.6.1 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.6.0 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.5.2 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.5.1 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.5.0 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.4.2 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.4.1 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.4.0 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.3.5 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.3.1 spec/lib/kb/osvdb_108563_spec.rb
dawnscanner-1.3.0 spec/lib/kb/osvdb_108563_spec.rb