callback_generate
Generate callback payload URLs and commands for injection testing. Each payload carries a unique identifier for tracking when the callback catcher receives a hit.
Instructions
Generate callback payload URLs and commands for injection testing.
Creates ready-to-use payloads with unique identifiers that will be captured by the callback catcher when triggered.
Args: listener_ip: IP address of the callback listener (your Kali IP). http_port: HTTP listener port (default 8888). dns_port: DNS listener port (default 5353). payload_type: Type of payload to generate. Options: 'url' — simple callback URL 'curl' — curl and wget one-liners 'xxe' — XML External Entity payloads 'ssrf' — SSRF test URLs 'dns' — DNS lookup commands (nslookup, dig, host) 'all' — all of the above
Returns: Generated payloads with unique identifiers for tracking.
Example: callback_generate(listener_ip='10.10.14.5') callback_generate(listener_ip='10.10.14.5', payload_type='xxe')
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": {
"listener_ip": "<listener_ip>"
},
"name": "callback_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns_port | No | ||
| http_port | No | ||
| listener_ip | Yes | ||
| payload_type | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |