Hiding your Real Telegram account. | General Hacking | Crax

Welcome To Crax.Pro Forum!

Check our new Marketplace at Crax.Shop

   Login! SignUp Now!
  • We are in solidarity with our brothers and sisters in Palestine. Free Palestine. To learn more visit this Page

  • Crax.Pro domain has been taken down!

    Alternatives: Craxpro.io | Craxpro.com

Hiding your Real Telegram account.

Hiding your Real Telegram account.

LV
1
 

0O1

Member
Joined
Nov 29, 2023
Threads
14
Likes
17
Awards
4
Credits
922©
Cash
0$
I made a simple python script to hide my real telegram account from public world

Anyone can still having conversation with me without knowing my real account

How does it works?

Code:
Code:
RANDOM-USER <-> TELEGRAM BOT <-> GROUP CHAT <-> REAL ACCOUNT

Basically, you give other user a link to your telegram bot, then the bot do the heavy works

Anyone on the group chat can reply to the message, and then the bot will forward it to original sender

Requirements:

1. Python3 & PIP
2. pip3 install pyrogram tgcrypto
3. run the script (more documentation are on the script comments)

Source code: (only 30 line of readable python file)

Code:
Python:
from pyrogram import Client, filters

# generate api_id and api_hash from https://my.telegram.org/apps
# if you can't, you can find it somewhere :)
API_ID = 0
API_HASH = ""

# generate bot token from @BotFather
BOT_TOKEN = ""

app = Client(
"bot",
api_id=API_ID,
api_hash=API_HASH,
bot_token=BOT_TOKEN)

CHAT_ID = 0 # must be numeric only

user_reply_info = {}

@app.on_message(filters.private)
async def forward_to_group(client, message):
forwarded = await client.forward_messages(chat_id=CHAT_ID, from_chat_id=message.chat.id, message_ids=message.id)
user_reply_info[forwarded.id] = (message.chat.id, message.id)

@app.on_message(filters.chat(CHAT_ID) & filters.reply)
async def handle_group_reply(client, message):
if message.reply_to_message.id in user_reply_info:
orig_chat_id, orig_msg_id = user_reply_info[message.reply_to_message.id]
await client.send_message(chat_id=orig_chat_id, text=message.text, reply_to_message_id=orig_msg_id)

app.run()

Make sure that you runs this script on a machine that has VPN Running (with Active Kill Switch) so Telegram won't detect your machine real IP
 
  • Like
Reactions: fognayerku

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Top Bottom