From 3eda5bf97e8626c1e3d9f9a39329b5fe0793c14a Mon Sep 17 00:00:00 2001 From: MegaAbsol Date: Thu, 20 Oct 2016 18:52:48 -0400 Subject: [PATCH] add grader --- security-through-obscurity/grader.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 security-through-obscurity/grader.py diff --git a/security-through-obscurity/grader.py b/security-through-obscurity/grader.py new file mode 100644 index 0000000..7e098b4 --- /dev/null +++ b/security-through-obscurity/grader.py @@ -0,0 +1,4 @@ +def grade(autogen, answer): + if answer.find("i_actu4lly_d0nt_know_th3_name_of_th15_crypt0sy5tem") != -1: + return { "correct": True, "message": "Correct!" } + return { "correct": False, "message": "Nope, try again." } \ No newline at end of file