Skip to content

Repository files navigation

Web Vulnerability Scanner

A premium, interactive web application that audits websites for common security vulnerabilities, calculates risk factors, classifies severity ratings, and exports detailed PDF reports.

Main Features

  1. Cybersecurity Theme Interface: Cyberpunk dark style layout with animated background nodes and custom glowing status cards.
  2. Interactive Loading Terminal: Simulated port auditing radar sweep and console typing logs showing audit progress.
  3. Security Header Analyzer: Checks status of standard defense headers including:
    • Content-Security-Policy (CSP)
    • X-Frame-Options
    • X-Content-Type-Options
    • Strict-Transport-Security (HSTS)
    • Referrer-Policy
    • Permissions-Policy
  4. Open Port Scanner: Runs parallel multi-threaded connections against common services:
    • FTP (20/21)
    • SSH (22)
    • Telnet (23)
    • SMTP (25)
    • DNS (53)
    • HTTP (80)
    • POP3 (110)
    • IMAP (143)
    • HTTPS (443)
    • MySQL (3306)
    • HTTP-ALT (8080)
  5. SSL Certificate Checker: Retrieves valid ranges, issuer names, and expiry days. Alerts on untrusted or expired certificates.
  6. Risk Classification: Classifies risks into Low, Medium, High, and Critical.
  7. Actionable Remediation Guidelines: Lists exact instructions on fixing identified issues.
  8. Interactive Visual Charts: Embedded Chart.js doughnut and bar charts visualizing Safe vs Unsafe indicators.
  9. PDF Reports Generation: Uses ReportLab to compile and export professional PDFs.

Project Structure

Web-Vulnerability-Scanner/
│
├── app.py                  # Flask Application Controller
├── requirements.txt        # Python Project Dependencies
├── scanner.py              # Main Auditing & Orchestrating Logic
├── headers.py              # HTTP Headers Auditor
├── ports.py                # Parallel Port Auditor
├── ssl_checker.py          # SSL Handshake Certificate Auditor
├── report_generator.py     # PDF Document Compiler
│
├── templates/
│   ├── index.html          # Main Scanner Form View
│   └── report.html         # Interactive Dashboard View
│
├── static/
│   ├── css/
│   │   └── style.css       # Custom Dark Styling and Animations
│   ├── js/
│   │   └── main.js        # Particles Background, AJAX, and Chart.js handler
│
├── reports/                # Output Directory for Generated PDFs
├── screenshots/            # Directory for screenshots
└── README.md

Installation & Setup

  1. Clone or copy files into your workspace directory.
  2. Install dependencies:
    pip install -r requirements.txt
  3. Start local Flask server:
    python app.py
  4. Open your browser and navigate to http://127.0.0.1:5500 or http://127.0.0.1:5050.

Screenshots

Scanner Dashboard

Dashboard

Scan Results

Scan Results

Security Report

Report

About

Web Vulnerability Scanner built with Python and Flask to identify common web security issues, analyze HTTP security headers, inspect SSL certificates, scan common ports, detect basic vulnerabilities, assess website security risks, and generate actionable security recommendations through a modern, user-friendly dashboard and detailed reports.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages