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

WebScanner — Security tab

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

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

Press s inside the app to save every tab to CSV. When installed, results are written to a ./<domain>_<timestamp>/ folder in your current directory.

Updating

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
+ / - 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

web_scanner-2.2.1.tar.gz (213.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

web_scanner-2.2.1-py3-none-any.whl (228.8 kB view details)

Uploaded Python 3

File details

Details for the file web_scanner-2.2.1.tar.gz.

File metadata

  • Download URL: web_scanner-2.2.1.tar.gz
  • Upload date:
  • Size: 213.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for web_scanner-2.2.1.tar.gz
Algorithm Hash digest
SHA256 bc5e3d344e7b43a918c5010d8643b9cefcda2720b7a08783bade6ca94402dc38
MD5 bc74e896b3883441a7a851ceb58c69dc
BLAKE2b-256 211837ac27099ae86faeea8ea52e88b6b7fcd8e8dbfda6ec51250a6ab42df51a

See more details on using hashes here.

Provenance

The following attestation bundles were made for web_scanner-2.2.1.tar.gz:

Publisher: publish.yml on iamramizk/web-scanner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file web_scanner-2.2.1-py3-none-any.whl.

File metadata

  • Download URL: web_scanner-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 228.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for web_scanner-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5b20b7fb494e3bd5b88e66e8f4025ce0153f07cf524a965baf6ff95cef442ff
MD5 eda424cacc34d16fbc39a9039bf2c003
BLAKE2b-256 131ba45cb0fb6d7c75c2e8b144c1ca74a45b5a59c65e4dc692c309325b3b7ef6

See more details on using hashes here.

Provenance

The following attestation bundles were made for web_scanner-2.2.1-py3-none-any.whl:

Publisher: publish.yml on iamramizk/web-scanner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.2.3

2 files

2.2.2

2 files

This release

2.2.1 This release

2 files

2.2.0

2 files

2.1.5

2 files

2.1.4

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.1

2 files

2.0.0

2 files

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