Sha256: cec1f32ceaf70c16cf63e601ab90d7a02c66bd82e2d94777d28c102699c86b82

Contents?: true

Size: 979 Bytes

Versions: 5

Compression:

Stored size: 979 Bytes

Contents

=begin
                  Arachni
  Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>

  This is free software; you can copy and distribute and modify
  this program under the term of the GPL v2.0 License
  (See LICENSE file for details)

=end

module Arachni

require Options.instance.dir['lib'] + 'module/manager'

module RPC
class Server

module Module

#
# We need to extend the original Manager and redeclare its inherited methods
# which are required over RPC.
#
# @author: Tasos "Zapotek" Laskos
#                                      <tasos.laskos@gmail.com>
#                                      <zapotek@segfault.gr>
# @version: 0.1.1
#
class Manager < ::Arachni::Module::Manager

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

    def initialize( opts )
        super( opts )
    end

    def load( mods )
        super( mods )
        @opts.mods = mods
    end

end

end
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.0.4 lib/arachni/rpc/server/module/manager.rb
arachni-0.4.0.3 lib/arachni/rpc/server/module/manager.rb
arachni-0.4.0.2 lib/arachni/rpc/server/module/manager.rb
arachni-0.4.0.1 lib/arachni/rpc/server/module/manager.rb
arachni-0.4 lib/arachni/rpc/server/module/manager.rb