-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctfbot.py usage #3
Comments
Hi! Currently the bots are managed using the Our standard setup, depicted in the following image Requires setting up two organizers machines: a router/VM host and a gameserver (or manager). The manager machine is the one responsible for running both the web interface of ctforge (with the database) and the The ctfbot handles both the generation of new flags, the advance of the round, the dispatch phase and the checks: you can see from the two last line of the crontab file (the standard 2-minute round CTF)
that every two minutes the script is called with the advance and dispatch options to both advance the current round ( The ctfbot needs to call the checker and dispatcher scripts and uses the return code as return value:
The CTF starts decommenting the corresponding lines on Note that to pause/stop the CTF you can simply comment the crontab lines. |
Thank you so much for this description! I am going to leave the issue open simply so people can see it. |
I am running a CTF in a little over a month and would love to get the attack/defense challenges working on the scoreboard because of the bots. I have been attempting to understand how the bots for checking flags actually work for about a week now. But, I have not been able to figure out where the scripts are actually written to, how to set which type of flag bot to use (advanced, check and dispatch) and a few other things with the bots.
Ideally, I would ask for some documentation be written about the bots. But, with the consideration of time, could some previous examples of the setup and scripts be put into an example folder? Or, describe how it works some here?
Thanks for the scoreboard, again! I really appreciate all of this; thanks for the help!
The text was updated successfully, but these errors were encountered: