fix: utils directory

This commit is contained in:
2025-04-07 21:36:50 +03:00
parent fe43dc0497
commit 5a17934843
16 changed files with 56 additions and 44 deletions
+19
View File
@@ -0,0 +1,19 @@
<div class="navigation capsule-window">
<div class="decore1"></div>
<nav class="navlink">
<a href="{{ url_for('index') }}" class="link">На главную</a>
{%- for link, text in (
('fmetadata', "Метаданные и как их найти"),
('fbinwalk', "Что не так с моим докладом?"),
('fbase', "0K3RgtC+INCx0LDQt9Cw"),
('fhex', "Hex в картинках"),
('fhash', "Зачем Cat нужен hash"),
) %}
{%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a>
{%- endif %}
{%- endfor %}
{#- <!-- <a href="">rfi</a>--> #}
{#- <!-- <a href="">lfi</a>--> #}
</nav>
</div>
+14
View File
@@ -0,0 +1,14 @@
<head>
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}">
<script src="{{ url_for('static', filename='scripts/animation.js') }}"></script>
<meta charset="UTF-8">
{%- if request.path != url_for('index') %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/base16/ros-pine-moon.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
{%- endif %}
<link rel="icon" type="image/png" href="{{ url_for('static', filename='imgs/main_icon.png') }}">
<title>CTF для самых маленьких</title>
</head>
+8
View File
@@ -0,0 +1,8 @@
<div class="headerblock divv">
<div class="translate-header">
<a href="{{ url_for('index') }}">
<h1 class="header">CTF для самых маленьких</h1>
<h3 class="context">Для тех кто хотел бы разобраться, но не знает, с чего начать</h3>
</a>
</div>
</div>
+17
View File
@@ -0,0 +1,17 @@
<div class="navigation capsule-window">
<div class="decore1"></div>
<nav class="navlink">
<a href="{{ url_for('index') }}" class="link">На главную</a>
{%- for link, text in (
('web', 'Web'),
('forensic', 'Форензика'),
('osint', 'OSINT'),
) %}
{%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a>
{%- endif %}
{%- endfor %}
{#- <!-- <a href="">rfi</a>--> #}
{#- <!-- <a href="">lfi</a>--> #}
</nav>
</div>
+17
View File
@@ -0,0 +1,17 @@
<div class="navigation capsule-window">
<div class="decore1"></div>
<nav class="navlink">
<a href="{{ url_for('index') }}" class="link">На главную</a>
{%- for link, text in (
('osintquestions', "Чур ответы не гуглить!"),
('osintgeoguessr', "Мастер яндекс-карт"),
('osintrht', "Реально сложный таск"),
) %}
{%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a>
{%- endif %}
{%- endfor %}
{#- <!-- <a href="">rfi</a>--> #}
{#- <!-- <a href="">lfi</a>--> #}
</nav>
</div>
+17
View File
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="ru">
{% block head %}
{%- include 'utils/_head.html' %}
{%- endblock %}
<body>
{% include 'utils/_header.html' -%}
{% block content -%}{% endblock -%}
<img id="help" title="" onclick="showPopup()" src="{{ url_for('static', filename='imgs/icon.png') }}">
</body>
</html>
+19
View File
@@ -0,0 +1,19 @@
<div class="navigation capsule-window">
<div class="decore1"></div>
<nav class="navlink">
<a href="{{ url_for('index') }}" class="link">На главную</a>
{%- for link, text in (
('websql', "SQL-инъекция"),
('webidor', "Уязвимость IDOR"),
('webpt', "Уязвимость Path Traversal"),
('webssti', "Уязвимость SSTI"),
('webpsguide', "Немного о PortSwigger"),
) %}
{%- if request.path != url_for(link) %}
<a href="{{ url_for(link) }}" class="link">{{ text }}</a>
{%- endif %}
{%- endfor %}
{#- <!-- <a href="">rfi</a>--> #}
{#- <!-- <a href="">lfi</a>--> #}
</nav>
</div>