easyctf-2017/my-usb/grader.py

4 lines
198 B
Python
Raw Normal View History

2016-10-22 16:21:23 +00:00
def grade(autogen, answer):
if answer.find("d3let3d_f1l3z_r_k00l") != -1:
return { "correct": True, "message": "Correct!" }
return { "correct": False, "message": "Nope, try again." }