fbctf
fbctf copied to clipboard
Base level explanation
I'm playing around with the different level types.
What I don't understand clearly is the base level mechanics.
I spinned up the included python script for a base level, it is listening on an IP for GET.
In SCORE_POINTS I added a team name. I added the URL IP:Port as a link to the level.
How is the level then obtained? How the game checks it? I'm getting a response with a check hash and the team name I entered in the file. What do with that?
Look at score_base.py in the /fbctf/extra/
A base level can be validated exclusively once the game is started. The FBCTF poll a base every base cycle (default value is 5 second) as configured in configuration/game. The remote base machine must be reachable from the FBCTF machine. It can be verified with the curl command.
Please do note that the server it connects to is HARD coded to a port
I had to make some mods to have ip:contestport:scoreport since I was doing IP stacking on a few of my servers
Please do note that the server it connects to is HARD coded to a port
Is it possible to have query params in the url?