sqlmap_test
Detect SQL injection vulnerabilities in web application parameters by running sqlmap against a target URL, with optional POST data and configurable test level and risk. Requires authorization and exploitation enabled.
Instructions
Test a URL/parameter for SQL injection (sqlmap). GATED — exploitation.
TOOL_NAME=sqlmap_test DISPLAY_NAME=SQLMap Injection Tester USECASE=Detect and exploit SQL injection in an authorized web app parameter INSTRUCTIONS=1. Enable ALLOW_EXPLOITATION, 2. Ensure host in scope, 3. Provide the URL (with parameter) and optional POST data, 4. Call INPUT_DESCRIPTION=target (URL incl. query param); data (POST body, optional); level (1-5); risk (1-3) OUTPUT_DESCRIPTION=Dict with status, sqlmap output, command and mode; blocked if exploitation disabled EXAMPLES=sqlmap_test("http://host/item.php?id=1", level=1, risk=1) PREREQUISITES=ALLOW_EXPLOITATION=true AND target authorized and in scope RELATED_TOOLS=nuclei_scan, searchsploit_lookup
Args: target: URL including the parameter to test (must be in scope). data: Optional POST data string. level: sqlmap test level (1-5). risk: sqlmap risk level (1-3).
Returns:
Structured result dict (blocked if exploitation is disabled).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| risk | No | ||
| level | No | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||