Skip to main content

A tool for exploring the Tor network

Project description

Overview

torscope is a tool for exploring 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

  • torscope75efu4gls3m24xezterv7nhj36ibnjlrocqeslclwbxgs7yd.onion
  • 2gzyxa5ihm7nsggfxnu52rck2vv4rvmdlkiu3zzui5du4xyclen53wid.onion
  • duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion
  • dwnewsgngmhlplxy6o2twtfgjnrnjxbegbwqx6wnotdhkzt562tszfid.onion

License

torscope Tor Network Exploration 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.4.0.tar.gz (127.4 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.4.0-py3-none-any.whl (121.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for torscope-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d7bca44d8d92222bb118ccdee86b3cb83e4e42c5ff16cad007078ee5fe8a724f
MD5 8df01e921fbb8a8c53d4cca6f5208871
BLAKE2b-256 f8dfa29cc4e906b5724ddeff63a251904352ed197d322d63fd8682ea9628f1b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torscope-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 121.0 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1205153e51bfef0e26d00facf5dd19402423af697fdadab3313d7074d0c9ba83
MD5 b807292c473d81c07f4eea5b3c4931bd
BLAKE2b-256 01fb61733e1123a68d18b4623da229bf5139863426c19b69903ebd06d710ba8f

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