DSSS – Damn Small SQLi Scanner

DSSS (Damn Small SQLi Scanner) is a fully functional SQL injection vulnerability scanner (supporting GET and POST parameters) written in under 100 lines of code.

As of optional settings it supports HTTP proxy together with HTTP header values User-AgentReferer and Cookie.

Also Read – SQLMap : Automatic SQL Injection & Database Takeover Tool

Requirements

Python version 2.6.x or 2.7.x is required for running this program.

Sample Runs

$ python dsss.py -h
Damn Small SQLi Scanner (DSSS) < 100 LoC (Lines of Code) #v0.2o
by: Miroslav Stampar (@stamparm)

Usage: dsss.py [options]

Options:

–version show program’s version number and exit
-h, –help show this help message and exit
-u URL, –url=URL Target URL (e.g. “http://www.target.com/page.php?id=1”)
–data=DATA POST data (e.g. “query=test”)
–cookie=COOKIE HTTP Cookie header value
–user-agent=UA HTTP User-Agent header value
–referer=REFERER HTTP Referer header value
–proxy=PROXY HTTP proxy address (e.g. “http://127.0.0.1:8080”)

$ python dsss.py -u “http://testphp.vulnweb.com/artists.php?artist=1”
Damn Small SQLi Scanner (DSSS) < 100 LoC (Lines of Code) #v0.2o
by: Miroslav Stampar (@stamparm)

*scanning GET parameter ‘artist’
(i) GET parameter ‘artist’ could be error SQLi vulnerable (MySQL)
(i) GET parameter ‘artist’ appears to be blind SQLi vulnerable (e.g.: ‘http://t
estphp.vulnweb.com/artists.php?artist=1%20AND%2061%3E60′)
scan results: possible vulnerabilities found

R K

Recent Posts

garak, LLM Vulnerability Scanner : The Comprehensive Tool For Assessing Language Model Security

garak checks if an LLM can be made to fail in a way we don't…

14 hours ago

Vermilion : Mastering Linux Post-Exploitation For Red Team Success

Vermilion is a simple and lightweight CLI tool designed for rapid collection, and optional exfiltration…

14 hours ago

AD-CS-Forest-Exploiter : Mastering Security Through PowerShell For AD CS Misconfiguration

ADCFFS is a PowerShell script that can be used to exploit the AD CS container…

14 hours ago

Usage Of Tartufo – A Comprehensive Guide To Securing Your Git Repositories

Tartufo will, by default, scan the entire history of a git repository for any text…

14 hours ago

Loco : A Rails-Inspired Framework For Rust Developers

Loco is strongly inspired by Rails. If you know Rails and Rust, you'll feel at…

2 days ago

Monolith : The Ultimate Tool For Storing Entire Web Pages As Single HTML Files

A data hoarder’s dream come true: bundle any web page into a single HTML file.…

2 days ago