Initializing the Repeater
This command initializes the Repeater mode: bright-cli repeater [options]
. When a scan is run in the Repeater mode, all the scan requests are pulled from the cloud through a Repeater (scan proxy) to the local target of the scan.
The Repeater mode enables you to run the Bright scans on a local compiled application, without exposing your ports externally. This means that you can scan an application without having to deploy it or to generate external reports.
The Repeater mode is based on the Bright CLI version. If you have already connected a Repeater, you cannot connect the same Repeater (with the same ID) with a different CLI version. In this case, you first need to install the latest version of the Bright CLI and then proceed to the connection.
For more details about the Repeater mode, see Repeater (Scan Proxy).
Additional Features:
- Enables multiple scans to run through a single Repeater.
- Option to add headers to requests locally (for example, authentication cookie), without exposing them to the cloud.
Important:
The Repeater mode requires a working
AUTH_TOKEN
with the scopebot
.
Options
Option | Description |
---|---|
| The ID of an existing Repeater that you want to use |
| Allows specifying the Bright project for a scan using the project ID. You can find the project ID in the Projects section in the Bright App. Global Repeaters are available for every project. You can also connect a Repeater created for the specified project. But if you try to use a Repeater created specifically for some other Bright project, you will get an error message. Required option. |
| Extra headers to be passed with each request. Also, it can be used to remove a header by providing a name without content. For example,
|
| (Deprecated). Use the
|
| Time to wait for a server to send response headers (and start the response body) before aborting the request.
|
| File path to write logs to. If specified, logs will be written to this file
Extra optional params when
|
| Initializes the Repeater as a local daemon service.
|
| Stops and deletes the running repeater service. |
| Loads scripts to the Repeater from a JSON of
If you have loaded a local script to the Repeater using this CLI command, loading remote scripts from the Bright App is disabled automatically. See Repeater Scripts for more information about how the Repeater Scripts work. |
| You may require to authorize Bright to your network server by providing valid TLS/SSL certificates. This option allows you to load a file with multiple CA certificates to the Repeater that you use for the scan, for example: You can load certificates from the “Trusted Root Certification Authorities Certificate Store” (Windows only): The Bright CLI also supports autodiscovery from the following files:
https://github.com/drwetter/testssl.sh
Neither of the tools requires installation or an internet connection. |
| Certificate Configuration Multiple Certificates Support Certificate Configuration Format Wildcard Support Format Single Certificate Multiple Certificates for Different Ports Multiple Certificates for Different Hosts |
| Configure experimental support for TCP connections reuse. |
Updated 5 days ago