A lightweight, web-based Admin Panel honeypot designed for cybersecurity learning, experimentation, and research. Ideal for students, ethical hackers, and developers who want hands-on experience with authentication flows, access control, and simulated secure interfaces.
CyberSnare simulates an internal administration portal commonly found in enterprise environments. It provides a controlled, safe environment to:
- Practice user login/session management
- Understand role-based access control (admin vs guest)
- Experiment with misconfigurations and UI/UX pitfalls
- Visualize system status and simulated settings
- Learn core concepts behind honeypots and defensive deception
This project is designed to help you learn and experiment with:
- 🔐 Login system with session-based access control
- 🧑💼 Admin dashboard with:
- ✅ System status overview
- 👥 User management interface
- 🔥 Editable firewall rules (simulated)
- 📬 Email alerts via SendGrid
⚠️ Custom error pages for 403 / 404 / 500- ✨ Clean, responsive UI with Bootstrap 5
- 🧪 Predefined users for safe testing
- 🧲 Built as an educational honeypot concept
Make sure you have the following installed:
- Python 3.8+
- pip
- A verified SendGrid account (for sending email alerts)
git clone https://github.com/CyberNilsen/cybersnare.git
cd cybersnare- Create and activate a virtual environment
python -m venv venv- Install Python dependencies
pip install -r requirements.txt- Set up environment variables Create a .env file in the root directory:
ALERT_THRESHOLD=5
SENDGRID_API_KEY=your_sendgrid_api_key
SMTP_HOST=smtp.sendgrid.net
SMTP_PORT=587
[email protected]
SMTP_FROM_NAME=your_name
[email protected]
flask runVisit: http://127.0.0.1:8080 (localhost) http://:8080 (on your LAN)
| Username | Password | Role |
|---|---|---|
| admin | letmein123 | Administrator |
You can customize users in the config.py or similar config file.
This project is intended for educational and research purposes only. It is not secure for production use without significant hardening and proper authentication/security reviews.
This project is licensed under the MIT License - see the LICENSE file for details.
Created with ❤️ by CyberNilsen
