Ghauri is a cutting-edge, cross-platform tool designed to automate the detection and exploitation of SQL injection vulnerabilities in web applications.
Developed by Nasir Khan (r0ot h3x49), Ghauri has gained recognition for its effectiveness, simplicity, and ability to handle complex SQL injection scenarios where other tools may falter.
Key Features
Ghauri supports a wide range of SQL injection techniques, including Boolean-based, Error-based, Time-based, and Stacked Queries.
It is compatible with popular database management systems such as MySQL, Microsoft SQL Server, PostgreSQL, Oracle, and Microsoft Access.
The tool also provides flexibility in testing various injection types, including GET/POST parameters, headers, cookies, JSON data, SOAP/XML payloads, and multipart form data.
Some standout features include:
- Proxy Support: Allows users to route requests through proxies.
- Session Management: Supports resuming interrupted scans.
- Advanced Data Extraction: Enables limiting data extraction with switches like
--start
and--stop
. - Customizable Detection: Offers options to fine-tune detection levels and payloads.
- SQL Shell: Provides an experimental interactive SQL shell for manual queries.
- Automation: Includes options for scanning multiple targets from a file and handling redirects.
Ghauri requires Python 3 and pip for installation. Users can clone the GitHub repository using:
bashgit clone https://github.com/r0oth3x49/ghauri.git
cd ghauri
python3 -m pip install --upgrade -r requirements.txt
Once installed, Ghauri can be run with the ghauri --help
command to explore its options. For example:
bashghauri -u http://www.example.com/vuln.php?id=1 --dbs
This command scans the provided URL for vulnerabilities and enumerates available databases.
Why Choose Ghauri?
Ghauri was created to address limitations in existing tools like SQLMap. Its robust internal mechanics allow it to detect and exploit vulnerabilities that might otherwise go unnoticed.
It automatically adapts its techniques based on the target’s behavior, making it highly effective in real-world scenarios.
While Ghauri is still evolving, it has already proven to be a reliable alternative for penetration testers and security researchers. Its user-friendly design and advanced features make it a valuable addition to any security toolkit.
The use of Ghauri without proper authorization is illegal. Users must ensure compliance with all applicable laws and obtain permission before testing any system.
In summary, Ghauri is a powerful tool that simplifies SQL injection detection and exploitation while offering advanced capabilities for experienced users.