easyctf-2017/listen-closely/grader.py

5 lines
170 B
Python
Raw Permalink Normal View History

def grade(autogen, key):
2017-03-17 04:46:33 +00:00
if key.upper().find("DO_YOU_HEAR_THE_C_SHELLS_BASHING_AGAINST_THE_C_SHORE") != -1:
return True, "Correct!"
return False, "Nope!"