easyctf-2017/security-through-obscurity/grader.py

4 lines
228 B
Python
Raw Normal View History

2016-10-20 22:52:48 +00:00
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." }