Skip to content
项目

stamparm/DSSS has 884 GitHub stars and 201 forks. GitHot measured -1 stars in 24 hours. Last checked 2026-11-20 07:29 UTC. Last push 2026-10-14.

这些数字如何统计

实测星标增长

24小时
-1
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

Damn Small SQLi Scanner

数据

README.md

原文

Damn Small SQLi Scanner Python 3.x License

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

Vulnerable

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

Sample runs

$ python3 dsss.py -h
Damn Small SQLi Scanner (DSSS) < 100 LoC (Lines of Code) #v0.4b
 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")
$ python3 dsss.py -u "https://sekumart.sekuripy.hr/product.php?id=1"
Damn Small SQLi Scanner (DSSS) < 100 LoC (Lines of Code) #v0.4b
 by: Miroslav Stampar (@stamparm)

* scanning GET parameter 'id'
 (i) GET parameter 'id' appears to be blind SQLi vulnerable (e.g.: 'https://sekumart.sekuripy.hr/product.php?id=1%20AND%2069%3D69')

scan results: possible vulnerabilities found

Requirements

Python version 3.x is required for running this program.

Tests

The tests directory holds a stdlib-only regression suite. All targets are local: a bundled HTTP fixture serves pages built by a real sqlite3 database whose queries are string interpolated, so the injections found there are genuine and no Internet access is needed:

$ python3 -m unittest discover -s tests -v

The same cases against a real MySQL are skipped unless Docker and the image are available, while python3 tests/mutations.py puts each pre-fix version of dsss.py back and checks that the suite notices.