Skip to main content

An OSINT toolkit for investigating Telegram chats.

Project description

Telepathy: An OSINT toolkit for investigating Telegram chats.

Installation

Install from source

git clone https://github.com/jordanwildon/Telepathy.git

Navigate to the installation directory cd telepathy and run setup.py, this will set up the tool and install all the necessary dependencies.

sudo python3 setup.py install

or

pip3 install telepathy

Then register for and obtain your Telegram API details from my.telegram.org.

Usage

Upon installation completion, you will be able to use Telepathy. On first use, Telepathy will ask for your API details and then an authorization code that will be sent to your Telegram account. If you have two-factor authentication enabled, you'll be asked to input your Telegram password.

Usage: telepathy [OPTIONS]

Telepathy is an OSINT toolkit for investigating Telegram chats.

Options: --verbose Prints output to the terminal. -n, --name TEXT Specifies a chat to investigate. You can use this more than once. -a, --archive Archives the specified chat. -m, --media Archives media in the specified chat. -f, --forwards Scrapes forwarded messages. -p, --participants Scrapes members from the specified group. -u, --user TEXT Looks up a specified user ID. -i, --info TEXT Looks up a specified channel by ID. -l, --location TEXT Finds users near to specified coordinates. --help Show this message and exit.

A note on how Telegram works

Telegram chats are organised into two key types: channels and megagroups/supergroups. Each module works slightly differently depending on the chat type. For example, subscribers of Channels can't be scraped with the members.py module. Channels can have seemingly unlimited subscribers, megagroups can have up to 200,000 members.

** Upcoming changes ** With the release of the Telepathy CLI interface, the toolkit has entered its next stage of production. Despite this, some bugs may still be present and some features are yet to be added. In some environments (particularly Windows), Telepathy struggles to effectively manage files and can sometimes produce errors. Fixes for these errors will come in due course.

Upcoming features include:

  • Re-adding a time specification flag for the archive module to set archiving for specific period.
  • Giving the archiver module the ability to archive comments on channel posts.
  • Reintroducing batch archiving based on a to_archive.csv.
  • Reintroducing advanced tools as part of the package.

Feedback

Please send feedback to @jordanwildon on Twitter

Usage terms

You may use Telepathy however you like, but your usecase is your responsibility. Be safe and respectful.

Credits

All tools created by Jordan Wildon (@jordanwildon). Alex Newhouse (@AlexBNewhouse) contributed to the early release of Telepathy.

Where possible, credit for the use of this tool in published research is desired, but not required.

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

telepathy-1.1.13.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

telepathy-1.1.13-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file telepathy-1.1.13.tar.gz.

File metadata

  • Download URL: telepathy-1.1.13.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for telepathy-1.1.13.tar.gz
Algorithm Hash digest
SHA256 b449983860360551e79dcb8d378359fefd3de460705d33a4e4f49e64924c4816
MD5 def914fb5c837ba3fee177f3fdc95038
BLAKE2b-256 180086ab18993771d1416f7f60e6bc03e936b0a2f63816ff1b9a6769cccc47f7

See more details on using hashes here.

File details

Details for the file telepathy-1.1.13-py3-none-any.whl.

File metadata

  • Download URL: telepathy-1.1.13-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for telepathy-1.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 004a37b8a997f30724ba6067dbec72493c152bb27e882b7e990fbe6a5397d6dd
MD5 7521abd8056ec76d0fdb43df23305e0b
BLAKE2b-256 eca31791cedb387036460056c5f4438103fbe8a3d1b7ac6202fff37d8a94ecfe

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