Added ZeusCTF flags
This commit is contained in:
parent
c7dda63391
commit
edb477fb84
3 changed files with 3 additions and 3 deletions
|
@ -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":
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Posts</title>
|
||||
<title>Posts</title>
|
||||
</head>
|
||||
<body>
|
||||
<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 %}
|
||||
|
|
BIN
web/web.db
BIN
web/web.db
Binary file not shown.
Loading…
Reference in a new issue