How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the API endpoint to be tested. In this case, the filters include the response code range (between 200 and 299) and the extraction of the URL from the response to be used in the subsequent request.
Execute request
The execute section defines the type of request to be executed. In this template, it is set to "single," indicating that a single request will be made. The request is modified using the "modify_url" parameter, which appends "/.msmtprc" to the extracted URL.
Validation
The validation section specifies the conditions that the response should meet to be considered valid. It checks for a response code of 200, and the response payload should contain specific keywords related to the Msmtp configuration file. Additionally, the response headers should contain either "text/plain" or "octet-stream" values.
Frequently asked questions
Explore other tests
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration 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