fbctf icon indicating copy to clipboard operation
fbctf copied to clipboard

Base level explanation

Open wirehack7 opened this issue 8 years ago • 4 comments

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?

wirehack7 avatar Nov 11 '17 14:11 wirehack7

Look at score_base.py in the /fbctf/extra/

chamorrodan avatar Dec 14 '17 19:12 chamorrodan

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.

fropert avatar Mar 15 '18 09:03 fropert

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

cyberbalsa avatar Mar 19 '18 04:03 cyberbalsa

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?

jbooz1 avatar Sep 19 '18 15:09 jbooz1