Sha256: 52f6f52ef678c2a5c331e52cef1bd76e0edbf2e7babef31ff48a32eb2aa94401
Contents?: true
Size: 1.69 KB
Versions: 3
Compression:
Stored size: 1.69 KB
Contents
# #-- # Ronin - A Ruby platform designed for information security and data # exploration tasks. # # Copyright (c) 2006-2008 Hal Brodigan (postmodern.mod3 at gmail.com) # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #++ # require 'ronin/shell' module Ronin module RPC class Interactive < Ronin::Shell # The service to interactive with attr_reader :service # # Creates a new Interactive object using the specified _service_ and # the given _options_. If a _block_ is given it will be passed the # newly created Interactive object. # def initialize(service,options={},&block) @service = service super(options,&block) end # # Starts a newly created Interactive object with the specified # _service_ with the given _options_. If a _block_ is given, it will # be passed the newly created Interactive object, before it is started. # def Interactive.start(service,options={},&block) Interactive.new(service,options,&block).start end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ronin-0.0.9 | lib/ronin/rpc/interactive.rb |
ronin-0.1.0 | lib/ronin/rpc/interactive.rb |
ronin-0.1.1 | lib/ronin/rpc/interactive.rb |