Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bambish/ScanQLi

SQLi scanner to detect SQL vulns
https://github.com/bambish/ScanQLi

Last synced: 22 days ago
JSON representation

SQLi scanner to detect SQL vulns

Awesome Lists containing this project

README

        

# ScanQLi [![License](https://img.shields.io/badge/license-GPLv3-red.svg)](https://github.com/bambish/ScanQLi/blob/master/LICENSE.md) ![Python 2|3](https://img.shields.io/badge/python-2|3-yellow.svg) [![Twitter](https://img.shields.io/badge/[email protected])](https://twitter.com/bambishee)

![Screenshot](https://github.com/bambish/ScanQLi/blob/master/.screenshots/scanqli.jpg)

ScanQLi is a simple SQL injection scanner with somes additionals features.
This tool can't exploit the SQLi, it just detect them.

_Tested on Debian 9_

### Features

* Classic
* Blind
* Time based
* _GBK (soon)_

* Recursive scan (follow all hrefs of the scanned web site)
* Cookies integration
* Adjustable wait delay between requests
* Ignore given URLs

### Prerequisites

**1.** Install git tool.

```bash
apt update
apt install git
```

**2.** Clone the repo.

```bash
git clone https://github.com/bambish/ScanQLi
```

**3.** Install python required libs

```bash
apt install python-pip
cd ScanQLi
pip install -r requirements.txt
```

For Python 3 please install `python3-pip` and use `pip3`.

### Usage

```bash
python scanqli -u [URL] [OPTIONS]
```

### Examples

Simple URL scan with output file:

```bash
python scanqli.py -u 'http://127.0.0.1/test/?p=news' -o output.log
```

Recursive URL scanning with cookies:

```bash
python scanqli.py -u 'https://127.0.0.1/test/' -r -c '{"PHPSESSID":"4bn7uro8qq62ol4o667bejbqo3" , "Session":"Mzo6YWMwZGRmOWU2NWQ1N2I2YTU2YjI0NTMzODZjZDVkYjU="}'
```

### Warning

ScanQLi was created to perform pentest or others legal stuffs (like bug bounty).
Using ScanQLi against web site **without authorization** is **forbidden**.

I'm not responsible of your usage of ScanQLi.
**At your own risk**.