OP 07 March, 2026 - 10:56 AM
? Telegram API & Stress Test Management Bot
✨ Features
This project is a fully-featured, asynchronous, and high-performance Telegram bot infrastructure that allows administrators to offer their API networks to customers via Telegram. Developed asynchronously using the python-telegram-bot library and aiohttp, it offers fully automated membership and quota management with background MySQL database integration.
- [b]Asynchronous Architecture: API requests are processed concurrently in the background using[/b]aiohttpwithout freezing or delaying the bot.
- [b]Automated Subscription Management: Users can instantly activate their accounts by entering the payment codes (Payment Code) provided by the admin.[/b]
- [b]Advanced Limit System: Based on predefined plans in the database (Basic, Medium, Advanced, Advanced+, PORN+), users are assigned "Maximum Concurrent Requests" and "Maximum Seconds" quotas.[/b]
- [b]CAPTCHA Verification: Prevents brute-force attacks on payment codes with a visual CAPTCHA system generated instantly using the[/b]Pillowlibrary.
- [b]Dynamic Blacklist: Critical targets like[/b].gov,
.edu,
localhost, and
1.1.1.1are blocked by default. If desired, API (Hub) based blacklist bypass permissions can be defined via the database.
- [b]Load Balancing: When multiple API servers are added under the same method, the system automatically finds a suitable server whose concurrent limits are not full and distributes the load efficiently.[/b]
- [b]Live Process Tracking: Tracks users' active processes and remaining times second by second using in-memory data (RAM), ensuring accurate quota returns.[/b]?️ Requirements
To run this project, you need the following components: - Python 3.8 or higher
- MySQL or MariaDB Database
- To install the required Python libraries, run: (pip install python-telegram-bot mysql-connector-python aiohttp Pillow)⚙️ Installation Steps
- [b]Prepare the Database: Import the[/b]mydatabase (1).sqlfile into your local MySQL server. This process will automatically create the Api, Logs, PaymentCodes, Plan, and Users
tables along with the necessary default data.
- [b]Configure Database Connection: Update the database credentials in the get_db_connection [/b]function inside the gnet.pyfile according to your own system: host='localhost', user='your_username', password='your_password', database='mydatabase'
Add Telegram Bot Token: Paste the API Token you received from BotFather into the relevant variable in the gnet.py file: token = 'YOUR_TOKEN_HERE'? User Commands
- /start- Welcome message and bot entry.
- /help- Shows the list of available commands and their usage.
- /methods- Lists the defined Layer 4 and Layer 7 attack methods in the system (Only visible to users with an active plan).
- /plan- Lists the subscription plans and their prices available in the database.
- /account- Shows your account's instant "Concurrent" and "Second" limits.
- /payment <code>- Activates the purchased plan using the payment code with CAPTCHA confirmation.
- /attack <method> <target> <seconds> <concurrent>- Starts the stress test process via the API.
- /recent- Shows your currently active attacks and their remaining times in seconds.⚠️ Disclaimer
This software is developed [b]strictly for educational and security research (stress testing/load testing) purposes. The developer accepts no legal responsibility for any misuse, use in illegal activities, or any damage caused to third parties/systems. Users of this code are solely responsible for their actions and are obliged to comply with the laws of their respective countries.
DOWNLOAD: [/b]
![[Image: Orange-White-Clean-and-Modular-e-Sports-...anel-1.gif]](https://i.ibb.co/yF60dFLR/Orange-White-Clean-and-Modular-e-Sports-Twitch-Panel-1.gif)