added rule page

This commit is contained in:
2026-01-09 00:48:44 +01:00
parent f2af58a2a5
commit 8a3857a093
4 changed files with 65 additions and 2 deletions

View File

@@ -32,6 +32,20 @@ footer {
color: #00ff00;
}
.container.header-title {
background: transparent;
border: none;
padding-left: 0;
padding-right: 0;
margin-bottom: 0;
}
/* Ensure the link inside doesn't have extra decoration if not wanted */
.header-title h1 {
margin: 0;
}
h1 { font-size: 1.5rem; word-wrap: break-word; }
input[type="text"], input[type="email"] {

View File

@@ -7,7 +7,9 @@
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
<h1><a href="{{ url_for('main.index') }}">> TUM CTF 2026_</a></h1>
<header class="container header-title">
<h1><a href="{{ url_for('main.index') }}">> TUM CTF 2026</a></h1>
</header>
<main>
{% block content %}{% endblock %}
</main>

View File

@@ -1,8 +1,55 @@
{% extends "base.html" %}
{% block content %}
<style>
code {
background-color: #333;
border-radius: 3px;
}
</style>
<div class="container">
<h1>> Rules</h1>
<ul>
<li>Each challenge awards a dynamic number of points based on the number of solves.</li>
<li>No DoS, automated scans, heavy traffic, or tampering with our infrastructure.</li>
<li>If something feels unintentionally easy, please report it.</li>
<li>Do not share flags or solutions with other teams. We will not tolerate flag sharing.</li>
<li>Each team may register only once, and each person may belong to only one team.</li>
<li>Only TUM Students are permitted to participate in the CTF.</li>
<li>Attacking personnel, including participants and non-participants, or the competition system itself is forbidden.</li>
<li>Every participant has to follow the Code of Conduct.</li>
<li>The top three teams of the competition are eligible for the placement prizes listed on the front page</li>
<li>The organizers have the final say on prize decisions. Legal recourse is not permitted.
<li>Unless stated otherwise the flag format is <code>h4tum{.+}</code>.</li>
</ul>
<hr style="border-color: #333; margin: 30px 0;"></hr>
<h1>> Code of Conduct</h1>
We are committed to providing a friendly, safe, and welcoming environment for all participants of the h4tum CTF Contest and its presence on the related h4tum CTF Discord that is free from discrimination on any basis.
This Code of Conduct outlines our expectations for user behavior, as well as reporting steps and consequences of unacceptable behavior.
<h3>Expected Behaviour</h3>
<ul>
<li>Be considerate and respectful.</li>
<li>Refrain from demeaning, discriminatory, or harassing behavior or speech.</li>
<li>Be considerate of your fellow participants they may have a different understanding of language and personal space.</li>
<li>Inform the h4tum CTF organizers if you notice any unacceptable behavior.</li>
</ul>
This code is not exhaustive or complete. It serves to distill our shared understanding of a collaborative, shared environment, and goals. We expect it to be followed in spirit as much as in letter.
<h3>Unacceptable Behaviour</h3>
<ul>
<li>Intimidating, harassing, offensive, discriminatory, derogatory, or demeaning behavior.</li>
<li>Offensive verbal comments, including those related to gender, gender identity, sexual orientation, disability, race, ethnicity, age, or religion.</li>
<li>Inappropriate use of nudity and/or sexual imagery (including, but not limited to, public channels, and direct messages on h4tum CTF discord).</li>
<li>Intimidating, harassing or stalking other participants.</li>
<li>Unwelcome sexual attention.</li>
</ul>
<h3>Consequences of unacceptable behavior</h3>
Unacceptable behavior by participants will not be tolerated.<br>
Anyone asked to stop unacceptable behavior is expected to comply immediately.<br>
If a participant engages in unacceptable behavior, h4tum CTF organizers may, at their discretion, take any action they deem appropriate, up to and including expulsion from the competition and removal from the h4tum CTF Discord.
</div>
{% endblock %}

2
run.py
View File

@@ -3,4 +3,4 @@ from app import create_app
app = create_app()
if __name__ == '__main__':
app.run(debug=True)
app.run(debug=True, host='0.0.0.0')