Damn Small SQLi Scanner (DSSS) & Damn Small XSS Scanner (DSXS) released.

Damn Small SQLi Scanner (DSSS) & Damn Small XSS Scanner (DSXS) released.

Damn Small SQLi Scanner (DSSS) has been made as a PoC to show that commercial (SQLi) scanners can be beaten under 100 lines of code. It supports GET and POST parameters, blind/error SQLi tests and advanced comparison of different response attributes to distinguish blind responses. If you are satisfied with your commercial tool scanning results then I believe that you could even be more satisfied with this one.
As of optional settings it supports HTTP proxy together with HTTP header values “User-Agent”, “Referer” and “Cookie”.

$ python dsss.py -h
Damn Small SQLi Scanner (DSSS) < 100 LoC (Lines of Code) #v0.2c
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.2c
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

Python v2.6 or v2.7 is required for running this program. has beentested with Windows 7, Mac OSX, and all Linux Variant.

Python v2.6 or v2.7 is required for running this program. has beentested with Windows 7, Mac OSX, and all Linux Variant.

Damn Small XSS Scanner (DSXS) is a fully functional XSS 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-Agent”, “Referer” and “Cookie”.

$ python dsxs.py -h
Damn Small XSS Scanner (DSXS) < 100 LoC (Lines of Code) #v0.1g
by: Miroslav Stampar (@stamparm)

Usage: dsxs.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.htm?id=1”)
–data=DATA POST data (e.g. “query=test”)
–cookie=COOKIE HTTP Cookie header value
–user-agent=UA HTTP User-Agent header value
–random-agent Use randomly selected HTTP User-Agent header value
–referer=REFERER HTTP Referer header value
–proxy=PROXY HTTP proxy address (e.g. “http://127.0.0.1:8080”)

Download :
DSSS-Master.zip (3.7 KB) 
DSXS-Master.Zip (3.8 KB)
Source : https://github.com/stamparm