{% extends "base.html" %} {% block title %}Log Entries{% endblock %} {% block nav_logs %} active{% endblock %} {% block extra_css %} .log-entry { padding: 10px; border: 1px solid #ddd; margin-bottom: 10px; border-radius: 5px; box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); } h3 { color: grey; } .collapse-trigger { cursor: pointer; } .dark-mode #status_header { color: #2bb9c7; } .dark-mode .log-entry { box-shadow: 0 0 15px 5px rgba(43, 185, 199, 0.05); background-color: #1E2C42; border: none; } .dark-mode #requested_url { color: #2bb9c7; } {% endblock %} {% block content %}

Status 403 Forbidden Log Entries

{% for entry in entries %}

Time Stamp: {{ entry['timestamp'] }}

IP Address: {{ entry['ip_address'] }}

HTTP Method: {{ entry['http_method'] }}

Requested URL: {{ entry['requested_url'] }}

{% if entry['xss_alert'] %}

XSS Alert (Click to show details)

{{ entry['xss_alert'] }}

{% endif %} {% if entry['sql_alert'] %}

SQL Alert (Click to show details)

{{ entry['sql_alert'] }}

{% endif %} {% if entry['put_method'] %}

PUT Method Alert (Click to show details)

{{ entry['put_method'] }}

{% endif %} {% if entry['illegal_resource'] %}

Illegal Resource Access Alert (Click to show details)

{{ entry['illegal_resource'] }}

{% endif %} {% if entry['webshell_alert'] %}

WebShell Attack Alert (Click to show details)

{{ entry['webshell_alert'] }}

{% endif %}

Status Code: 403

{% endfor %}
{% endblock %}