quotexhlp's picture
Create utils/ctf_helper.py
4431669 verified
Raw History Blame Contribute Delete
372 Bytes
def explain_ctf(question):
if "base64" in question.lower():
return "Try decoding the string using base64. It might hide a flag."
elif "SQL" in question.upper():
return "This seems like a SQL Injection challenge. Try common payloads like `' OR 1=1--`."
return "I need more info to help. Try adding keywords like XSS, JWT, buffer overflow, etc."