https://github.com/prajwalchapke055/web-security-scanner
Web vulnerability scanner with real-time reports, & dashboard.
https://github.com/prajwalchapke055/web-security-scanner
back-end-development cybersecurity dashboard ethical-hacking flask front-end-development python vulnerability-scanners web-security
Last synced: 2 months ago
JSON representation
Web vulnerability scanner with real-time reports, & dashboard.
- Host: GitHub
- URL: https://github.com/prajwalchapke055/web-security-scanner
- Owner: prajwalchapke055
- Created: 2025-08-06T13:10:23.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-07T07:11:11.000Z (11 months ago)
- Last Synced: 2025-09-17T20:19:04.488Z (9 months ago)
- Topics: back-end-development, cybersecurity, dashboard, ethical-hacking, flask, front-end-development, python, vulnerability-scanners, web-security
- Language: Python
- Homepage: https://hackersgonnahack.pythonanywhere.com/
- Size: 8.81 MB
- Stars: 0
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ก๏ธ Web Security Scanner
> **Live Now at:** [hackersgonnahack.pythonanywhere.com](https://hackersgonnahack.pythonanywhere.com)
> Scan your websites for vulnerabilities in real-time with automated intelligence and sleek reporting dashboards.
A powerful, full-stack web application designed to perform **comprehensive security assessments** of websites. Analyze, detect, and track vulnerabilities with beautiful interactive reports and dashboards.
---
## โจ Overview
**Web Security Scanner** is an automated vulnerability analysis tool focused on **web reconnaissance** and **active testing**. It helps developers and security enthusiasts understand the **security posture** of web applications by generating transparent and actionable reports.
> โ
Ideal for bug bounty hunting, web developers, and cybersecurity learners.
---
## ๐๏ธ Architecture Diagram

---
## ๐ธ Live Preview
### ๐น **๐ Live Dashboard Example** --> *View scan statistics, charts, and history.*

### ๐น **Detailed Report View** --> *See vulnerability details and past scan comparisons.*





---
## ๐ Key Features
### ๐ **Automated Reconnaissance**
* WHOIS, DNS (A, MX, TXT, etc.)
* SSL Certificate Details
* Subdomain Discovery (`crt.sh`)
* HTTP Headers & Cookies
* Technology Stack Detection
### ๐ ๏ธ **Vulnerability Testing**
* SQL Injection
* Cross-Site Scripting (XSS)
* Open Redirect
* Directory Traversal
### ๐ฆ **Vulnerable JS Library Detection**
* Scans for outdated or insecure frontend libraries.
### ๐ **Interactive Dashboard**
* Security scores
* Time-based scan trends
* Filterable scan history
### ๐งพ **Comprehensive Reporting**
* HTML-based report view
* Active modules & results log
* Real-time scan status
### ๐ **Export Options**
* Download reports in **PDF**, **CSV**, and **JSON** formats.
### ๐ **Historical Tracking**
* Compare current and past scan results
* Highlights newly discovered or resolved issues
### ๐งฑ **Error-Resilient Architecture**
* Fallback mechanisms for Nmap/socket scanning
* Graceful handling of timeouts or network errors
---
## ๐งฐ Tech Stack
| Layer | Tools & Libraries |
| ------------- | ----------------------------------------------------------------------------- |
| **Frontend** | HTML, CSS, Bootstrap, Jinja2, JavaScript, Chart.js, date-fns |
| **Backend** | Python, Flask, Flask-SQLAlchemy, Multiprocessing |
| **Database** | SQLite via SQLAlchemy ORM |
| **Scanning** | `requests`, `python-whois`, `python-nmap`, `dnspython`, `builtwith`, `crt.sh` |
| **Reporting** | `xhtml2pdf`, `pypdf`, `pyhanko`, `reportlab`, `csv`, `json` |
---
## โ๏ธ Getting Started
### ๐ Prerequisites
Make sure the following are installed:
* Python 3.x
* Git
* (Optional) Nmap for advanced port scanning
---
## ๐ฆ Installation
### 1๏ธโฃ Clone the repository
```
git clone https://github.com/prajwalchapke055/Web-Security-Scanner.git
cd Web-Security-Scanner
```
### 2๏ธโฃ Fix permissions (if needed on Linux/Kali)
```
sudo chown -R $USER:$USER ~/security-project/Web-Security-Scanner
```
### 3๏ธโฃ Create and activate a virtual environment
```
# Create virtual environment
python3 -m venv venv
# Activate virtual environment
# On Windows:
.\venv\Scripts\activate
# On Linux/macOS:
source venv/bin/activate
```
### 4๏ธโฃ Upgrade pip and install dependencies
```
pip install --upgrade pip
pip install -r requirements.txt
```
### โถ๏ธ Running the Application
```
python app.py
```
Open in your browser:
http://127.0.0.1:5000
---
## ๐งช How to Use
1. Launch the app and enter a website URL (e.g., `https://example.com`).
2. Click **"Scan Now"**.
3. Wait for the scan to complete (Dashboard will update).
4. Click **"View Report"** for detailed findings.
5. Use export buttons to download reports as **PDF**, **CSV**, or **JSON**.
---
## ๐ Deployment
Want to make your scanner public?
* Deploy on **PythonAnywhere** *(great free tier for testing)*.
* Switch database to **PostgreSQL/MySQL** for production use.
* Use **Gunicorn** or **Waitress** for WSGI deployment.
---
## ๐ License
This project is licensed under the [MIT License](./LICENSE).
---
# โญ Found this useful? Star the repo and share it!