easyctf-2017/ogrewatch/grader.py

5 lines
150 B
Python
Raw Normal View History

2016-11-23 00:01:06 +00:00
def grade(autogen, answer):
2016-11-23 00:04:36 +00:00
if answer.find("subs_r_b3tt3r_th@n_dub5") != -1:
2016-11-23 00:01:06 +00:00
return True, "Correct!"
2016-11-23 00:04:36 +00:00
return False, "Nope, try again."