Discord command-and-control script which can run multiple tasks on a target machine via use of webhooks and a Discord bot.
- 📡 Remote command execution via Discord
- 🤖 Easy setup with Discord bot and webhooks
- 📝 Multi-task support on target machine
- 🛡️ Lightweight and fully written in Python
- ⚡ Real-time communication between client and Discord
- Python 3.7 or higher
- Required Python packages (see requirements.txt)
- Discord account & server (with permission to add bots)
-
Clone the repository
git clone https://github.com/Asko7779/discord-c-c.git cd discord-c-c
-
Install dependencies
pip install -r requirements.txt
-
Create a Discord Bot
- Go to the Discord Developer Portal
- Create a new application and add a bot to it
- Copy the bot token for later use
-
Set up Webhooks
- In your Discord server, create a new webhook in your desired channel
- Copy the webhook URL
-
Configure the script
- Edit the configuration section in the main script or create a
.env
file with your bot token and webhook URL:DISCORD_BOT_TOKEN=your_bot_token_here WEBHOOK_URL=your_webhook_url_here
- Edit the configuration section in the main script or create a
- Start the script
python3 main.py
- Control the target machine
- Use Discord commands (via bot or webhook) to send tasks or instructions
- View responses directly in your Discord channel
This project is intended for educational, research, and authorized use only
Unauthorized use of this tool on machines you do not own or without explicit permission is strictly prohibited and may violate laws or Discord's terms of service.
Contributions and suggestions are welcome!
Feel free to open issues or pull requests
Star the repo if you found this useful⭐