scanwitness
Runs the standard web recon scans of a pentest and consolidates them into one report: an HTML report, a Markdown report and CSV files. For each target, it tells you whether each issue is present (YES) or not (NO), with severity, evidence and a recommendation.
| Tool | What it checks |
|---|---|
| wafw00f | presence or absence of a WAF |
| shcheck | missing or weak security headers (short HSTS max-age, CSP with unsafe-inline/unsafe-eval/*), headers that leak versions (Server, X-Powered-By, ...) |
| sslscan | SSLv2/v3, TLS 1.0/1.1, missing TLS 1.3, weak/medium cipher suites, Heartbleed, CRIME, insecure renegotiation, TLS_FALLBACK_SCSV, expired/self-signed/SHA1/short-key certificate |
| whatweb | technology fingerprinting, with exposed versions |
wafw00f and shcheck are found in scanwitness's own environment (so they work with pipx) or on PATH; sslscan and whatweb are looked up on PATH. A missing tool is skipped with a warning; the others still run.
Installation
Requires Python 3.10+.
pipx install scanwitness # or: pip install scanwitness (also installs wafw00f and shcheck)
brew install sslscan # or: apt install sslscan
apt install whatweb # Kali/Debian; on macOS: git clone the official repository
sslscan and whatweb are not Python packages, so they are installed with your system's package manager.
From source:
git clone https://github.com/IsaacLouzeiro/scanwitness.git
cd scanwitness
pip install -r requirements.txt # wafw00f + shcheck
python3 scanwitness.py --help
scanwitness itself only uses the Python standard library.
Usage
scanwitness -t https://target.com
scanwitness -t target1.com -t https://target2.com:8443
scanwitness -f targets.txt -o results --threads 4 --timeout 300
scanwitness -f targets.txt --skip whatweb,wafw00f
scanwitness --reparse results # rebuild the reports from results/raw without scanning again
scanwitness -t target.com --lang pt # reports in Portuguese (Brazil)
scanwitness -t target.com --format html # only the HTML report
When running from source, use python3 scanwitness.py instead of scanwitness.
| Option | Description |
|---|---|
-t, --target |
target URL or host (can be repeated) |
-f, --file |
file with one target per line (# starts a comment) |
--reparse DIR |
only rebuild the reports from DIR/raw |
-o, --output |
output folder (default: scanwitness_<date>) |
--format |
csv, html, md (comma-separated) or all; default: all |
--lang |
language of the generated reports: en or pt; default: en |
-d, --delimiter |
CSV delimiter (default: , for en, ; for pt, so it opens directly in Excel) |
--threads |
targets scanned in parallel (default: 3) |
--timeout |
timeout per tool, in seconds (default: 300) |
--skip |
comma-separated tools to skip |
--no-evidence |
do not create the evidence/ folder |
--evidence-host |
include this machine's hostname in the evidence headers (off by default) |
-q, --quiet |
suppress progress messages |
The command line and its messages are always in English; --lang only changes the content of the generated reports.
Outputs
results/
├── report.html full report, single self-contained file (print-friendly)
├── report.md the same report in Markdown (GitHub, Obsidian, wikis...)
├── findings.csv target,tool,category,check,vulnerable,severity,detail,recommendation
├── matrix.csv target,total_vulns,[sslscan] TLSv1.0 enabled,[shcheck] Missing ... header,...
├── technologies.csv target,url,technology,version,detail
├── evidence/ raw tool output to hand over to the client (see below)
│ ├── README.txt
│ ├── SHA256SUMS.txt
│ └── <host_port>/<tool>.txt
└── raw/<host_port>/ working files used to build the reports
The HTML and Markdown reports are organized like a pentest report:
- Executive summary – issues by severity (High / Medium / Low / Info) and an overview per target with its overall risk.
- Findings – one entry per issue, per target, sorted from most to least severe, with an ID (
F-01, ...), severity, tool, evidence and recommendation. - Passed and not applicable checks – what was checked and found OK, with evidence.
- Check matrix – every check (rows) against every target (columns).
- Technology inventory – technologies and versions detected by whatweb.
- Scope and methodology – targets, tools used and how to read
N/A.
Values of vulnerable in the CSVs: YES, NO, N/A (the check does not apply or the tool did not run for that target). With --lang pt: SIM, NÃO, N/A, and the column names are in Portuguese.
All tool output is escaped before going into the HTML and Markdown reports, since it comes from the scanned target.
Evidence for the client
evidence/ proves that the scans were actually run. Each <host_port>/<tool>.txt starts with a header and then shows the tool's console output:
Tool: sslscan 2.1.4
Target: https://target.com (target.com:443)
Command: sslscan --no-colour --xml=raw/target.com_443/sslscan.xml target.com:443
Started: 2026-11-12 10:31:05 UTC
Finished: 2026-11-12 10:31:19 UTC (14s)
Exit code: 0
Collected by: scanwitness 2.2.1
========================================================================
STANDARD OUTPUT
========================================================================
...
- ANSI color codes are removed and the shcheck JSON is indented; nothing else is changed.
- Paths in the command line are relative to the results folder, so no local paths from your machine end up in the evidence.
SHA256SUMS.txtlets the client check that the files were not modified (cd evidence && sha256sum -c SHA256SUMS.txt).- The Scope and methodology section of the reports links to each evidence file, so send the whole results folder (or at least the reports together with
evidence/). --reparserebuildsevidence/fromraw/. Scans made with versions older than 2.1.0 did not record timestamps and versions, so no evidence is generated for them.- The raw output can include internal details of the target (IP addresses, banners). Review it before sending.
Tests
python3 -m unittest discover tests -v
Only scan targets you are authorized to test.
License
Metadata
Release files for scanwitness 2.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| scanwitness-2.2.2.tar.gz | 33.3 kB | With provenance | Details for scanwitness-2.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scanwitness-2.2.2-py3-none-any.whl | Python 3 | none | any | Details for scanwitness-2.2.2-py3-none-any.whl |
Total release size: 60.4 kB
Release files / scanwitness-2.2.2.tar.gz
| Download URL | scanwitness-2.2.2.tar.gz |
|---|---|
| Size | 33.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a30ba075166caa05c70f14c337b09c7e711afd311adb044c35ffa2a437f6f2e9
|
|
BLAKE2b-256 checksum How to use checksums |
5ede28211032dbfe6d42be8699a074b1d2f1ac434c1b30d84743c57cb0c28372
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logRelease files / scanwitness-2.2.2-py3-none-any.whl
| Download URL | scanwitness-2.2.2-py3-none-any.whl |
|---|---|
| Size | 27.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
791b3592ae2b583df48db256f9f0ef2bb3989f43f4a95efb8ccbfead03c21730
|
|
BLAKE2b-256 checksum How to use checksums |
9c1a86f42a8798391d4718d8b6102661132b0034e3cdc7696f81b3685689e442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logSecurity for scanwitness 2.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for scanwitness-2.2.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 13, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.