Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
goelp14
GitHub Repository: goelp14/easyctf-iv-problems
Path: blob/master/nosource_jr/grader.py
671 views
1
def grade(autogen, key):
2
if "congrats!_but_now_f0r_n0s0urc3_..." in key:
3
return True, "Correct!"
4
elif "}yngrcne EacrBxz" in key:
5
return False, "You're almost there. But try looking a bit more closely..."
6
elif "Fg4GCRoHCQ4TFh0IBxENA" in key:
7
return False, "You're getting there, but not quite. What is the string that you entered used for?"
8
return False, "Nope! Have you tried viewing the source?"
9
10