Skip to main content

A tool for exploring and getting information about the Tor network

Project description

torscope

A tool for exploring and getting information about the Tor network.

Overview

torscope is a Python command-line tool for fetching and analyzing information about the Tor network. It implements the Tor directory protocol and OR (Onion Router) protocol, allowing you to explore relay information, create circuits, and study the Tor specification in practice.

Features

  • Directory Protocol

    • List all Tor directory authorities and fallback directories
    • Fetch and parse network consensus documents
    • View detailed relay information and server descriptors
    • Fetch extra-info statistics for relays
    • Filter relays by flags (Guard, Exit, Fast, etc.)
  • OR Protocol

    • Establish TLS connections to Tor relays
    • Perform link protocol handshake (VERSIONS, CERTS, AUTH_CHALLENGE, NETINFO)
    • Create circuits using the ntor handshake (Curve25519 key exchange)
    • Derive encryption keys for circuit communication

Installation

pip install torscope

Usage

Example Onion Addresses

  • duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion
  • protonmailrmez3lotccipshtkleegetolb73fuirgj7r4o4vfu7ozyd.onion
  • dwnewsgngmhlplxy6o2twtfgjnrnjxbegbwqx6wnotdhkzt562tszfid.onion

License

torscope Tor Network Information Tool

Copyright (C) 2025-2026 Mete Balci

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

References

Project details


Download files

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

Source Distribution

torscope-0.3.0.tar.gz (120.8 kB view details)

Uploaded Source

Built Distribution

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

torscope-0.3.0-py3-none-any.whl (114.3 kB view details)

Uploaded Python 3

File details

Details for the file torscope-0.3.0.tar.gz.

File metadata

  • Download URL: torscope-0.3.0.tar.gz
  • Upload date:
  • Size: 120.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for torscope-0.3.0.tar.gz
Algorithm Hash digest
SHA256 37acddac9ad64bafcb0ac656bdb0648f97949d6f81da03340bcd92d87d4fde95
MD5 8493332ac14f990209286b80df9c53f6
BLAKE2b-256 9a870e2a2346f311133df309542f77eeb8071c26e986934be6b1785e171c35fd

See more details on using hashes here.

File details

Details for the file torscope-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: torscope-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 114.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for torscope-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fad837a2ec38ffa5bf98e939585fec8ba4b42eab2badc84d02b037c46bdabe78
MD5 6bb1a22501a4da8a85111d9ba6eda0c7
BLAKE2b-256 9741b5be042c1a700e256f133c3a59948fdc1e5a6ffd66a7754970f1a330fbd5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page