How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the APIs to be tested. In this case, the filters include the response code filter, which selects APIs with a response code greater than or equal to 200 and less than 300, and the URL filter, which extracts the URL from the response and assigns it to the variable "urlVar".
Execute request
The execute section of the template defines the type of request to be executed. In this case, it is a single request. The request is modified using the "modify_url" action, where the URL variable "urlVar" is appended with "/config/". This modified URL is used to send the request.
Validation
The validation section specifies the conditions that the response should meet to be considered valid. In this template, the response code is validated to be equal to 200, indicating a successful request. Additionally, the response payload is checked to ensure it contains both "Index of /configs" and "Parent Directory" strings. If these conditions are met, the validation is successful.
Frequently asked questions
Explore other tests
eSMTP - Config Discovery
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