WebScanner Installation - capstone-hermes/hermes-fullstack GitHub Wiki
This short guide shows how to set up and use the Python-based web-scanner locally.
Tool | Version | Notes |
---|---|---|
Python | 3.10 or newer | Tested on CPython 3.10/3.11 |
pip | latest | Comes with Python |
Chromium / Google Chrome | any modern release | Headless mode is required by Pyppeteer. (skip this if you plan to use the Docker image) |
Linux only: Make sure common Chrome dependencies are installed (e.g. libnss3
, libatk1.0-0
, fonts-liberation
, …).
-
Clone the repository
git clone [https://github.com/yourusername/hermes-fullstack.git](https://github.com/yourusername/hermes-fullstack.git) cd hermes-fullstack/web-scanner
-
Create and activate a virtual-environment (recommended)
python -m venv venv source venv/bin/activate # Linux/macOS # For Windows use: venv\Scripts\activate
-
Install Python dependencies
pip install -r requirements.txt
-
Set the Chrome/Chromium path (if needed) Edit
src/constants.py
and updateBROWSER_EXECUTABLE_PATH
if Chrome/Chromium is not in a standard system PATH location.
python -m src.main --url [https://target.example.com](https://target.example.com)