This repository contains all the code developed by our team for the Reply Hack the Code 2025 Challenge, including solutions for both the Capture the Flag (CTF) challenges and the algorithmic optimization problem.
The Reply Hack the Code Challenge is an international team-based competition that blends coding and cybersecurity. Over the course of six hours, teams compete to solve an algorithm-based optimization problem, earning points by submitting solutions based on provided input files.
At the start of the competition, some input files are available by default. However, additional input files—critical for maximizing the score—can only be unlocked by completing CTF challenges across three categories:
- Miscellaneous
- Cryptography
- Web Security
These challenges test participants' skills in cybersecurity, reverse engineering, and problem-solving. A live leaderboard tracks progress, allowing teams to compare their performance in real time against competitors worldwide.
The 2025 edition of the challenge took place on March 12th at 15:30 CET, lasting for a total of six hours.
Imagine a future in which every branch of a large global network, scattered across metropolises and small, remote centers, receives clean and sustainable energy. Each location has its own challenges: varying costs, renewable sources to integrate, and environmental conditions to respect. The goal is ambitious: to achieve energy independence with a carbon-neutral, or even negative, footprint. However, all of this with limited resources, forcing careful choices and ingenious strategies.
Reply takes on this challenge by following an unconventional path: through innovative technologies, creative solutions, and a long-term vision, it strives to build an energy ecosystem where nothing is wasted and every single watt can make a difference. It is a story of ingenuity and responsibility in which efficiency, sustainability, and adaptability intertwine in a global mosaic of operational sites. The stakes are high: achieving a perfect balance between demand, supply, and budget, proving that it is possible to grow, expand, and prosper without ever losing sight of the planet and future generations.
Now, imagine having to put all this into practice: activity rounds, energy resources to balance, initial and maintenance costs, life cycles, special effects. The problem is ready to reveal its complexity and test your planning skills.
The challenge is divided into two main components:
-
Capture the Flag (CTF) Challenges:
- Miscellaneous: These challenges cover a wide range of topics and require participants to think outside the box to solve unique problems.
- Cryptography: Participants must decrypt messages, break codes, and solve puzzles that test their understanding of cryptographic principles.
- Web Security: These challenges focus on identifying and exploiting vulnerabilities in web applications, testing participants' skills in web security.
-
Algorithmic Optimization Problem:
- Energy Management: Participants must develop algorithms to manage energy resources efficiently across a global network of sites. This involves balancing energy supply and demand, integrating renewable energy sources, and minimizing costs while maintaining sustainability.
- Resource Allocation: Teams must allocate limited resources strategically to maximize energy efficiency and sustainability. This includes planning for initial setup costs, ongoing maintenance, and adapting to changing environmental conditions.
- Simulation and Strategy: The problem includes simulating various scenarios and testing different strategies to achieve the best possible outcomes. Teams must consider long-term impacts and make decisions that balance immediate needs with future sustainability goals.
The document Green_Revolution_Game.pdf
provides detailed information about the problem, including the rules, constraints, and objectives. It serves as the primary reference for participants as they develop their solutions.
Name | GitHub | ||
---|---|---|---|
Andrea Botticella | |||
Fabrizio Emanuel | |||
Elia Innocenti | |||
Renato Mignone | |||
Simone Romano |