about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authormaride <maride@darknebu.la>2018-08-14 17:28:47 +0200
committermaride <maride@darknebu.la>2018-08-14 17:28:47 +0200
commit6a66ed60af5ba83d3e9c064d41dbd1b7a0f23468 (patch)
tree5c940674cfbcc93b52eb9ed87c78f1236976a859 /README.md
parent728e93e07648adb84c83f77687077d18987e0319 (diff)
Add challenges
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 433f658..89b2017 100644
--- a/README.md
+++ b/README.md
@@ -18,3 +18,25 @@ This executable needs some parameters to work properly:
 | `-username` | No | Name of our user, as used e.g. in salutation. No length or charset limitation. *Default: Player 1* |
 | `-accessCode` | Yes | Access code for the user. *Default: AllYourCodesAreBelongToUs* |
 | `-sessionSalt` | Yes | Variable to salt the session token generator with. |
+| `-seedFile` | Yes | JSON file to read challenge information from. |
+
+## Seed file
+
+The seed file should be of the following format:
+
+```
+{
+  "challenges": [
+    {
+      "name": "Evil Service",
+      "description": "A meaningful and funny description",
+      "flag": "CIRCUS[IS_REALLY_COOL]",
+      "container": "challenge-evilservice",
+      "category": "Miscellaneous"
+    },
+    {
+      "name": "Insecure Stuff",
+      [...]
+  ]
+}
+```