{% extends 'vulnerabilities/levels/base.html' %}
{% load static %}
{% load crispy_forms_tags %}

{% block level_title %}The Invisible Trail{% endblock %}

{% block level_description %}
<div>
  <p>
  As you navigate CyberVault's intricate web, you notice a subtle pattern in the network requests: many images seem to originate from the <code>/static</code> url path of this page, hinting at a potential treasure trove of resources. Following your curiosity, you navigate to the <a href="{% url 'vulnerabilities/level5/path_index_static' %}"><code>/static</code></a> path directly and find something unexpected—directory indexing is enabled, revealing an unfiltered list of files and folders.
  </p>
  <p>
    Among the displayed files, one directory stands out immediately: a folder named "config" Its intriguing name sparks immediate interest, suggesting a place of great importance. Yet, upon entering, the folder appears empty, leaving you puzzled and even more intrigued. How could a folder with such a name contain nothing at all?
  </p>
  <p>
    In the empty directory's depths, you sense there's more than meets the eye. The path ahead involves unraveling the mystery behind the seemingly empty folder by examining the unseen and probing deeper into its secrets. In this digital labyrinth, keen observation and a clever mind will help you reveal the files that were thought to be safely tucked away from prying eyes.
  </p>
</div>
{% endblock %}

{% block hint_url %}
{% url 'vulnerabilities/level/hint' level_num=5 hint_num=1 %}
{% endblock %}

{% block level_content %}
<div class="container mt-5">
  <div class="row">
    <div class="col-md-6 offset-md-3">
      <div class="card">
        <div class="card-body">
          <h2 class="card-title text-center mb-4">Enter administration password</h2>
          <form method="post" class="needs-validation" novalidate>
            {% csrf_token %}
            {{ form | crispy }}
            <div class="d-grid gap-2">
              <button type="submit" class="btn btn-primary">Log In</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
{% endblock %}

{% comment %}
vi: ft=htmldjango
{% endcomment %}
