var unreadAlerts = '1';
You have one unread private message from dkota titled Welcome to the Forum!

HIDE YOUR TELEGRAM REAL ACCOUNT
#1
 
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:
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:
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

@ChatWithBlackBot on TG
Report
#2
This is awesome! Will try it out.
Reply Quote // Report
#3
Wow, well done!
Reply Quote // Report
#4
Seems great, I'll try it. Thanks for sharing man!
Reply Quote // Report


Quick Reply
Message
Type your reply to this message here.



Possibly Related Threads…
Thread Author Replies Views Last Post
  Novel Technique for utilizing proxychains to hide your attack box VPS Woodie 2 204 04-22-2023, 10:41 PM
Last Post: test202329



Users browsing this thread: purely_cabbage
var thread_deleted = "0"; if(thread_deleted == "1") { $("#quick_reply_form, .new_reply_button, .thread_tools, .inline_rating").hide(); $("#moderator_options_selector option.option_mirage").attr("disabled","disabled"); }