From d84184bdcc69366bf09aef939a1c209a1a382e11 Mon Sep 17 00:00:00 2001 From: Brandon John Date: Fri, 17 Mar 2017 17:10:54 -0500 Subject: [PATCH] Added new flag for QR2 --- qr-2/description.md | 1 + qr-2/grader.py | 4 ++++ qr-2/problem.yml | 9 +++++++++ qr-2/qr2_1.BMP | 0 4 files changed, 14 insertions(+) create mode 100644 qr-2/description.md create mode 100644 qr-2/grader.py create mode 100644 qr-2/problem.yml create mode 100644 qr-2/qr2_1.BMP diff --git a/qr-2/description.md b/qr-2/description.md new file mode 100644 index 0000000..2b326e1 --- /dev/null +++ b/qr-2/description.md @@ -0,0 +1 @@ +When I am not practicing my [Oboe](https://en.wikipedia.org/wiki/Oboe) for band, I have been working on a QR code generator. For some reason, some of the images are not scannable. [Here](${qr2_1_bmp}) is one, can you tell me what it says? \ No newline at end of file diff --git a/qr-2/grader.py b/qr-2/grader.py new file mode 100644 index 0000000..1917416 --- /dev/null +++ b/qr-2/grader.py @@ -0,0 +1,4 @@ +def grade(autogen, answer): + if answer.find("w0w_who_kn3w_that_Oboes_c0uld_mask_a_s3cr3t?") != -1: + return True, "Congrats!" + return False, "Nope, try again." diff --git a/qr-2/problem.yml b/qr-2/problem.yml new file mode 100644 index 0000000..df92811 --- /dev/null +++ b/qr-2/problem.yml @@ -0,0 +1,9 @@ +title: QR 2 +author: wiresboy +category: Forensics +autogen: false +programming: false +value: 330 +hint: Is there another kind of Oboe? +files: + - qr2_1.bmp \ No newline at end of file diff --git a/qr-2/qr2_1.BMP b/qr-2/qr2_1.BMP new file mode 100644 index 0000000..e69de29