How this template works
APIs Selection
The API selection filters in this template specify the criteria for selecting the URLs to be scanned for private keys. It filters the URLs based on the response code, ensuring that only URLs with a response code between 200 and 299 are considered. It also extracts the URL variable from the response for further use.
Execute request
The execute section of the template defines a single request to be executed. It modifies the URL by appending the URL paths from the wordLists section to the URL variable extracted in the API selection filters. This creates a list of URLs to be scanned for private keys.
Validation
The validation section specifies the criteria for validating the response of the executed request. It checks that the response code is equal to 200 and that the response payload contains one of the specified private key indicators. It also ensures that the response payload does not contain any HTML tags, indicating that the response is not an error page.
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