techwitness
Identifies the technologies behind a website, with versions and the evidence for each one, straight in the terminal. Python standard library only.
| Source | What it gives |
|---|---|
| HTTP banner | Server, X-Powered-By and other headers, cookies, every redirect |
| TLS | protocol, cipher, certificate issuer, subdomains in the certificate |
| HTML | meta tags, markup, comments, forms |
| Links | crawls the site; scripts, styles, third-party hosts, subdomains |
| JavaScript | inline code and downloaded files: frameworks, licence comments, API endpoints |
| Error page and robots.txt | what the server reveals in a 404 |
Source maps (-a 3) |
npm packages bundled in the site |
Known paths (-a 3) |
/wp-login.php, /actuator, /swagger/, version files... |
TCP banners (-b) |
SSH, FTP, SMTP, POP3, IMAP, MySQL, Redis |
Installation
Requires Python 3.10+.
pipx install techwitness # or: pip install techwitness
Or from source, with nothing to install:
git clone https://github.com/IsaacLouzeiro/techwitness.git
cd techwitness
python3 -m techwitness --help
Usage
techwitness target.com
techwitness target.com -v # all the evidence
techwitness target.com -l # links, endpoints, subdomains, third-party hosts
techwitness target.com -a 1 # first page only
techwitness target.com -a 3 # also known paths and source maps
techwitness target.com -b # also TCP banners
techwitness target.com -p 22,2222 # TCP banners of these ports
techwitness -f targets.txt -o result.csv # .json, .csv or .txt
techwitness target.com -j # JSON on stdout
techwitness target.com -x http://127.0.0.1:8080 -c 'session=...'
Without a scheme, https is tried first and then http.
======================================================================
[*] Target: scanme.nmap.org
[*] Effective URL: http://scanme.nmap.org/
[*] Status: HTTP/1.1 200 OK
[*] Title: Go ahead and ScanMe!
======================================================================
Banner
[+] Server: Apache/2.4.7 (Ubuntu)
[+] tcp/22: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.13
Technologies
Network service
[+] OpenSSH 6.6.1p1 <- banner tcp/22
Operating system
[+] Ubuntu <- header
Web server
[+] Apache HTTP Server 2.4.7 <- header
Information disclosure
[!] Version in response header: Server: Apache/2.4.7 (Ubuntu)
How it behaves
- Weak evidence has a lower confidence and adds up; below 50% it is not reported.
- Crawling stays on the target host and skips links such as logout or delete. Scripts are only downloaded from the target's own domain; third-party ones are identified by URL.
-Hand-cvalues are only sent to the target host (and itswwwvariant), never to a redirect elsewhere.- Invalid certificates are reported and the scan goes on.
- Text from the target is stripped of terminal escape sequences before being printed.
Limitations: pages are not rendered in a browser, so what only appears after JavaScript runs can be missed; HTTP/2 is not used.
Adding a technology
Signatures are in techwitness/signatures.py; the fields are described at the top of the file:
T("Ghost", "CMS", implies=["Node.js"], meta={"generator": r"^Ghost ?([\d.]+)?"})
Tests
python -m unittest discover tests -v
Legal
Only scan systems you own or are authorized to test.
Metadata
Release files for techwitness 0.1.0
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 |
|---|---|---|---|---|
| techwitness-0.1.0.tar.gz | 38.4 kB | With provenance | Details for techwitness-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| techwitness-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for techwitness-0.1.0-py3-none-any.whl |
Total release size: 74.4 kB
Release files / techwitness-0.1.0.tar.gz
| Download URL | techwitness-0.1.0.tar.gz |
|---|---|
| Size | 38.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22b7386dd8cec7d001508d7ba129f98885304f9e6a08b0cf22c9f93d532f8fab
|
|
BLAKE2b-256 checksum How to use checksums |
baeb7ddaba4209c55b38772bbefb61271a2fdde98faa6846c759b6b5a4ab7db8
|
| 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 25, 2026.
Transparency logRelease files / techwitness-0.1.0-py3-none-any.whl
| Download URL | techwitness-0.1.0-py3-none-any.whl |
|---|---|
| Size | 36.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17a8765050705db70db11031c29b7cd0eeb19378235ec5117bf336c39c951efb
|
|
BLAKE2b-256 checksum How to use checksums |
3f8e897a85ba23455fcc7bb58fa043c989574af83d5b90009c505b488a744dc8
|
| 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 25, 2026.
Transparency logSecurity for techwitness 0.1.0
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 techwitness-0.1.0.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 25, 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.