Sha256: f0ca1c6386210e39c1d40cfe129c4394253435da3b7220888c9bc5c492d4afd8

Contents?: true

Size: 936 Bytes

Versions: 5

Compression:

Stored size: 936 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.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::Distributable < Arachni::Plugin::Base

    is_distributable

    def run
        wait_while_framework_running
        register_results( 'stuff' => 1 )
    end

    def self.merge( results )
        { 'stuff' => results.map { |res| res['stuff'] }.inject( :+ ) }
    end

    def self.info
        {
            name:        'Distributable',
            description: %q{},
            author:      'Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>',
            version:     '0.1',
            issue:       {
                tags: [ 'distributable_string', :distributable_sym ]
            }
        }
    end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/support/fixtures/plugins/distributable.rb
arachni-1.6.1.2 spec/support/fixtures/plugins/distributable.rb
arachni-1.6.1.1 spec/support/fixtures/plugins/distributable.rb
arachni-1.6.1 spec/support/fixtures/plugins/distributable.rb
arachni-1.6.0 spec/support/fixtures/plugins/distributable.rb