easyctf-2017/tiny-eval/grader.py

5 lines
171 B
Python
Raw Permalink Normal View History

2017-02-11 23:20:04 +00:00
def grade(autogen, key):
2017-03-14 22:23:55 +00:00
if key.find("it's_2017_anD_we're_still_using_PHP???") != -1:
2017-02-11 23:20:04 +00:00
return True, "You got it!"
return False, "Nope. Keep poking around."