easyctf-2017/fizz-buzz-2/source_verifier.py

9 lines
233 B
Python
Raw Normal View History

2017-03-15 18:35:02 +00:00
import sys
code = sys.stdin.read()
if ("i" in code) or ("I" in code) or ("?" in code) or ("eval" in code) or ("exec" in code):
print "Your program contains an 'i', 'I', or '?'. Please remove it and try again."
else:
print "OK"