SuperAPI AI Directory

https://www.kali.org/tools/sqlmap/

sqlmap is an automated SQL injection detection and exploitation tool, mainly used for web application security testing. It can identify SQL injection vulnerabilities in a target URL or HTTP request and, in authorized assessments, assist with database fingerprinting, user and privilege enumeration, database and table data extraction, file reading, and other operations. The tool is usually preinstalled in Kali Linux and can also be installed via apt. Explicit authorization must be obtained before use, and relevant laws and regulations must be complied with.

Open website Compare
Monthly visits
2.2M-3.2%
Avg. visit2m 44s4.5 页
AI referrals1.8%Chatbot referral share
Global rank#21,980

Sources: DataForSEO · SimilarWeb · Snapshot 2026-10

About this tool

sqlmap is an open-source automated SQL injection tool whose goal is to detect and exploit SQL injection vulnerabilities in web applications. It is often used in authorized web application security assessments and penetration testing scenarios.

Main capabilities: after detecting one or more SQL injection points on a target host, sqlmap provides various options for fingerprinting the back-end database management system, obtaining the current database session user and database name, enumerating users, password hashes, privileges, and databases, dumping the entire database or the tables and columns of a specified user, executing custom SQL statements, reading specific files from the file system, and more. The tool also includes sqlmapapi, which can be used as an API server.

Usage: in Kali Linux, it can be installed via sudo apt install sqlmap, with an installation size of about 13.00 MB. A basic usage example is: sqlmap -u "http://192.168.1.250/?p=1&forumaction=search" --dbs, which tests the given URL and extracts database names. In authorized assessments, you can also save the complete HTTP request captured by Burp Suite as a text file (such as request.txt), then use the -r option to load the raw request and use -p to specify only the parameter to test, for example -r request.txt -p id; this example keeps the default test depth and risk settings and does not enumerate or dump database contents. For POST requests provided directly on the command line, you can use --data and select parameters in the same way. When diagnosing results, you can compare the selected parameter with the original request and review the HTTP behavior, then decide whether to expand the testing scope; the --flush-session option can clear the session data for the current target and force the tests to run again. --batch only automatically answers interactive prompts and is not a security control.

Applicable scenarios: explicitly authorized web application security assessments, penetration testing teaching, and lab environments (such as the SQL injection chapters in OffSec-related courses).

Limitations and precautions: the official documentation explicitly states that using sqlmap to attack targets without the prior consent of both parties is illegal; users are responsible for complying with all applicable local, state, and federal laws, and the developers assume no liability for any misuse or damage. Explicit authorization should be obtained, testing should remain within the agreed scope, and checks that may cause disruption should be coordinated with the application owner; unless the rules of engagement explicitly permit it, avoid increasing --risk or running data extraction against production systems.