Add a ronin-recon config command for controlling the ~/.config/ronin-recon/config.yml file.
There must be a ConfigOption module which defines a --config-file option and a method to load the configuration (this can be extracted from the Run command).
There must also be a ConfigCommand base class which defines additional methods for saving the modified configuration back out to either the default config file or the --config-file path.
The ronin-recon config command must define the following sub-commands:
ronin-recon config list - Prints out all configuration values.
ronin-recon config enable WORKER - adds a worker to the config.workers and saves the config.
ronin-recon config disable WORKER - removes a worker to the config.workers and saves the config.
ronin-recon config set {--param WORKER.NAME=VALUE | --concurrency WORKER=NUM} - sets a worker's param or concurrency.
ronin-recon config get {--param WORKER.NAME | --concurrency WORKER} - gets a worker's param value or concurrency value.
ronin-recon config unset {--param WORKER.NAME | --concurrency WORKER} - removes the worker's param value or concurrency value.
Add a
ronin-recon config
command for controlling the~/.config/ronin-recon/config.yml
file.ConfigOption
module which defines a--config-file
option and a method to load the configuration (this can be extracted from theRun
command).ConfigCommand
base class which defines additional methods for saving the modified configuration back out to either the default config file or the--config-file
path.ronin-recon config
command must define the following sub-commands:ronin-recon config list
- Prints out all configuration values.ronin-recon config enable WORKER
- adds a worker to theconfig.workers
and saves the config.ronin-recon config disable WORKER
- removes a worker to theconfig.workers
and saves the config.ronin-recon config set {--param WORKER.NAME=VALUE | --concurrency WORKER=NUM}
- sets a worker's param or concurrency.ronin-recon config get {--param WORKER.NAME | --concurrency WORKER}
- gets a worker's param value or concurrency value.ronin-recon config unset {--param WORKER.NAME | --concurrency WORKER}
- removes the worker's param value or concurrency value.