easyctf-2017/luckyguess/grader.py
2017-02-15 04:26:11 +00:00

4 lines
184 B
Python

def grade(autogen, key):
if key.find("aaA_tOucH_0f_luccK_47ca4e") != -1:
return True, "Stupendous guesswork! Great job!"
return False, "Sorry, tough luck. Keep at it."