Sha256: b2e2779d37e50e0740dc27e60849d68158afed417e3365db5e79dccbe34ba7b5

Contents?: true

Size: 630 Bytes

Versions: 8

Compression:

Stored size: 630 Bytes

Contents

require 'spec_helper'
describe "The OSVDB-108570 vulnerability" do
	before(:all) do
		@check = Dawn::Kb::OSVDB_108570.new
		# @check.debug = true
	end
  it "is reported when a vulnerable version it has been found (3.0.23)" do
    @check.dependencies = [{:name=>"backup_checksum", :version=>"3.0.23"}]
    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=>"backup_checksum", :version=>"3.0.24"}]
    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_108570_spec.rb
dawnscanner-1.6.8 spec/lib/kb/osvdb_108570_spec.rb
dawnscanner-1.6.7 spec/lib/kb/osvdb_108570_spec.rb
dawnscanner-1.6.6 spec/lib/kb/osvdb_108570_spec.rb
dawnscanner-1.6.5 spec/lib/kb/osvdb_108570_spec.rb
dawnscanner-1.6.4 spec/lib/kb/osvdb_108570_spec.rb
dawnscanner-1.6.3 spec/lib/kb/osvdb_108570_spec.rb
dawnscanner-1.6.2 spec/lib/kb/osvdb_108570_spec.rb