Sha256: 0a3f0cbc50d79a772bd13a493f258ba6a0b06a44bee388508533957fd02c9316

Contents?: true

Size: 794 Bytes

Versions: 1

Compression:

Stored size: 794 Bytes

Contents

require 'command_mapper/command'

module Rustscan
  class Command < CommandMapper::Command

    command 'rustscan' do
      option '--accessible'
      option '--greppable'
      option '--help'
      option '--no-config'
      option '--top'
      option '--version'
      option '--addresses', value: {type: List.new}
      option '--batch-size', value: {type: Num.new}
      option '--ports', value: {type: List.new(type: Num.new)}
      option '--scan-order', value: {type: Enum[:serial, :random]}
      option '--scripts', value: {type: Enum[:none, :default, :custom]}
      option '--timeout', value: {type: Num.new}
      option '--tries', value: {type: Num.new}
      option '--ulimit', value: {type: Num.new}

      argument :command, repeats: true, required: false
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-rustscan-0.1.0 lib/rustscan/command.rb