Spaces:
Runtime error
Runtime error
File size: 372 Bytes
4431669 | 1 2 3 4 5 6 7 | 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."
|