Mutt
Professional
- Messages
- 1,167
- Reaction score
- 835
- Points
- 113
This material is provided for educational purposes only and was created as part of the study of information security. The author did not publish material for malicious purposes. If someone uses the information for personal gain, then the author is not responsible for any harm or damage caused.
For the script to work, download python -> https://www.python.org/downloads/
Install telethon by typing in cmd:
Now we create any document with the .py extension and write to it:
(Code at pastebin-> https://pastebin.com/tjSQdzfm)
Then go here-> https://my.telegram.org/apps
Log in through the cart, and get App api_id and App api_hash:
Open our script and insert api_id in the api_id field and apihash in the apihash field
The setup is complete, run the script:
Log in again, and that's it, the bot is working.
On subsequent runs of the script, authorization is not required.
What is the principle of the bot?
It looks for BTC BANKER checks in all groups in which you are a member and instantly activates them.
For the script to work, download python -> https://www.python.org/downloads/
Install telethon by typing in cmd:
Code:
pip install telethon
Now we create any document with the .py extension and write to it:
Code:
from telethon import TelegramClient, events, sync
import re
api_id = ''
api_hash = ''
regex = r "BTC_CHANGE_BOT \? start ="
client = TelegramClient ('session', api_id, api_hash)
@ client.on (events.NewMessage ())
async def normal_handler (event):
user_mess = event.message.to_dict () ['message']
m_from = event.message.to_dict ()
to_id = event.message.to_dict () ['to_id'] ['channel_id']
if re.search (r'BTC_CHANGE_BOT \? start = ', user_mess):
m = re.search (r'c_ \ S + ', user_mess)
await client.send_message ('BTC_CHANGE_BOT', '/ start' + m.group (0))
print (m.group (0))
client.start ()
client.run_until_disconnected ()
Then go here-> https://my.telegram.org/apps
Log in through the cart, and get App api_id and App api_hash:

Open our script and insert api_id in the api_id field and apihash in the apihash field
The setup is complete, run the script:
Code:
cd <path>
python <file> .py
Log in again, and that's it, the bot is working.
On subsequent runs of the script, authorization is not required.
What is the principle of the bot?
It looks for BTC BANKER checks in all groups in which you are a member and instantly activates them.