ai_generate_payload
Generate contextual security test payloads for XSS, SQLi, LFI, command injection, SSTI, and XXE attacks using attack type, complexity, technology, and target URL inputs.
Instructions
Generate AI-powered contextual payloads for security testing.
Args: attack_type: Type of attack (xss, sqli, lfi, cmd_injection, ssti, xxe) complexity: Complexity level (basic, advanced, bypass) technology: Target technology (php, asp, jsp, python, nodejs) url: Target URL for context
Returns: Contextual payloads with risk assessment and test cases
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"attack_type": "<attack_type>"
},
"name": "ai_generate_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| complexity | No | basic | |
| technology | No | ||
| attack_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |