Sha256: 7a35254457e688b7b92405b03dfdedf11c1b79fe49609dee6f285c884d2c4dba

Contents?: true

Size: 944 Bytes

Versions: 7

Compression:

Stored size: 944 Bytes

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::Plugins::Default < Arachni::Plugin::Base

    def prepare
        @prepared = true
    end

    def run
        return if !@prepared
        @ran = true
    end

    def clean_up
        return if !@ran
        register_results( true )
    end

    def self.info
        {
            name:        'Default',
            description: %q{Some description},
            author:      'Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>',
            version:     '0.1',
            options:     [
                Options::Int.new( 'int_opt', description: 'An integer.', default: 4 )
            ]
        }
    end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 spec/support/fixtures/plugins/defaults/default.rb
arachni-1.0.5 spec/support/fixtures/plugins/defaults/default.rb
arachni-1.0.4 spec/support/fixtures/plugins/defaults/default.rb
arachni-1.0.3 spec/support/fixtures/plugins/defaults/default.rb
arachni-1.0.2 spec/support/fixtures/plugins/defaults/default.rb
arachni-1.0.1 spec/support/fixtures/plugins/defaults/default.rb
arachni-1.0 spec/support/fixtures/plugins/defaults/default.rb