sqlmap – Automatic SQL injection and database takeover Tool

sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers.

It comes with a powerful detection engine, many niche features for the ultimate penetration tester and a broad range of switches lasting from database fingerprinting, over data fetching from the database, to accessing the underlying file system and executing commands on the operating system via out-of-band connections.

sqlmap - Automatic SQL injection and database takeover Tool
sqlmap – Automatic SQL injection and database takeover Tool

sqlmap include the following features:

  • Full support for MySQL, Oracle, PostgreSQL, Microsoft SQL Server, Microsoft Access, IBM DB2, SQLite, Firebird, Sybase, SAP MaxDB, Informix, HSQLDB and H2 database management systems.
  • Full support for six SQL injection techniques: boolean-based blind, time-based blind, error-based, UNION query-based, stacked queries and out-of-band.
  • Support to directly connect to the database without passing via a SQL injection, by providing DBMS credentials, IP address, port and database name.
  • Support to enumerate users, password hashes, privileges, roles, databases, tables and columns.
  • Automatic recognition of password hash formats and support for cracking them using a dictionary-based attack.
  • Support to dump database tables entirely, a range of entries or specific columns as per user’s choice. The user can also choose to dump only a range of characters from each column’s entry.
  • Support for database process’ user privilege escalation via Metasploit’s Meterpreter getsystem command.

This tool will allow to automate the SQL injection attack instead of testing different vulnerabilities manually.  There are many options and features with sqlmap to test sql and database attack one of the advanced feature is using Google dork to search for vulnerable and exposed sql DB.

Most modern tools is adding as much as possible integration with online search engines to avoid security measures implemented such as WAF, IDS and network firewalls.  

You can read more and download this tool over here: https://github.com/sqlmapproject/

Share