Sha256: 1b69013e543dca2b128a092746eb335fff69f1c29e60dd949db390d1b2eea5d9

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

#
# Ronin Scanners - A Ruby library for Ronin that provides Ruby interfaces to
# various third-party security scanners.
#
# Copyright (c) 2008-2012 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/ui/cli/script_command'
require 'ronin/scanners/scanner'

module Ronin
  module UI
    module CLI
      module Commands
        class Scanner < ScriptCommand

          summary 'Loads and runs a scanner'

          script_class Ronin::Scanners::Scanner

          # scanner options
          option :first, :type => Integer, :flag => '-N'
          option :import, :type => true, :flag => '-I'

        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ronin-scanners-1.0.0.pre1 lib/ronin/ui/cli/commands/scanner.rb