Non-destructive web and server vulnerability scanner in Python for authorized security testing. Crawls, scans, and reports findings with remediation guidance and reproduction steps.
# web-vuln-scanner
A lightweight, **defensive** vulnerability scanner written in Python for
**authorized** security testing (pentesting your own or explicitly approved systems).
It scans **websites** from the outside via their URL. It also audits **servers via SSH**:
log in with IP address, user and password or SSH key to inventory the installed software
(nginx, Apache, PHP, Java/Tomcat, OpenSSL/OpenSSH, databases, also inside Docker/Podman
containers). The scanner then checks it for known CVEs, end-of-life versions and insecure
configuration.


## ⚠️ Legal notice
Use this tool **exclusively** against systems that you own or for which you have
**explicit, written permission**. Unauthorized scanning of third-party systems can
be a criminal offense in many countries (e.g. in Germany under § 202a/c StGB).
The tool asks for an authorization confirmation before every scan.
The scanner is **non-destructive**: it does not modify any data and uses no
destructive payloads (no DROP/DELETE, no stacked queries, no DoS).
## Quick start
```powershell
# One-time setup
cd C:\Repository\web-vulnerability-scanner
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
# Start the web interface (opens http://127.0.0.1:5000/ in the browser; stop with Ctrl+C)
python webapp.py
```
Afterwards, starting it again only takes the `cd`, `Activate.ps1` and `python webapp.py` lines.
> Optional packages: `dnspython` (for the `dns` check), `cryptography` (for
> certificate key length/signature in the `tls` check) and `pymongo` (for the
> MongoDB unauth check in the `database` check) are included in `requirements.txt`.
> If they are missing, the affected sub