Skip to main content

WebScanner

An async Textual TUI for website reconnaissance — DNS, WHOIS, TLS, security, tech-stack and SEO, with no paid APIs.

Python PyPI Downloads Release

Point it at a domain and it concurrently gathers DNS, WHOIS, TLS, security, tech-stack and SEO intelligence, then lays it out across tabs — with a live activity log, a country map and a server-status panel that stay pinned in place.

No paid APIs. Everything runs off free, public endpoints and the standard library: ip-api.com for geolocation, Cloudflare/Google DoH and dig against public filtering resolvers for blocklist checks, the system whois, and stdlib ssl/socket. Country borders are embedded (Natural Earth), so even the map needs no tile service.

WebScanner — DNS tab, with the responsive narrow layout inset

Contents

Features

Ten tabs, scanned concurrently and rendered live as each module finishes:

  • DNS — records plus email authentication, folded into one tab.
    • A / AAAA / NS / CNAME / SOA / MX / TXT / CAA / DS / DNSKEY records
    • DMARC (_dmarc) and DKIM (probes ~40 selectors, each labelled with its email provider)
    • SPF all qualifier, and an Email Spoofing verdict (Protected / Weak / Vulnerable) computed from DMARC enforcement, not SPF alone
  • Whois — parsed system whois, with rich gTLD and ccTLD field support.
    • Registrar, registration / expiry dates, nameservers
    • Per-contact details where published
  • Subdomains — discovered natively, no third-party enumeration services.
    • TLS certificate SANs
    • socket probes of common subdomains
  • SSL — the live TLS certificate, parsed from the handshake.
    • Issuer, subject, SANs
    • Validity window, trust and expiry
  • Security — four checks, each a sub-table.
    • WAF detection — passive header/cookie fingerprinting plus an active probe that sends obvious attack payloads to see if it gets blocked (names Cloudflare, Sucuri, Akamai, ModSecurity, …)
    • Open ports — TCP connect scan of common ports
    • HTTP security headers — CSP, HSTS, X-Frame-Options, … present or not
    • Blocklists — status across public filtering resolvers (AdGuard, CleanBrowsing, Cloudflare, Google, OpenDNS, Quad9)
  • Headers — the full set of HTTP response headers.
  • Tech — technology-stack detection via Wappalyzer.
    • Each technology with its category, confidence, groups and version
  • SEO — everything on-page that search engines read.
    • Title / description with length hints, H1–H3, social links
    • Top keyword n-grams (1 / 2 / 3-word)
    • robots.txt and declared sitemaps
    • JSON-LD structured data
  • Sitemap — the site's URLs as a clickable path tree, no crawling.
    • Discovered from sitemap.xml, recursing into nested sitemap indexes
    • Rebuilt into a folder tree keyed by URL path
  • Links — links found on the page, with their anchor text.
    • Internal and external, split into sub-tables

Alongside the tabs, three fixed panels:

  • Activity Log — a running narration of the scan: what each module found, what came back empty and what broke, so every headline result is visible without switching tabs.
  • Country map — real country outlines auto-framed around the server's location, drawn with braille characters (+ / - to zoom).
  • Server — online status and response time, the final URL after redirects, IP, geolocation, ISP, AS, hosting provider and detected CMS (name and version). When many sites share the server's IP, it flags the address as shared and counts how many distinct domains resolve to it (via a free reverse-IP lookup, hackertarget, rate-limited to 50 requests/day).

The layout is responsive: on a narrow terminal it collapses to a single full-width column and the map, Server and Activity panels fold into their own tabs.

Requests to the site being scanned wear a coherent desktop-Chrome identity — a real User-Agent plus the headers Chrome actually sends beside it — picked once per scan and reused for every request, and reported in the Activity Log. This is about getting the real page back rather than a WAF block page, and it only defeats naive User-Agent filtering: the TLS and HTTP/2 fingerprints are still those of requests, so enterprise bot management sees straight through it. Third-party lookups (ip-api, DoH) keep an honest scanner User-Agent.

Installation

Requires Python 3.11+.

The easiest way is with pipx (or uv), which installs webscan into its own isolated environment:

pipx install web-scanner
# or
uv tool install web-scanner

To install the latest unreleased code, point either tool at the repo instead: pipx install git+https://github.com/iamramizk/web-scanner.

From source (development)

git clone https://github.com/iamramizk/web-scanner.git
cd web-scanner
python3 -m venv .venv
source .venv/bin/activate     # Unix/macOS  (.venv\Scripts\activate on Windows)
pip install -e .

Usage

webscan example.com

You can also run it as a module (python -m webscanner example.com), or from a source checkout without installing (python app.py example.com).

Once a scan finishes you can stay in the app: press r to rescan the same domain, or esc to edit the domain and scan a different one — no need to restart.

Press s to save every tab to CSV (plus a server.csv for the fixed Server panel, which has no tab of its own). Files go into a <domain>_<timestamp>/ folder — under output/ when running from a source checkout, or straight in your current directory when installed.

Updating

The app checks PyPI in the background once a day and, when a newer release is out, marks the version in the footer with an orange dot and adds a line to the Activity Log — so you'll know when it's worth upgrading.

pipx upgrade web-scanner

If you installed from Git, pipx upgrade won't see new commits (the version is unchanged), so reinstall from source instead:

pipx install --force git+https://github.com/iamramizk/web-scanner

Keys

Key Action
← / → Tab Switch tabs
1–9 0 Jump straight to the Nth tab (0 = 10th)
PgUp / PgDn Scroll the main panel up / down
+ / - Zoom the country map in / out
↑ / ↓ enter Navigate the Sitemap tree (space expands/collapses all)
r Rescan
s Save — export every tab to CSV under <domain>_<timestamp>/
esc Edit the domain and scan a new one
q Quit

Metadata

Release files for web-scanner 2.2.3

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

Source distribution (sdist)

Source distribution for web-scanner 2.2.3
File Size Uploaded Provenance Actions
web_scanner-2.2.3.tar.gz 217.3 kB With provenance Details for web_scanner-2.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for web-scanner 2.2.3
File Interpreter ABI Platform Actions
web_scanner-2.2.3-py3-none-any.whl Python 3 none any Details for web_scanner-2.2.3-py3-none-any.whl

Total release size: 450.2 kB

Release files / web_scanner-2.2.3.tar.gz

Download URL web_scanner-2.2.3.tar.gz
Size 217.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e9fb2b29de87188ee68a96bab3ddb0a7bd0911657adeeb39686171ceca6a242a
BLAKE2b-256 checksum
How to use checksums
290ed77717852202f3d2b7b4cdd6ea0e32d9f91de581bd56b58c151414cc9678
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 23, 2026.

Transparency log

Release files / web_scanner-2.2.3-py3-none-any.whl

Download URL web_scanner-2.2.3-py3-none-any.whl
Size 232.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c5b2522bd0852527f3942ca481651ec61b551bacf69da4de6b23949cacd113c
BLAKE2b-256 checksum
How to use checksums
12d71c819c1e95c1a8ad3aa050c7b609fd8eb080412ba744ac0790f78571ae57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 23, 2026.

Transparency log

Security for web-scanner 2.2.3

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for web_scanner-2.2.3.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 Jul 23, 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