RTB CTF Framework

screenshot of RTB CTF Framework
flask

A fast, efficient and lightweight (~100 KB) Capture The Flag framework inspired by the HackTheBox platform. Built with Flask.

Overview:

RootTheBox CTF Framework is an innovative tool designed for enthusiasts of Capture The Flag (CTF) competitions. Leveraging the simplicity of Flask, this lightweight framework — clocking in at approximately 100 KB — offers a fast and efficient solution ideal for both organizations and individuals who want to manage their CTF events without a hefty price tag. The framework is inspired by the popular HackTheBox platform and is packed with features that make it not only scalable and customizable but also budget-friendly.

Whether you're a developer looking to host your own CTF competition or a learner interested in diving into practical cybersecurity exercises, RootTheBox provides a robust environment that doesn't compromise on functionality or performance. With its easy deployment options and strong administrative controls, it promises a seamless experience tailored to your needs.

Features:

  • Machine Listing: Displays details such as name, IP, OS, points, and difficulty level for each challenge machine, making it easy to organize and manage.
  • Challenges Listing: Offers a simple overview of all challenges with fields for title, description, URL, and points to encourage user engagement.
  • Configurable Settings: Provides flexibility with customizable settings including running time, organization details, and CTF name to fit specific needs.
  • Automatic Strong Passwords: Ensures security with automatically generated strong passwords for administrators, enhancing user safety.
  • Admin Controls: Features robust controls for admins to issue notifications, execute database CRUD operations, and maintain comprehensive logging.
  • User Registration and Management: Streamlined signup process with account management, including password recovery options to facilitate user access.
  • Real-Time Scoreboard Tracking: Keeps participants updated with live score changes, enhancing competitive excitement during challenges.
  • Fast Caching: Efficient caching mechanisms are employed to ensure speeds are optimal, contributing to a smooth user experience.
  • Easy Deployment: Seamlessly host your customized version on platforms like Heroku, Railway, or Zeet.co in under a minute, making access straightforward.

RootTheBox serves not just as a CTF scoring engine but also as an effective manager that is well-equipped to handle various levels of traffic, proving to be a valuable asset for both casual learners and seasoned developers.

flask
Flask

Flask is a lightweight and popular web framework for Python, known for its simplicity and flexibility. It is widely used to build web applications, providing a minimalistic approach to web development with features like routing, templates, and support for extensions.