easyctf-2017/commentary/grader.py

5 lines
121 B
Python
Raw Normal View History

2017-03-13 19:14:26 +00:00
def grade(autogen, answer):
if answer.find("yougotit")!=-1:
return True, "Correct!"
return False, "Nope, try again."