Class: Ronin::CLI Private

Inherits:
Object
  • Object
show all
Includes:
CommandKit::Commands, CommandKit::Options::Version, Core::CLI::Help::Banner
Defined in:
lib/ronin/cli.rb,
lib/ronin/cli/dns.rb,
lib/ronin/cli/command.rb,
lib/ronin/cli/http_shell.rb,
lib/ronin/cli/ruby_shell.rb,
lib/ronin/cli/commands/ip.rb,
lib/ronin/cli/key_options.rb,
lib/ronin/cli/commands/asn.rb,
lib/ronin/cli/commands/dns.rb,
lib/ronin/cli/commands/irb.rb,
lib/ronin/cli/commands/md5.rb,
lib/ronin/cli/commands/new.rb,
lib/ronin/cli/commands/rot.rb,
lib/ronin/cli/commands/url.rb,
lib/ronin/cli/commands/xor.rb,
lib/ronin/cli/typo_options.rb,
lib/ronin/cli/commands/grep.rb,
lib/ronin/cli/commands/hmac.rb,
lib/ronin/cli/commands/host.rb,
lib/ronin/cli/commands/http.rb,
lib/ronin/cli/commands/pack.rb,
lib/ronin/cli/commands/sha1.rb,
lib/ronin/cli/commands/tips.rb,
lib/ronin/cli/commands/typo.rb,
lib/ronin/cli/host_and_port.rb,
lib/ronin/cli/printing/http.rb,
lib/ronin/cli/cipher_command.rb,
lib/ronin/cli/commands/proxy.rb,
lib/ronin/cli/commands/quote.rb,
lib/ronin/cli/method_options.rb,
lib/ronin/cli/binary_template.rb,
lib/ronin/cli/commands/decode.rb,
lib/ronin/cli/commands/encode.rb,
lib/ronin/cli/commands/escape.rb,
lib/ronin/cli/commands/netcat.rb,
lib/ronin/cli/commands/sha256.rb,
lib/ronin/cli/commands/sha512.rb,
lib/ronin/cli/commands/unpack.rb,
lib/ronin/cli/pattern_options.rb,
lib/ronin/cli/char_set_options.rb,
lib/ronin/cli/commands/archive.rb,
lib/ronin/cli/commands/bitflip.rb,
lib/ronin/cli/commands/decrypt.rb,
lib/ronin/cli/commands/encrypt.rb,
lib/ronin/cli/commands/entropy.rb,
lib/ronin/cli/commands/extract.rb,
lib/ronin/cli/commands/hexdump.rb,
lib/ronin/cli/commands/iprange.rb,
lib/ronin/cli/commands/strings.rb,
lib/ronin/cli/commands/unquote.rb,
lib/ronin/cli/commands/bitsquat.rb,
lib/ronin/cli/commands/cert_gen.rb,
lib/ronin/cli/commands/tld_list.rb,
lib/ronin/cli/commands/unescape.rb,
lib/ronin/cli/commands/cert_dump.rb,
lib/ronin/cli/commands/cert_grab.rb,
lib/ronin/cli/commands/dns_proxy.rb,
lib/ronin/cli/commands/highlight.rb,
lib/ronin/cli/commands/homoglyph.rb,
lib/ronin/cli/commands/typosquat.rb,
lib/ronin/cli/commands/unarchive.rb,
lib/ronin/cli/commands/unhexdump.rb,
lib/ronin/cli/commands/completion.rb,
lib/ronin/cli/commands/email_addr.rb,
lib/ronin/cli/commands/new/script.rb,
lib/ronin/cli/commands/banner_grab.rb,
lib/ronin/cli/commands/new/exploit.rb,
lib/ronin/cli/commands/new/payload.rb,
lib/ronin/cli/commands/new/project.rb,
lib/ronin/cli/commands/new/web_app.rb,
lib/ronin/cli/commands/new/nokogiri.rb,
lib/ronin/cli/commands/new/dns_proxy.rb,
lib/ronin/cli/file_processor_command.rb,
lib/ronin/cli/string_methods_command.rb,
lib/ronin/cli/commands/new/web_server.rb,
lib/ronin/cli/commands/new/web_spider.rb,
lib/ronin/cli/value_processor_command.rb,
lib/ronin/cli/string_processor_command.rb,
lib/ronin/cli/commands/new/dns_listener.rb,
lib/ronin/cli/commands/new/http_listener.rb,
lib/ronin/cli/commands/public_suffix_list.rb,
lib/ronin/cli/printing/syntax_highlighting.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

The main CLI logic for the ronin command.

Since:

  • 2.0.0

Defined Under Namespace

Modules: BinaryTemplate, CharSetOptions, Commands, DNS, HostAndPort, KeyOptions, MethodOptions, PatternOptions, Printing, TypoOptions Classes: Command, FileProcessorCommand, HTTPShell, RubyShell, StringMethodsCommand, StringProcessorCommand, ValueProcessorCommand

Constant Summary collapse

ADDITIONAL_RONIN_COMMANDS =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Additional ronin- commands to checkout.

Since:

  • 2.0.0

%w[
  ronin-repos
  ronin-wordlists
  ronin-db
  ronin-web
  ronin-fuzzer
  ronin-masscan
  ronin-nmap
  ronin-recon
  ronin-payloads
  ronin-exploits
  ronin-vulns
  ronin-app
]

Instance Method Summary collapse

Instance Method Details

#helpObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Prints the regular --help output but also lists other ronin-* commands.

Since:

  • 2.0.0



74
75
76
77
78
79
80
81
82
83
# File 'lib/ronin/cli.rb', line 74

def help
  super

  puts
  puts "Additional Ronin Commands:"
  ADDITIONAL_RONIN_COMMANDS.each do |name|
    puts "    $ #{name}"
  end
  puts
end