Sha256: 522d376a09608545e63ae645e6867210643de12af892ea2cb5e67d7021f99008
Contents?: true
Size: 496 Bytes
Versions: 11
Compression:
Stored size: 496 Bytes
Contents
require 'spec_helper' describe "The CVE-2013-2512 vulnerability" do before(:all) do @check = Dawn::Kb::CVE_2013_2512.new # @check.debug = true end it "is reported when a ftpd gem version 0.2.1 is detected" do @check.dependencies = [{:name=>"ftpd", :version=>"0.2.1"}] @check.vuln?.should == true end it "is not reported when a ftpd gem version 0.2.2 is detected" do @check.dependencies = [{:name=>"ftpd", :version=>"0.2.2"}] @check.vuln?.should == false end end
Version data entries
11 entries across 11 versions & 1 rubygems