diff --git a/app.py b/app.py index bae33cf..2ff538b 100644 --- a/app.py +++ b/app.py @@ -50,7 +50,7 @@ def forensic(): def osint(): return render_template('osint-main.html') -@app.route("web/sql-injection", methods=('GET', 'POST')) +@app.route("/web/sql-injection", methods=('GET', 'POST')) def sql(): if request.method == 'POST': login = request.form['login'] @@ -64,7 +64,7 @@ def sql(): return redirect(url_for('success_login'), code=302) return render_template('sql-injection.html') -@app.route("/task1-metadata") +@app.route("/forensic/task1-metadata") def task1(): session['task1_id'] = id = hex(getrandbits(45))[2:] session['task1_flag'] = flag_task1 = f'C4TchFl4g{{{hex(getrandbits(45))[2:]}}}' diff --git a/static/index.css b/static/index.css index 5206422..7ca1ec9 100644 --- a/static/index.css +++ b/static/index.css @@ -334,7 +334,7 @@ .decore1 { 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%; margin: 0; border-radius: 1rem; diff --git a/templates/web-main.html b/templates/web-main.html index 1828592..e6cdcd5 100644 --- a/templates/web-main.html +++ b/templates/web-main.html @@ -1,4 +1,5 @@ {% include '_head.html' %} - {% include '_header.html' %} \ No newline at end of file + {% include '_header.html' %} +{% include '_sidenav.html' %} \ No newline at end of file