How dedsecinside/torbot works
TorBot is a CLI-first dark-web OSINT crawler with an evidence-first analysis mode. Users supply a URL and crawl options; the CLI fetches pages, builds a link tree, extracts page and contact details, classifies site text, and can serialize a versioned crawl result. Users can then analyze that result into an evidence-cited investigation bundle. Other documented capabilities include site-information checks, tree visualization, version updating, and an optional separately installed desktop app. Some subsystem links rely on README or SOURCE INDEX references because their full implementations were not sampled.
Main entry points: cli.py CLI commands · linktree.py Link crawler · analyst.py Evidence analysis · crawl_result.py Crawl result format
Components 17
CLI entry
- CLI commands
src/torbot/cli.py
Crawl and inspect
- Link crawler
src/torbot/modules/linktree.py - Link relationships
src/torbot/modules/linktree.py - Site inspection
src/torbot/modules/info.py - Text classification
src/torbot/modules/nlp/main.py - Crawler configuration
src/torbot/modules/config.py
Evidence analysis
- Crawl result format
src/torbot/crawl_result.py - Evidence analysis
src/torbot/analyst.py - Investigation outputs
src/torbot/analyst.py
Utilities
- Tor IP check
src/torbot/modules/api.py - Version updater
src/torbot/modules/updater.py - Desktop app launcher
src/torbot/modules/app_launcher.py - Terminal presentation
src/torbot/modules/color.py
Other components
- Analyst
- Web targets
- Tor SOCKS proxy
- AI provider
Connections 20
- Analyst → CLI commands: runs commands
README.md - CLI commands → Link crawler: starts crawl
src/torbot/cli.py - Link crawler → Web targets: fetches pages
src/torbot/modules/linktree.py - Link crawler → Tor SOCKS proxy: routes requests
README.md - Link crawler → Link relationships: builds relationships
src/torbot/modules/linktree.py - Link crawler → Text classification: classifies pages
src/torbot/modules/linktree.py - Link crawler → Crawler configuration: uses settings
src/torbot/modules/linktree.py - CLI commands → Site inspection: runs inspection
src/torbot/cli.py - Site inspection → Web targets: requests site data
src/torbot/modules/info.py - CLI commands → Crawl result format: writes crawl result
README.md - Link crawler → Crawl result format: adapts crawl
src/torbot/modules/linktree.py - Analyst → Evidence analysis: requests analysis
README.md - CLI commands → Evidence analysis: dispatches analysis
src/torbot/cli.py - Evidence analysis → Crawl result format: reads result
README.md - Evidence analysis → AI provider: requests claims
README.md - Evidence analysis → Investigation outputs: writes bundle
README.md - CLI commands → Tor IP check: checks Tor IP
src/torbot/cli.py - CLI commands → Version updater: checks updates
src/torbot/cli.py - CLI commands → Desktop app launcher: launches app
src/torbot/cli.py - CLI commands → Terminal presentation: formats output
src/torbot/cli.py