A Python-based web vulnerability scanner for identifying common security misconfigurations and vulnerabilities in web applications. Built for educational and authorized security testing purposes.
- HTTP Security Headers Analysis - Detects missing security headers (CSP, HSTS, X-Frame-Options, etc.)
- SSL/TLS Configuration Check - Validates certificate security and configuration
- Open Ports Detection - Scans for common open ports and services
- Directory Enumeration - Checks for exposed sensitive directories
- Server Information Disclosure - Identifies information leakage in headers
- Detailed Reporting - Generates comprehensive scan reports with severity levels
- Clone the repository:
git clone https://github.com/Jyyoungg/vulnerability-scanner.git
cd vulnerability-scanner- Install dependencies:
pip install -r requirements.txtpython vuln_scanner.py --url https://example.compython vuln_scanner.py --url https://example.com --fullpython vuln_scanner.py --url https://example.com --modules headers,sslpython vuln_scanner.py --url https://example.com --output report.json[+] Starting Vulnerability Scan for: https://example.com
[+] Scan Date: 2025-09-30
=== Security Headers Analysis ===
[!] CRITICAL: Missing Content-Security-Policy header
[!] WARNING: Missing X-Frame-Options header
[✓] PASS: Strict-Transport-Security header present
=== SSL/TLS Configuration ===
[✓] PASS: Valid SSL certificate
[✓] PASS: Certificate expires in 89 days
=== Open Ports Scan ===
[+] Port 80 (HTTP) - OPEN
[+] Port 443 (HTTPS) - OPEN
[!] WARNING: Port 8080 - OPEN
=== Summary ===
Total Issues Found: 3
- Critical: 1
- High: 0
- Medium: 2
- Low: 0
| Module | Description | Severity Detection |
|---|---|---|
headers |
Scans HTTP security headers | Critical/Medium |
ssl |
Checks SSL/TLS configuration | High/Medium |
ports |
Scans common ports | Medium/Low |
directories |
Checks for exposed directories | High/Medium |
info |
Detects information disclosure | Low |
- Only scan systems you own or have explicit permission to test
- Unauthorized scanning may be illegal in your jurisdiction
- The author is not responsible for misuse of this tool
- Python 3.8+
- requests
- urllib3
- colorama
- python-nmap (optional, for advanced port scanning)
- Add SQL injection detection
- Implement XSS vulnerability checks
- Add subdomain enumeration
- Support for authenticated scans
- Web interface dashboard
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Jyyoungg
- GitHub: @Jyyoungg
Built as part of cybersecurity portfolio development while studying for Security+ certification.
⭐ If you find this tool useful, please consider giving it a star!