wpscanteam/wpscan

View on GitHub
app/controllers/aliases.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module WPScan
  module Controller
    # Controller to add the aliases in the CLI
    class Aliases < CMSScanner::Controller::Base
      def cli_options
        [
          OptAlias.new(['--stealthy'],
                       alias_for: '--random-user-agent --detection-mode passive --plugins-version-detection passive')
        ]
      end
    end
  end
end