How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the API to be tested. In this case, the filters include the response code being greater than or equal to 200 and less than 300, and the URL being extracted and stored in the variable "urlVar".
Execute request
The execute section defines the type of request to be executed. In this template, it is a single request. The request is modified by appending "/nginx.conf" to the extracted URL stored in the "urlVar" variable.
Validation
The validation section specifies the conditions that need to be met for the test to pass. It checks that the response code is equal to 200 and that the response payload contains the strings "server", "listen", and "server_name". It also ensures that the response payload does not contain the string "html>". If all these conditions are met, the test is considered 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