Sha256: 2b735208257ad8978e67e8cd6a1ae836af99e5e5c3f9950c55e69cb16bb93fdb

Contents?: true

Size: 1.24 KB

Versions: 7

Compression:

Stored size: 1.24 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::Test3 < Arachni::Check::Base

    prefer :test2

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

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

            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:     '',
                metasploitable:  'unix/webapp/blah'
            }

        }
    end

end

Version data entries

7 entries across 7 versions & 1 rubygems

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