Class: WPScan::Controller::Aliases

Inherits:
Base
  • Object
show all
Defined in:
app/controllers/aliases.rb

Overview

Controller to add the aliases in the CLI

Constant Summary

Constants included from OptParseValidator

OptParseValidator::VERSION

Instance Method Summary collapse

Methods inherited from Base

#==, #after_scan, #before_scan, #datastore, #formatter, #option_parser, option_parser=, #output, #render, reset, #run, #target, #tmp_directory, #user_interaction?

Instance Method Details

#cli_optionsObject



7
8
9
10
11
12
# File 'app/controllers/aliases.rb', line 7

def cli_options
  [
    OptAlias.new(['--stealthy'],
                 alias_for: '--random-user-agent --detection-mode passive')
  ]
end