Live Now at: 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.
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.
- WHOIS, DNS (A, MX, TXT, etc.)
- SSL Certificate Details
- Subdomain Discovery (
crt.sh
) - HTTP Headers & Cookies
- Technology Stack Detection
- SQL Injection
- Cross-Site Scripting (XSS)
- Open Redirect
- Directory Traversal
- Scans for outdated or insecure frontend libraries.
- Security scores
- Time-based scan trends
- Filterable scan history
- HTML-based report view
- Active modules & results log
- Real-time scan status
- Download reports in PDF, CSV, and JSON formats.
- Compare current and past scan results
- Highlights newly discovered or resolved issues
- Fallback mechanisms for Nmap/socket scanning
- Graceful handling of timeouts or network errors
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 |
Make sure the following are installed:
- Python 3.x
- Git
- (Optional) Nmap for advanced port scanning
git clone https://github.com/prajwalchapke055/Web-Security-Scanner.git
cd Web-Security-Scanner
sudo chown -R $USER:$USER ~/security-project/Web-Security-Scanner
# Create virtual environment
python3 -m venv venv
# Activate virtual environment
# On Windows:
.\venv\Scripts\activate
# On Linux/macOS:
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
python app.py
Open in your browser: http://127.0.0.1:5000
- Launch the app and enter a website URL (e.g.,
https://example.com
). - Click "Scan Now".
- Wait for the scan to complete (Dashboard will update).
- Click "View Report" for detailed findings.
- Use export buttons to download reports as PDF, CSV, or JSON.
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.
This project is licensed under the MIT License.