How this template works
APIs Selection
The API selection filters in this template are used to filter requests based on specific criteria. In this case, the filters are checking if the request payload or query parameter contains the string "http". If the condition is met, the request will be selected for further processing.
Execute request
The execute section of the template specifies the actions to be performed on the selected requests. In this case, the template modifies the query parameter and body parameter by appending the string "| echo 'hello world'". This is done to simulate a command injection vulnerability and test the system's response.
Validation
The validation section defines the expected response from the system. It checks if the response payload contains the string "hello world". If the validation is successful, it indicates that the system is vulnerable to command injection and the template has successfully identified the issue.
Frequently asked questions
"The text editor in Akto is absolutely remarkable. Its user-friendly YAML format strikes the perfect balance between simplicity and power. With intuitive features like 'API selection filter', 'Execute', Validate' creating test rules becomes incredibly easy. Akto's test editor is a game-changer, enabling seamless creation of highly personalized and effective tests that could meet the needs of any modern day organization. "
Security team,
Rippling