easyctf-2017/cookieblog/grader.py
2017-03-13 21:26:12 -05:00

4 lines
154 B
Python

def grade(random, key):
if key.find("yum_c00kies!!!") != -1:
return True, "Yum!"
return False, "Eww... wrong. bad cookie"