sqlmap_run
Run sqlmap SQL injection assessments with actions for basic scans, custom requests, database enumeration, data dumping, and OS command execution on a target URL.
Instructions
Purpose: Run sqlmap with action=scan_basic|scan_custom|enumerate|dump|os_cmd. Constraints: Requires target_url and target validation. Always uses --batch and a workspace output directory. scan_custom supports method, data, cookies, level, risk, techniques, tamper, proxy, forms… Example: sqlmap_run(action='scan_basic', target_url='http://host/item?id=1')
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": {
"action": "<action>",
"target_url": "<target_url>"
},
"name": "sqlmap_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | ||
| data | No | ||
| risk | No | ||
| forms | No | ||
| level | No | ||
| proxy | No | ||
| table | No | ||
| action | Yes | ||
| method | No | GET | |
| tamper | No | ||
| command | No | ||
| cookies | No | ||
| enum_what | No | ||
| extra_args | No | ||
| target_url | Yes | ||
| techniques | No | ||
| include_raw | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||