TelegramOnlineSpy
TelegramOnlineSpy copied to clipboard
Logged out on all devices after adding a user
Main idea is in title. Installed telethon, cloned repo, created application and bot, ran python spy.py
with my python 3.11, sent 'add' command to bot, but got logged out on all my devices instead of something other.
try client = TelegramClient('current-session', API_ID, API_HASH, system_version="4.16.30-vxCUSTOM")
I experienced the same problem when I was debugging locally, everything worked well, but when I moved this code to the cloud on another server, when I started it, I was immediately thrown offline. I got scared and thought that I could have been hacked, what was it and why did it happen?
I experienced the same problem when I was debugging locally, everything worked well, but when I moved this code to the cloud on another server, when I started it, I was immediately thrown offline. I got scared and thought that I could have been hacked, what was it and why did it happen?
@a-poluyanov, (i'm russian) it's because spammer using telethon, Telegram's servers learned to detect spammers and block all session and (in some situations) block account for 24 hours. Try to use:
try client = TelegramClient('current-session', API_ID, API_HASH, system_version="4.16.30-vxCUSTOM")
Where bold "CUSTOM", name of "custom system version". For example: system_version="4.16.30-vxNekoNya")
I experienced the same problem when I was debugging locally, everything worked well, but when I moved this code to the cloud on another server, when I started it, I was immediately thrown offline. I got scared and thought that I could have been hacked, what was it and why did it happen?
i was scared too when i'm logout from all my devices. if you have more information - tell me here please