Added ZeusCTF flags

This commit is contained in:
lverherb 2024-02-21 17:48:31 +01:00
parent c7dda63391
commit edb477fb84
3 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ def root():
db = get_db()
user_cookie = request.cookies.get("userid")
if user_cookie is None:
user_cookie = str(random.randint(100000, 999999))
user_cookie = str(random.randint(100_000, 999_999))
print(f"Userid was None, nieuw UID: {user_cookie}")
if request.method == "POST":

View file

@ -11,7 +11,7 @@
<form method="POST">
<label for="text">Enter new submission:</label>
<input type="text" name="text" />
<input type="submit"/>
<input type="submit" class="ZeusCTF{H3ll0_w0rld_7F8L0P}"/>
</form>
{% for post in posts %}

Binary file not shown.