Skip to main content

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:

  1. Executive summary – issues by severity (High / Medium / Low / Info) and an overview per target with its overall risk.
  2. Findings – one entry per issue, per target, sorted from most to least severe, with an ID (F-01, ...), severity, tool, evidence and recommendation.
  3. Passed and not applicable checks – what was checked and found OK, with evidence.
  4. Check matrix – every check (rows) against every target (columns).
  5. Technology inventory – technologies and versions detected by whatweb.
  6. 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.txt lets 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/).
  • --reparse rebuilds evidence/ from raw/. 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

Upgrading from 1.x

Version 2.0 renamed the output files (achados.csv → findings.csv, matriz.csv → matrix.csv, tecnologias.csv → technologies.csv, relatorio.* → report.*) and generates reports in English by default. Use --lang pt for Portuguese reports (it also keeps ; as the CSV delimiter, as in 1.x).

Only scan targets you are authorized to test.

License

MIT

Metadata

Release files for scanwitness 2.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scanwitness 2.2.1
File Size Uploaded Provenance Actions
scanwitness-2.2.1.tar.gz 33.2 kB With provenance Details for scanwitness-2.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scanwitness 2.2.1
File Interpreter ABI Platform Actions
scanwitness-2.2.1-py3-none-any.whl Python 3 none any Details for scanwitness-2.2.1-py3-none-any.whl

Total release size: 60.2 kB

Release files / scanwitness-2.2.1.tar.gz

Download URL scanwitness-2.2.1.tar.gz
Size 33.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4d0727a7be903785e8c2bc9ddf33f3b8c427c66b9166dfe6b51c345121e3615d
BLAKE2b-256 checksum
How to use checksums
7a521be7ba57f9706509dc22d267905a2d378ae49fd354c226d703690812184e
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 12, 2026.

Transparency log

Release files / scanwitness-2.2.1-py3-none-any.whl

Download URL scanwitness-2.2.1-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3442eb46ddf73115462c0220b5048eb8d4a0854dced4ff7a5fdcdcc22ec00534
BLAKE2b-256 checksum
How to use checksums
751f8a2b8e3a416dffaffab5727ada9de5e566d4f78b0d3d1701f354de3c0bcb
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 12, 2026.

Transparency log

Security for scanwitness 2.2.1

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.

Select from 2 files

Attestation for scanwitness-2.2.1.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 12, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page