Sha256: fedce9c000426cdd4fed22b1f21fd0c22498d7b1ed632183b113cfa46d7ebd91

Contents?: true

Size: 1.22 KB

Versions: 7

Compression:

Stored size: 1.22 KB

Contents

=begin
    Copyright 2010-2014 Tasos Laskos <tasos.laskos@arachni-scanner.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

class Arachni::Checks::Test2 < Arachni::Check::Base

    prefer :test

    def run
        Arachni::HTTP::Client.get( "http://localhost/#{shortname}" ){}
    end

    def self.info
        {
            name:        'Test2 check',
            description: %q{Test description},
            author:      'Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com> ',
            version:     '0.1',
            platforms:  [:php],

            issue:       {
                name:            %q{Test issue},
                description:     %q{Test description},
                references:  {
                    'Wikipedia' => 'http://en.wikipedia.org/'
                },
                tags:            ['some', 'tag'],
                cwe:             '0',
                severity:        Issue::Severity::HIGH,
                remedy_guidance: %q{Watch out!.},
                remedy_code:     ''
            }

        }
    end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 spec/support/fixtures/checks/test2.rb
arachni-1.0.5 spec/support/fixtures/checks/test2.rb
arachni-1.0.4 spec/support/fixtures/checks/test2.rb
arachni-1.0.3 spec/support/fixtures/checks/test2.rb
arachni-1.0.2 spec/support/fixtures/checks/test2.rb
arachni-1.0.1 spec/support/fixtures/checks/test2.rb
arachni-1.0 spec/support/fixtures/checks/test2.rb