{% extends "base.html" %} {% block content %}

Document Results

{% if results is not none %} {% for result in results %}

{{ result.file_name }}

{% if result.model_password_candidates is not none and result.model_password_candidates|length > 0%}

Password Model Results

{% for result in result.model_password_candidates %}
  • {{ " ".join(result["left_context"]) }} {{ result["password"] }} {{ " ".join(result["right_context"]) }}
  • {% endfor %} {% endif %} {% if result.regex_password_candidates is not none and result.regex_password_candidates|length > 0%}

    Password Regex results

    {% for result in result.regex_password_candidates %}
  • {{ " ".join(result["left_context"]) }} {{ result["password"] }} {{ " ".join(result["right_context"]) }}
  • {% endfor %} {% endif %} {% if result.custom_regex_matches is not none and result.custom_regex_matches|length > 0%}

    Custom Regex results

    {% for result in result.custom_regex_matches %}
  • {{ " ".join(result["left_context"]) }} {{ result["password"] }} {{ " ".join(result["right_context"]) }}
  • {% endfor %} {% endif %}
    {% endfor %} {% else %}

    No documents processed.

    {% endif %}
    Back
    {% endblock %}