easyctf-2017/my-usb/grader.py
2016-10-22 12:21:23 -04:00

4 lines
No EOL
198 B
Python

def grade(autogen, answer):
if answer.find("d3let3d_f1l3z_r_k00l") != -1:
return { "correct": True, "message": "Correct!" }
return { "correct": False, "message": "Nope, try again." }