diff --git a/challenges/Example/example.xml b/challenges/Example/example.xml index 9e118991..f04506ae 100755 --- a/challenges/Example/example.xml +++ b/challenges/Example/example.xml @@ -2,23 +2,46 @@ Example Template For Challenge .xml Files creation - Name or email or both + Name or email or both - In what category does your challenge belong?(web? crypto? networks?) + In what category does your challenge belong?(Value used to make the admin's life easier) - Insert some text describing the scenario of the challenge(what the users are supposed to do and if there is any fictional story) + text describing the scenario of the challenge(what the users are supposed to do and if there is any fictional story) will be presented to the users as is - Either an interger from 1 to 10 with 1 being the easiest , or one of beginner, intermediate, advanced , hide_yo_wife - The level will be the max points a user can get. - beginner: 2pts - intermediate 4pts - advanced 6pts - hide_yo_wife 8pts - b4d1d3a 10pts + Either an interger from 1 to 100 with 1 being the easiest + The level will be the max points a user can get. - - The duration after which a user is disqualified. - The timer starts when a username starts a challenge for first time. - + + one of vagrant,docker + Note: + Bellow you can find examples of all provider directives. Also, for each kind of provider there should be + example/template challenges provided in the repository + * Docker means that the challenge contains a service which should run inside a docker container. + Should you choose docker you can either provide a folder which will be copied in /var/www/ of the target container + or you can provide a Dockerfile along with the challenge files which will be used to configure the container + * Vagrant means that the challenge will should be launched inside a virtual machine. In that case you can choose to + + + docker + (optional)relative path to your dockerfile + (optional)if you don't provide a dockerfile you can list here the files to be added to the target container, + you can have multiple copy directives, one for each file + e.g. challenge_folder/ /var/www/html/ + + a set of commands to be run when the container starts, you can have multiple run statements + + + vagrant + + puppet + + text here will appear in the config.vm.provision "puppet" do |puppet| section of the target vagrantfile as is + +