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

{% block level_title %}The Hash Cracking Dilemma{% endblock %}

{% block level_description %}
<div>
 <p>
    After a series of vulnerabilities were exposed, CyberVault has emerged fortified, its defenses bolstered perhaps by an elite team of developers. The vault seemed impenetrable, a digital fortress once more.
  </p>
  <p>
    Yet, the tale took a darker turn with the firing of a disgruntled sysadmin. In an act of defiance, this former employee unleashed CyberVault's entire user database into the digital ether. The breach caused ripples, but CyberVault remained unshaken, confident in the security provided by their hashed passwords.
  <p>
    Your curiosity piqued, you navigated the digital undercurrents to find this leaked treasure. After long hours of endless browsing, you stumbled on a forum which contained a link to the leaked file: <strong class="story-emphasis"><a href="{% url 'vulnerabilities/level4/db_leak' %}">here</a></strong>. With the vault's defenses seemingly unbreachable, could this be the key you've been searching for?
  </p>
  <p>
  </p>
</div>
{% endblock %}

{% block hint_url %}
{% url 'vulnerabilities/level/hint' level_num=4 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">Log In</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 %}
