A fast and efficient SQL Injection scanner written in Go. This tool automates the process of testing URLs for SQL injection by replacing parameter with payloads and checking responses against database error patterns.
urldedupe, grep, and egrep= and %3D (URL-encoded equals) in parametersresume.cfg; use --no-resume to start freshOr download the latest release for your platform.
| Flag | Short | Description | Default |
|------|------|-------------|---------|
| --payload | -p | Payload(s) to use: single ("'"), comma-separated ("',+"), or file path (payloads.txt) | Hardcoded default payloads |
| --errors | | Path to errors.xml file | ~/.config/sqlifinder/errors.xml |
| --timeout | | HTTP request timeout in seconds | 30 |
| --concurrent | | Number of concurrent URL scans | 50 |
| --vuln | | Show only URLs | false |
| --silent | | Silent mode (suppress banner) | false |
| -- | | Print and exit | false |
| --nc | | Disable colored output | false |
| -- | | Show output (download messages, etc.) | false |
| --no-resume | | Disable resume; start scanning fresh and ignore any existing resume.cfg | false |
#### Test with default settings
#### Test with custom timeout and concurrency
#### Start fresh without resuming
#### Show only URLs
#### Silent mode with no colors
#### Custom single payload
#### Multiple comma-separated payloads
#### Custom payloads file
#### mode (shows download messages)
1. URL Input: Reads URLs from stdin (supports both echo and cat)
2. URL Filtering: Automatically filters URLs using:
- Deduplicates URLs
- Filters URLs containing = or %3D (URL-encoded equals)
- Excludes URLs with static file extensions
3. Payload Testing: For each URL:
- Replaces all parameter with each payload
- Handles both = and %3D separators
- Makes HTTP GET requests with modified URLs
- Checks response body against database error patterns from errors.xml
4. DBMS Detection: Matches response against regex patterns for 20+ database systems:
- MySQL, PostgreSQL, Microsoft SQL Server, Oracle
- SQLite, IBM DB2, Informix, Firebird
- And many more...
5. Output: Displays results:
- : [DBMS_NAME] URL: Red colored output when SQL injection is detected with identified DBMS
- NOT : URL: Green colored output when no is found
The tool uses the following hardcoded SQL injection payloads by default:
' (single quote)" (double quote)+ (plus)- (minus)* (asterisk)[] (square brackets)') (single quote with closing parenthesis)\" (escaped double quote); (semicolon)You can o these using the --payload flag with:
-p "'"-p "',+"-p payloads.txtOn first run, if no --errors flag is provided, the tool automatically:
~/.config/sqlifinder/ directory~/.config/sqlifinder/errors.xmlUse -- flag to see download messages.
--nc flag)The tool supports both standard and URL-encoded parameter separators:
?id=value?id%3DvalueBoth formats are automatically detected and tested.
The tool detects SQL injection by checking HTTP responses against database-specific error patterns from the errors.xml file. When a pattern matches, it identifies the database system and reports the .
Supported database systems include:
--concurrent flag--timeout flagWhen scanning from a list (stdin), resume is enabled by default. Progress is sa each host to a resume.cfg file in the current directory in statistics format:
If a scan is interrupted (e.g., CTRL+C, terminal closed, system restart), re-run the same command in the same directory to automatically resume. The scanner skips the first scanned items from the post-filtered input stream and continues.
--no-resume.resume.cfg is deleted automatically.The resume counter is defined over the post-filtered stream (after urldedupe/grep), so resuming requires running the same command again to reproduce the same filtered order.
The scanner responds immediately to the first CTRL+C:
To resume an interrupted scan, simply run the same command again in the same directory. The scanner will continue from where it left off. The resume file is automatically deleted after successful completion.
开发语言:Go
Star 数:10
该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕A fast and efficient SQL Injection vulnerability scanner written in Go. This tool automates the process of testing URLs for SQL injection vulnerabilities by replacing parameter values with payloads and checking responses against database error patterns.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | sqlifinder - A fast and efficient SQL Injection vulnerability s |
| 所属分类 | 安全软件 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 23:02:24 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 301 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |