Giter Club home page Giter Club logo

telegram-extractor's Introduction

Telegram Extractor

Few scripts to help to analyse the data stored in the official Telegram Android app. Written in Python 3.

tgnet.dat extractor

Extracts the files/tgnet.dat file that contains datacenter's IP addresses, master secrets and other. This script parses the file and prints all the values to standard output.

Usage

python tgnet-extractor.py <path>

  • <path> path to the tgnet.dat file you need to extract from a mobile phone manually, for example by using adb: adb pull /data/data/org.telegram.messenger.beta

Example

python tgnet-extractor.py examples/tgnet.dat

Message extractor

Extracts messages from the bytes stored in messages.data sqlite column of Telegram.

Usage

python message-extractor.py <path>

  • <path> path to the byte file you need to extract manually from the Telegram's sqlite database

Example

python message-extractor.py examples/regular-message-1.dat

Encrypted chat info extractor

Extracts info from the bytes stored in enc_chats.data sqlite column of Telegram which contains the secret chat's main auth_key secret and other.

Usage

python encrypted-chat-extractor.py <path>

  • <path> path to the byte file you need to extract manually from the Telegram's sqlite database

Example

python encrypted-chat-extractor.py examples/encrypted-chat-info.dat

License

Copyright 2016 Tomas Susanka

Licensed under the MIT license.

telegram-extractor's People

Contributors

tsusanka avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.