{% load static %} {% load i18n %} {% load l10n %} {% load add_space %} {% for row in main %} {% if row.reason == 'Nemesida AI MLA' %}Nemesida AI MLA{% elif row.reason == 'Nemesida AI MLC' %}Nemesida AI MLC {% else %}{% if 'Virus' in row.description %} Virus {% elif 'Brute' in row.reason %}Brute-force {% else %} {{ row.description }} {% endif %} {% endif %} {% if ' bot ' in row.ua|lower or row.bot %} {{ ' (bot)' }} {% endif %} {% if row.bt == 1 or row.bt == 2 or row.bt == 4 or row.bt == 5 or row.bt == 6 or row.bt == 7 or row.bt == 9 or row.bt == 10 or row.bt == 14 or row.bt == 16 %}  {{ row.vhost }} {% else %} {% if row.ml_learning_progress != '100' %}  {{ row.vhost }} {% else %} {% if row.ml_learning_progress == '100' or row.ml_learning_progress is None %}  {{ row.vhost }} {% endif %} {% endif %} {% endif %} {% if row.lm %}  (LM) {% endif %}
{% with row.ips as ips %} {% include 'main/_logs_ips_results_cell.html' %} {% endwith %}
 {{ row.timestamp|date:"d.m.Y H:i:s" }}
{# recheck block types #} {% if not group and user.is_admin %} {% if row.bt == 3 or row.bt == 8 %} {% if row.status == None %} {% elif row.status == 0 %} {% elif row.status == 1 %} {% elif row.status == 2 %} {% endif %} {% else %} {% if row.bt == 1 or row.bt == 2 %} {% if row.mz == 'ARGS' or row.mz == 'BODY' or row.mz == 'Cookie' or row.mz == 'URL' %} {% if row.description == 'SQLi' or row.description == 'XSS' or row.description == 'LFI' or row.description == 'RFI' %} {% if row.status == None %} {% elif row.status == 0 %} {% elif row.status == 1 %} {% elif row.status == 2 %} {% endif %} {% endif %} {% endif %} {% endif %} {% endif %} {% endif %} {% include 'main/_unlock.html' %} {% endfor %}