fix: nav-div disign

This commit is contained in:
cheeest 2025-04-06 21:37:12 +03:00
parent 7aa60e1240
commit 16ec5d8aba
3 changed files with 5 additions and 4 deletions

4
app.py
View File

@ -50,7 +50,7 @@ def forensic():
def osint(): def osint():
return render_template('osint-main.html') return render_template('osint-main.html')
@app.route("web/sql-injection", methods=('GET', 'POST')) @app.route("/web/sql-injection", methods=('GET', 'POST'))
def sql(): def sql():
if request.method == 'POST': if request.method == 'POST':
login = request.form['login'] login = request.form['login']
@ -64,7 +64,7 @@ def sql():
return redirect(url_for('success_login'), code=302) return redirect(url_for('success_login'), code=302)
return render_template('sql-injection.html') return render_template('sql-injection.html')
@app.route("/task1-metadata") @app.route("/forensic/task1-metadata")
def task1(): def task1():
session['task1_id'] = id = hex(getrandbits(45))[2:] session['task1_id'] = id = hex(getrandbits(45))[2:]
session['task1_flag'] = flag_task1 = f'C4TchFl4g{{{hex(getrandbits(45))[2:]}}}' session['task1_flag'] = flag_task1 = f'C4TchFl4g{{{hex(getrandbits(45))[2:]}}}'

View File

@ -334,7 +334,7 @@
.decore1 { .decore1 {
background-image: linear-gradient(to right, rgba(225, 225, 225, 0.8), rgba(225, 225, 225, 0.6)); background-image: linear-gradient(to right, rgba(225, 225, 225, 0.8), rgba(225, 225, 225, 0.6));
width: 4.5%; width: 0.7rem;
height: 85%; height: 85%;
margin: 0; margin: 0;
border-radius: 1rem; border-radius: 1rem;

View File

@ -2,3 +2,4 @@
{% include '_head.html' %} {% include '_head.html' %}
<body> <body>
{% include '_header.html' %} {% include '_header.html' %}
{% include '_sidenav.html' %}