An advanced IRC-based Capture The Flag (CTF) game bot that creates an engaging and secure challenge environment.
- 🔒 Secure challenge submission system
- 🎯 Progressive difficulty challenges
- ⏰ Time-based challenges
- 🔐 Cryptographic puzzles
- 📝 Steganography challenges
- 🤖 Automated challenge progression
- 🔑 Private message verification
- 🎮 Interactive command system
-
Welcome Challenge
- Simple riddle to get started
- Tests basic problem-solving skills
-
Binary Decoding
- Binary to ASCII conversion
- Pattern recognition
-
Cryptographic Challenge
- Base64 encoding/decoding
- String manipulation
-
Time-Based Challenge
- Special time-based puzzle
- Requires timing and patience
-
Vigenère Cipher
- Classical encryption
- Pattern analysis
-
Steganography Challenge
- Hidden messages in text
- Pattern recognition
-
Final Challenge
- Multi-step cryptographic puzzle
- Ultimate test of all skills
- Clone the repository:
git clone https://github.com/yourusername/cypherctf-bot.git
cd cypherctf-bot- Install dependencies:
pip install -r requirements.txt- Create a
.envfile with your configuration:
BOT_NICK=CTFGameBot
BOT_USERNAME=CTFGameBot
BOT_REALNAME=IRC CTF Game Bot
BOT_PASSWORD=your_secure_password_here
BOT_EMAIL=your_email@example.com- Run the bot:
python bot.pyThe bot can be configured through environment variables or directly in the code:
BOT_NICK: Bot's nicknameBOT_USERNAME: Bot's usernameBOT_REALNAME: Bot's real nameBOT_PASSWORD: Password for NickServ registrationBOT_EMAIL: Email for NickServ registration
- Connect to the IRC server
- Join the main channel (#CypherCon)
- Type
!startto begin - Follow the challenges in sequence
- Submit solutions via private message
- Complete all challenges to win
!start- Begin the CTF game!help- Show help information
- Private message verification
- Channel kick after solving
- Hidden solutions
- Time-based challenges
- Multiple verification methods
To add new challenges:
- Edit
challenges.py - Add your challenge to the
CHALLENGESdictionary - Include challenge text, solution, and hints
- Test thoroughly before deployment
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
ISC License
Copyright (c) 2025, strangeprogram blowfish@hivemind