From 2ac89a3eee53254e271c8e24dd98f7dc9bb128e3 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Mon, 13 Mar 2017 03:39:25 -0500 Subject: [PATCH] Name can't begin with a number. --- 20xx/description.md | 2 +- 20xx/problem.yml | 2 +- edge1/problem.yml | 2 +- edge2/description.md | 1 + edge2/grader.py | 4 ++++ edge2/problem.yml | 5 +++++ 6 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 edge2/description.md create mode 100644 edge2/grader.py create mode 100644 edge2/problem.yml diff --git a/20xx/description.md b/20xx/description.md index cacfe15..89aa0f3 100644 --- a/20xx/description.md +++ b/20xx/description.md @@ -1 +1 @@ -My friend sent me [this file](${20xx_dtm}) and told me to git gud. +My friend sent me [this file](${_20xx_dtm}) and told me to git gud. diff --git a/20xx/problem.yml b/20xx/problem.yml index c4e5eeb..7f67629 100644 --- a/20xx/problem.yml +++ b/20xx/problem.yml @@ -5,4 +5,4 @@ autogen: false programming: false value: 50 files: - - 20xx.dtm + - _20xx.dtm diff --git a/edge1/problem.yml b/edge1/problem.yml index b057950..30d558b 100644 --- a/edge1/problem.yml +++ b/edge1/problem.yml @@ -1,5 +1,5 @@ title: Edge 1 category: Web -value: 50 +value: 100 author: neptunia autogen: false \ No newline at end of file diff --git a/edge2/description.md b/edge2/description.md new file mode 100644 index 0000000..24331b8 --- /dev/null +++ b/edge2/description.md @@ -0,0 +1 @@ +Last time we screwed up. But we've [learned our lesson](http://edge2.web.easyctf.com). \ No newline at end of file diff --git a/edge2/grader.py b/edge2/grader.py new file mode 100644 index 0000000..4e47476 --- /dev/null +++ b/edge2/grader.py @@ -0,0 +1,4 @@ +def grade(random, key): + if key.find("hiding_the_problem_doesn't_mean_it's_gone!") != -1: + return True, "Correct!" + return False, "Nope." diff --git a/edge2/problem.yml b/edge2/problem.yml new file mode 100644 index 0000000..156f361 --- /dev/null +++ b/edge2/problem.yml @@ -0,0 +1,5 @@ +title: Edge 2 +category: Web +value: 200 +author: mzhang +autogen: false \ No newline at end of file