Sha256: 600babd0244a574e4b0e614eb98983fdad65b893a3ac0b3016acf45469c920f1

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

require 'spec_helper'

describe name_from_filename do
    include_examples 'check'

    def self.platforms
        [:unix, :windows, :tomcat]
    end

    def self.elements
        [ Element::Form, Element::Link, Element::Cookie, Element::Header,
          Element::LinkTemplate ]
    end

    def issue_count_per_element_per_platform
        {
            unix:    {
                Element::Form         => 112,
                Element::Link         => 112,
                Element::Cookie       => 112,
                Element::Header       => 56,
                Element::LinkTemplate => 8
            },
            windows: {
                Element::Form         => 336,
                Element::Link         => 336,
                Element::Cookie       => 336,
                Element::Header       => 168,
                Element::LinkTemplate => 24
            },
            tomcat:  {
                Element::Form         => 8,
                Element::Link         => 8,
                Element::Cookie       => 8,
                Element::Header       => 4,
                Element::LinkTemplate => 0
            },
        }
    end

    easy_test
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 spec/components/checks/active/path_traversal_spec.rb
arachni-1.0.5 spec/components/checks/active/path_traversal_spec.rb
arachni-1.0.4 spec/components/checks/active/path_traversal_spec.rb
arachni-1.0.3 spec/components/checks/active/path_traversal_spec.rb
arachni-1.0.2 spec/components/checks/active/path_traversal_spec.rb
arachni-1.0.1 spec/components/checks/active/path_traversal_spec.rb
arachni-1.0 spec/components/checks/active/path_traversal_spec.rb