Challenges in Informatics: Patching, Hacking and Exploiting - Gameserver | |
|---|---|
|
CaptureTheFlag
|
Last updated on 21.10.08 15:42
Gameserver for CTF-style contestsThis gameserver was written to support the CIPHER contest of the RWTH Aachen on July 22nd 2005. The gameserver was entirely designed and written by Lexi Pimenidis. A capture-the-flag exercise, short: CTF, consists of multiple teams, each hosting a server that has multiple services running, like e.g. a webserver, a mail server, or customized services. The services contain typical security vulnerabilities that allow to compromise the server to a certain extend. The goal of these challenges is to maintain the services up, functional and uncompromised for the duration of the game. Additional scores can usualy be gained by patching the vulnerabilities of the services and exploiting the knowledge of the found weaknesses at the other team's servers. The main task of the gameserver is to periodically check whether the services are working and functional. This gameserver is designed to do this task for a number of parallel games, services and teams. The gameserver is designed to be as stateless as possible. If the process is killed or terminated it can simply be restarted without major problems. The complete process and status of the game is stored in the mysql database. Thus, killing the gameserver does at maximum stops all transactions that are currently done. But besides the actions that were active when the gameserver was killed, everything else should continue working as if it were never restarted. Software prerequisitesTo make full use of this piece of software, you need
TestedThis game server has been successfully deployed in (at least) the following major CTFs:DownloadsDownload the Source. Below a history of versions:
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. The full GNU General Public License is included in this distribution in the file called LICENSE. |