From 94bd07b2bce28f07c3b790404472cecf928c09b1 Mon Sep 17 00:00:00 2001 From: Jason Zeller Date: Thu, 21 Mar 2019 12:09:16 -0500 Subject: [PATCH] Fix flags.json and link hrefs. --- lib/output/ctfd_generator.rb | 2 +- lib/templates/CTFd/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/output/ctfd_generator.rb b/lib/output/ctfd_generator.rb index f0add59d2..c1cff341f 100644 --- a/lib/output/ctfd_generator.rb +++ b/lib/output/ctfd_generator.rb @@ -66,7 +66,7 @@ class CTFdGenerator flag_id = flags.length + 1 flags << { "id"=>flag_id, - "chal"=>challenge_id, + "challenge_id"=>challenge_id, "type"=>"static", "content"=>output_value, "data"=>nil} diff --git a/lib/templates/CTFd/index.html b/lib/templates/CTFd/index.html index cb128f334..801b17ccf 100644 --- a/lib/templates/CTFd/index.html +++ b/lib/templates/CTFd/index.html @@ -5,10 +5,10 @@

- You may review the challenges and (if available) purchase hints. + You may review the challenges and (if available) purchase hints.

- Please use the Flag Submission page to submit your flags. + Please use the Flag Submission page to submit your flags.

Good luck!