easyctf-2017/qr-1/grader.py

4 lines
161 B
Python
Raw Permalink Normal View History

2017-03-08 16:32:56 +00:00
def grade(autogen, answer):
if answer.find("n0w_who-w0u1d_do_thAT_to_Th3ir_QR?") != -1:
return True, "Congrats!"
return False, "Nope, try again."