A Python-based command and control (C2) script that uses Telegram as its communication channel. This tool allows remote command execution through Telegram bot interactions.
Before using this script, ensure you have the following:
- Python 3.x installed on your system
- A Telegram account
- Internet connection
- Open Telegram and search for
@BotFather(look for the official bot with a blue verification checkmark) - Start a conversation with BotFather by clicking Start
- Send the
/newbotcommand - Follow the prompts to:
- Choose a name for your bot
- Set a unique username (must end with 'bot')
- Configure general settings as needed
- Save the bot token provided by BotFather - you'll need this later
pip install pybotnetClone the repository:
git clone https://github.com/Keidi16/PYBOTNET.gitNavigate to the project directory:
cd PYBOTNETMake the script executable:
chmod +x bot.pyRun the script:
python3 bot.pyMake sure to configure your bot token in the script before running it. Replace the placeholder token with the one you received from BotFather.
- Python 3.x
- pybotnet library
- Telegram account and bot token
- Active internet connection
This tool is intended for educational and authorized testing purposes only. Ensure you have proper authorization before using this on any systems or networks you do not own.
- Verify your bot token is correctly configured
- Ensure all dependencies are properly installed
- Check your internet connection
- Make sure Python 3.x is installed and accessible
Feel free to submit issues and pull requests to improve this project.