Pyrostring
generates session strings for Telegram
accounts using Pyrogram
and all session string generated is usable on Pyrogram forks
.
Before running the script, ensure that you have created all accounts in Telegram X or the official Telegram app.
- Clone the repository
git clone https://github.com/zawsq/Pyrostring.git
- Install the required dependencies
pip install -r requirements.txt
After cloning the repository, you need to edit the config.py
file to include your API credentials:
- Update
API_ID
andAPI_HASH
with your own values.
Put your numbers in numbers.csv
Format should be:
- +your_number
- +your_number
Refer to the configuration guide.
Navigate to the Pyrostring directory and run main.py
When prompted, provide the following information:
NEED SESSION:
Enter the 4-digit code provided by Telegram.AUTH PASSWORD:
Enter your Telegram authentication password.
Once completed, all your session strings will be saved in the session_string.csv
file.
Please note that this script is intended for educational purposes only. Misuse of this tool may lead to account suspension or banning by Telegram. Use at your own risk.