Each test case is defined in a Markdown file in the [_testcases/] folder, named <testcase name>.md. The file consists only of a YAML front matter block describing the test case and its attributes.
The full syntax is the following:
---
sno: 1
testcase: Scan the target for open TCP and UDP ports using nmap.
platforms:
- Network
- Web
- API
- Mobile
references:
- https://nmap.org/download.html
---
platforms: Values from the relevant platforms YAML file (e.g., _data/platforms.yml)
references: At least one link to a relevant tool or resource
I accept commands that run on either Linux or Windows, just as long as they are useful for any kind of attacking scenario.
Before sending a pull request of a new command, ensure the following:
Test Your Test Case:
Ensure your test case is accurate, relevant, and clearly described.
Use Standard YAML Front Matter:
Provide clear and concise YAML front matter as shown in the example above.
Specify Platforms:
List all applicable platforms for your test case using values from the relevant platforms YAML file.
Provide References:
Include at least one link to a relevant tool or resource under references.
Data Additions:
If you add new platforms and test cases ensure they are relevant, well-documented, and added to the appropriate YAML files in _data/.
Style and Formatting:
Follow the existing YAML and Markdown formatting for consistency and readability.