{"id":13792494,"url":"https://github.com/drego85/tosint","last_synced_at":"2025-04-09T05:08:46.996Z","repository":{"id":48436817,"uuid":"389592303","full_name":"drego85/tosint","owner":"drego85","description":"Tosint (Telegram OSINT) is a powerful tool designed to extract valuable information from Telegram bots and channels. It serves as an essential resource for security researchers, investigators, and anyone interested in gathering insights from various Telegram entities.","archived":false,"fork":false,"pushed_at":"2024-09-20T12:19:59.000Z","size":36,"stargazers_count":681,"open_issues_count":1,"forks_count":66,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-02T03:18:04.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drego85.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-26T10:19:59.000Z","updated_at":"2025-03-28T03:26:42.000Z","dependencies_parsed_at":"2024-08-03T22:06:38.897Z","dependency_job_id":"19cec4e2-4902-4773-b518-c1152f50b08c","html_url":"https://github.com/drego85/tosint","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"00d7fde61e504a80320600b79ecf438c498c51a5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drego85%2Ftosint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drego85%2Ftosint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drego85%2Ftosint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drego85%2Ftosint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drego85","download_url":"https://codeload.github.com/drego85/tosint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980837,"owners_count":21027808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T22:01:12.848Z","updated_at":"2025-04-09T05:08:46.957Z","avatar_url":"https://github.com/drego85.png","language":"Python","funding_links":["https://buymeacoffee.com/andreadraghetti"],"categories":["I - Tools List","Recently Updated","Social Media Tools"],"sub_categories":["[Jul 28, 2025](/content/2025/07/28/README.md)","[↑](#-table-of-contents) Telegram"],"readme":"# Tosint - Telegram OSINT Tool\n\nTosint (Telegram OSINT) is a tool designed to extract valuable information from Telegram bots and channels. \nIt is ideal for security researchers, investigators, and anyone interested in gathering insights from Telegram entities. \nUsing OSINT techniques, Tosint can uncover essential details about bots and associated channels, offering a deeper understanding of their structure and activity.\n\n### Features\n\nTosint allows you to extract the following information:\n\n- **Bot Information**: First Name, Username, User ID, Status, and whether the bot can read group messages.\n- **Chat Information**: Chat Title, Type (group or channel), ID, Username, Invite Link.\n- **Additional Information**:\n    - Number of users in the chat.\n    - Details of chat administrators, including their roles (e.g., admin, member).\n\n\n### Use Cases\n\nTosint is a valuable tool for cybersecurity researchers involved in the analysis of malware or phishing kits. Cybercriminals increasingly use Telegram to collect information stolen from victims, such as: Malware logs, Login Credentials, Credit or Debit Card details.\n\nDuring investigations, by identifying the Token and Chat ID used by criminals (often found through malware or phishing kit analysis), Tosint enables the collection of valuable information to monitor the criminal activities. This helps researchers gain a clearer understanding of the infrastructure used by attackers, supporting a timely and targeted response to emerging threats.\n\n\n### Who Uses Tosint?\n\nTosint has been adopted by security researchers, investigators, and professionals in the field of open-source intelligence (OSINT) to gather insights from Telegram bots and channels. \n\nI'm proud to mention that Tosint is also used by law enforcement agencies for investigative purposes, further demonstrating its practical value in real-world applications.\n\n### Example Usage\n\nTo use Tosint, you can either provide the `Telegram Token` and `Chat ID` interactively, or pass them as command-line arguments.\n\n**Interactive Mode**:\n```\n$ python3 tosint.py\nTelegram Token (bot1xxx): 562ZZZZ900:XXXXNj7_wIEi74GXXX90CIxACBIX_YYYYwI\nTelegram Chat ID (-100xxx): -1001XXXXXX196\n```\n\n**Command-Line Arguments**:\n```\n$ python3 tosint.py -t 562ZZZZ900:XXXXNj7_wIEi74GXXX90CIxACBIX_YYYYwI -c -1001XXXXXX196\n```\n\nBoth approaches will provide you with detailed information about the bot and chat.\n\n### Example Output\n\nAfter running the tool, the following is an example of the output you can expect:\n\n```\n\nAnalysis of token: 562ZZZZ900:XXXXNj7_wIEi74GXXX90CIxACBIX_YYYYwI and chat id: -1001XXXXXX196\n\nBot First Name: Over Security Bot\nBot Username: over_security_bot\nBot User ID: 56XXXXXX00\nBot Can Read Group Messages: False\nBot In The Chat Is An: administrator\nChat Title: Over Security\nChat Type: channel\nChat ID: -100XXXXXX3196\nChat has Visible History: True\nChat Username: OverSecurity\nChat Invite Link: https://t.me/+VmWXXXXXXHI1MTM0\nChat Invite Link (exported): https://t.me/+AqcXXXXXXGJmZjk0\nChat Invite Link (created): https://t.me/+LCsXXXXXXMgyYTg0\nNumber of users in the chat: 286\nAdministrators in the chat:\n{'id': 56XXXXXX00, 'is_bot': True, 'first_name': 'Over Security Bot', 'username': 'over_security_bot'}\n{'id': 20XXXX39, 'is_bot': False, 'first_name': 'Andrea', 'last_name': 'Draghetti', 'username': 'AndreaDraghetti'}\n```\n\n### Installation\n\n1. Clone the repository:\n```\ngit clone https://github.com/drego85/tosint.git\n```\n\n2. Install the required dependencies:\n```\npip install -r requirements.txt\n```\n\n3. Run the tool:\n```\npython3 tosint.py\n```\n\nMake sure you have Python 3.x installed.\n\n### Contributing and Supporting the Project\n\nThere are two ways you can contribute to the development of **Tosint**:\n\n1. **Development Contributions**:\n\n   Please ensure that your code follows best practices and includes relevant tests.\n\n2. **Donation Support**:\n   If you find this project useful and would like to support its development, you can also make a donation via [Buy Me a Coffee](https://buymeacoffee.com/andreadraghetti). Your support is greatly appreciated and helps to keep this project going!\n\n   [![Buy Me a Coffee](https://img.shields.io/badge/-Buy%20Me%20a%20Coffee-orange?logo=buy-me-a-coffee\u0026logoColor=white\u0026style=flat-square)](https://buymeacoffee.com/andreadraghetti)\n\n### License\n\nThis project is licensed under the GNU General Public License v3.0.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrego85%2Ftosint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrego85%2Ftosint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrego85%2Ftosint/lists"}