Sha256: e6187e5c4d4f8db742146c193ff15931932eeb96eb8709df441adf589b750988

Contents?: true

Size: 892 Bytes

Versions: 7

Compression:

Stored size: 892 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

module Arachni

require Options.paths.lib + 'check/manager'

module RPC
class Server

# @private
module Check

# We need to extend the original Manager and re-declare its inherited methods
# which are required over RPC.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
class Manager < ::Arachni::Check::Manager

    # make these inherited methods visible again
    private :load, :available, :loaded, :load_all
    public :load, :available, :loaded, :load_all

    def load( checks )
        @framework.options.checks = super( checks )
    end

end

end
end
end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.0.6 lib/arachni/rpc/server/check/manager.rb
arachni-1.0.5 lib/arachni/rpc/server/check/manager.rb
arachni-1.0.4 lib/arachni/rpc/server/check/manager.rb
arachni-1.0.3 lib/arachni/rpc/server/check/manager.rb
arachni-1.0.2 lib/arachni/rpc/server/check/manager.rb
arachni-1.0.1 lib/arachni/rpc/server/check/manager.rb
arachni-1.0 lib/arachni/rpc/server/check/manager.rb