How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the API request to be executed. In this case, the filters include the response code range (between 200 and 299) and the extraction of the URL variable.
Execute request
The execute section defines the type of request to be executed, which is a single request in this case. It also specifies the modification of the URL using the extracted URL variable (${urlVar}) to access the .esmtprc file.
Validation
The validation section sets the criteria for validating the response received from the executed request. It checks that the response code is equal to 200, the response payload contains specific keywords (hostname, username, and password), and the response headers contain the value "text/html".
Frequently asked questions
Explore other tests
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration Exposure
Msmtp - Config Exposure
Parameters.yml - File Discovery
Mongo Express - Unauthenticated Access
Apache Airflow Configuration Exposure
Dockerrun AWS Configuration Exposure
Apache Config file disclosure
Appspec Yml Disclosure
CGI script environment variable
circleci config.yml exposure