PROFESSIONAL SQL INJECTION DETECTION & EXPLOITATION TRIAGE FRAMEWORK
๐ GitHub ยท Website ยท Report Bug
- Overview
- Features
- Installation
- Quick Start
- Usage Guide
- Enterprise Dashboard
- Export & Reporting
- How It Works
- Architecture
- Upcoming Features
- Legal Notice
VIP SQLi Scanner is a next-generation, high-performance security framework for automated SQL Injection discovery and triage. Built for professional penetration testers, bug bounty hunters, and enterprise security teams.
v4.0 introduces Team Workspaces, Threat Intelligence enrichment, Scan Templates, Webhook integrations, Scan Comparison/Diff, and a fully upgraded Cyberpunk dashboard with GitHub OAuth.
| Technique | Description | Since |
|---|---|---|
| Error-Based | 100+ SQL error signatures across MySQL, PG, Oracle, MSSQL, SQLite, DB2 | v1.0 |
| Time-Based Blind | High-accuracy detection with automated WAF bypass | v2.0 |
| Boolean-Based Blind | Precision logic-pair testing with response diff analysis | v3.0 |
| ML Scoring | Random Forest + XGBoost ensemble to qualify findings | v3.0 |
| Union-Based | Column enumeration and data extraction detection | v4.0 |
| Stacked Queries | Multi-statement injection detection | v4.0 |
- Cyberpunk Glassmorphism UI โ Real-time visualization with premium aesthetics
- GitHub OAuth SSO โ Secure team-based security operations
- Team Workspaces โ Collaborative scanning with role-based access control
- Distributed Nodes โ Register and monitor external scan nodes for massive scalability
- Real-time WebSocket Feed โ Live vulnerability updates as findings are discovered
- Scan Templates โ Save and reuse scan configurations (Quick, Thorough, Stealth, CI/CD)
- Dual-Model Ensemble: Random Forest + XGBoost for maximum accuracy
- Confidence Scoring: Per-result confidence metrics (0โ1)
- Auto-Training: Continuously improves from verified scan results
- False Positive Reduction: Intelligent noise filtering
| Format | Description |
|---|---|
| SARIF v2.1.0 | GitHub Advanced Security integration |
| Executive reports with CVSS scoring | |
| HTML | Beautiful visual reports with Bootstrap |
| JSON | Structured data for SIEM/API integration |
| CSV | Spreadsheet-ready bulk export |
| XML | Enterprise system integration |
| Markdown | Documentation-ready reports |
- Rule #0 Skip: Automatically excludes 60+ static asset types to maximize speed
- Risk Assessment: Analyzes 15+ high-risk extensions and 60+ sensitive parameters
- WAF Detection & Bypass: Identifies WAF type and applies sophisticated encoding
- Domain Filter: Auto-organizes results into
safeurl.txt/vulnurl.txtper domain
- Slack โ Real-time vulnerability notifications to your SOC channel
- Jira โ Auto-create tickets for critical findings
- AWS S3 โ Cloud report storage and archival
- Webhooks โ Custom HTTP callbacks for any system
- GitHub Advanced Security โ SARIF upload for code scanning alerts
- Python 3.9+
- pip
# 1. Clone the repository
git clone https://github.com/viphacker100/VIPSQLi.git
cd VIPSQLi
# 2. (Recommended) Create a virtual environment
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # Linux/macOS
# 3. Install dependencies
pip install -r requirements.txtpython sqli_scanner_advanced.py -u "http://example.com/product.php?id=1" --boolean --mlpython sqli_scanner_advanced.py -l urls.txt -t 20 --boolean --time-based --ml --sarif report.sarifpython dashboard/app.py
# Open: http://localhost:5000| Flag | Description | Default |
|---|---|---|
-u, --url |
Single target URL | โ |
-l, --list |
File containing URLs (one per line) | โ |
-e, --exclude |
Exclusion patterns file | โ |
-p, --payloads |
Custom payload file | payloads.txt |
-o, --output |
JSON output file | โ |
--csv |
CSV output file | โ |
--html |
HTML report file | โ |
--pdf |
PDF report file | โ |
--sarif |
SARIF v2.1.0 output file | โ |
-t, --threads |
Thread count | 5 |
--async |
Enable async scanning | False |
--max-concurrent |
Max concurrent async requests | 20 |
--boolean |
Boolean-based blind detection | False |
--time-based |
Time-based blind detection | False |
--ml |
ML-based confidence scoring | False |
-k, --insecure |
Skip SSL verification | False |
--profile |
Scan profile: quick, thorough, stealth, aggressive |
โ |
--filter |
Organize results by domain | False |
--resume |
Resume interrupted scan | False |
--proxy |
Proxy URL | โ |
--headers |
Custom headers JSON file | โ |
-v, --verbose |
Real-time URL status output | False |
-i, --interactive |
Guided interactive mode | False |
--dashboard |
Launch web dashboard | False |
--train |
Train ML model on scan data | False |
# โโโ High-Speed Async โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py -l urls.txt --async --max-concurrent 30
# โโโ Full Detection Suite โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py -l urls.txt --boolean --time-based --ml -t 10 -v
# โโโ Professional Pentest โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py \
-l urls.txt \
-e exclusions.txt \
-p payloads.txt \
--async --max-concurrent 25 \
--boolean --time-based --ml \
-o results.json --csv results.csv --html report.html \
-v
# โโโ Stealth Scan โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py -l urls.txt --threads 2 --time-based --profile stealth
# โโโ CI/CD Pipeline โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py -l targets.txt --boolean --ml --sarif scan.sarif --no-color
# โโโ Resume Interrupted Scan โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py --resume
# โโโ Authenticated Scan with Proxy โโโโโโโโโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py -u "http://target.com" --headers headers.json --proxy http://127.0.0.1:8080
# โโโ Domain Filter (Organize by Domain) โโโโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py -l urls.txt --async --filter -v
# โโโ Interactive Mode (Beginner-Friendly) โโโโโโโโโโโโโโโโโโโโ
python sqli_scanner_advanced.py -iThe scanner features a high-performance Cyberpunk-themed dashboard for managing complex operations.
python dashboard/app.py
# Access: http://localhost:5000| Feature | Description |
|---|---|
| Command Center | Sidebar control for running scans in real-time |
| Live Data Feed | WebSocket-powered vulnerability stream |
| Team Workspaces | Multi-user collaborative scanning |
| Scan Templates | Save/load reusable scan configurations |
| Distributed Nodes | Manage remote scanning infrastructure |
| GitHub SSO | Secure OAuth 2.0 team authentication |
| Analytics | Historical charts and trend analysis |
| Webhook Manager | Configure outbound notifications |
# SARIF (GitHub Advanced Security)
python sqli_scanner_advanced.py -l urls.txt --sarif scan_results.sarif
# Professional PDF Report
python sqli_scanner_advanced.py -l urls.txt --pdf report.pdf
# Full Export Suite
python sqli_scanner_advanced.py -l urls.txt -o results.json --csv results.csv --html report.html
# Cloud Upload (S3)
python sqli_scanner_advanced.py -l urls.txt --s3
# Slack Notification
python sqli_scanner_advanced.py -l urls.txt --slack
# Jira Ticket Creation
python sqli_scanner_advanced.py -l urls.txt --jiraURL Input
โ
โผ
Rule #0: Static File? โโYESโโโบ SKIP (0% SQLi chance)
โ NO
โผ
Step 1: File type & path analysis (5s)
โ
โผ
Step 2: Parameter name risk scoring (10s)
โ
โผ
Step 3: Safe behavior baseline (10s)
โ
โผ
Step 4: Error signature scan + Boolean/Time-Based (5s)
โ
โผ
ML Scoring โ Confidence Metric โ Final Verdict
| Check | Result | Action |
|---|---|---|
| Static file | โ | Skip (0% SQLi) |
| Safe path | โ | Skip |
| Low-risk params only | โ | Skip |
| Same response | โ | Safe |
| SQL error detected | ๐จ | REAL SQLi |
| Boolean diff > threshold | ๐จ | BLIND SQLi |
| Response delay > threshold | ๐จ | TIME-BASED SQLi |
| ML confidence < 0.5 | Low confidence | |
| Content changed | Investigate |
VIPSQLi/
โโโ sqli_scanner_advanced.py # Main CLI entry point
โโโ sqli_scanner.py # Basic scanner (legacy)
โ
โโโ core/ # Core scanning engine
โ โโโ scanner.py # Async/threaded scan orchestrator
โ โโโ detector.py # Detection logic (error/boolean/time)
โ
โโโ ml/ # Machine Learning engine
โ โโโ detector.py # ML prediction interface
โ โโโ features.py # Feature extraction
โ โโโ trainer.py # Model training pipeline
โ โโโ models/ # Saved model files
โ
โโโ dashboard/ # Enterprise web dashboard
โ โโโ app.py # Flask + Socket.IO server
โ โโโ static/ # Frontend assets
โ โโโ templates/ # Jinja2 HTML templates
โ
โโโ database/ # Database layer
โ โโโ models.py # SQLAlchemy ORM models (v4.0)
โ
โโโ plugins/ # Extensible plugin system
โ โโโ base.py # Plugin base class
โ โโโ manager.py # Plugin loader
โ โโโ builtin/ # Built-in plugins
โ
โโโ utils/ # Utility modules
โ โโโ report_gen.py # Report generation (PDF/HTML/SARIF)
โ โโโ waf_evasion.py # WAF bypass techniques
โ โโโ rate_limiter.py # Request rate limiting
โ โโโ logger.py # Structured logging
โ โโโ cloud_manager.py # S3/Slack/Jira integrations
โ
โโโ config/ # Configuration
โ โโโ default.yaml # Default settings
โ โโโ profiles/ # Scan profiles
โ
โโโ payloads.txt # SQLi payload library
โโโ exclusions.txt # Exclusion patterns (1200+)
โโโ requirements.txt # Python dependencies
Roadmap โ Features currently in active development or planned for the next major release.
- LLM-Assisted Triage โ GPT/Gemini integration for natural language vulnerability explanations
- Auto-Remediation Suggestions โ Context-aware code fix recommendations
- Smart Payload Generation โ AI-generated custom payloads based on target fingerprint
- Anomaly Detection โ Unsupervised ML to detect unusual response patterns
- GraphQL Injection โ Detect SQLi via GraphQL query parameters
- NoSQL Injection โ MongoDB, CouchDB, Redis injection detection
- ORM Injection โ Hibernate, Sequelize, Django ORM bypass detection
- Second-Order SQLi โ Stored payload detection via multi-step analysis
- JSON/XML Body Injection โ POST body parameter fuzzing
- SSO/SAML Integration โ Enterprise identity provider support
- RBAC Policies โ Fine-grained permission management
- Audit Compliance Reports โ OWASP Top 10, PCI-DSS, ISO 27001 mapping
- Multi-Tenant SaaS Mode โ Isolated workspaces per organization
- Custom Branding โ White-label dashboard for MSPs
- GitHub Actions Plugin โ Native GitHub Actions integration
- GitLab CI Template โ Pre-built GitLab CI/CD pipeline
- Jenkins Plugin โ Jenkins pipeline step
- Pre-commit Hook โ Block commits with vulnerable endpoints
- DAST Integration โ Connect with OWASP ZAP, Burp Suite
- CVE Auto-Enrichment โ Auto-link findings to NVD/CVE database
- Exploit-DB Integration โ Check if payloads match known exploits
- IP Reputation Scoring โ Flag targets with known malicious history
- Community Threat Feed โ Shared payload/signature database
- 3D Network Graph โ Interactive visualization of scan topology
- Dark/Light Theme Toggle โ User-selectable themes
- Mobile App โ React Native companion app for monitoring
- Custom Dashboard Widgets โ Drag-and-drop analytics panels
- PDF Scheduled Reports โ Auto-email weekly/monthly summaries
- Distributed Scan Engine โ Kubernetes-native horizontal scaling
- Redis Queue Backend โ Celery + Redis for job distribution
- Scan Result Streaming โ gRPC-based real-time result streaming
- Browser-Based Scanning โ Playwright integration for JS-heavy apps
| Category | Count |
|---|---|
| Static file extensions (skip) | 60+ |
| High-risk file extensions | 15+ |
| Safe directory paths | 25+ |
| High-risk parameters | 60+ |
| Low-risk parameters | 40+ |
| SQL error signatures | 100+ |
| Exclusion patterns | 1,200+ |
| WAF signatures | 30+ |
| SQLi payload variants | 500+ |
- Python: 3.9+
- Core:
requests,aiohttp,rich,colorama - ML:
scikit-learn,xgboost,numpy,pandas - Dashboard:
flask,flask-socketio,sqlalchemy - Reports:
reportlab,jinja2
See requirements.txt for the complete dependency list.
This tool is for educational and authorized security testing only. Always obtain explicit written permission before testing any system you do not own. The authors assume no liability for misuse or damage caused by this tool. Use responsibly and ethically.
| Document | Description |
|---|---|
| API Reference | Full REST API and Socket.IO event documentation |
| Commands Guide | Complete CLI flags and usage examples |
| Quick Start | Get scanning in under 5 minutes |
| Feature Matrix | Implementation status of every feature |
| Functionality Report | Detailed report on all v4.0 capabilities |
| Changelog | Version history and release notes |
| Upcoming Features | v5.0 roadmap and planned enhancements |
| Contributing | Guidelines for contributing to the project |
| Security Policy | Responsible disclosure and vulnerability reporting |
MIT License โ see LICENSE for full text. For educational and authorized security testing only.