{% 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 %}
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'] }}
SQL Alert (Click to show details)
{{ entry['sql_alert'] }}
PUT Method Alert (Click to show details)
{{ entry['put_method'] }}
Illegal Resource Access Alert (Click to show details)
{{ entry['illegal_resource'] }}
WebShell Attack Alert (Click to show details)
{{ entry['webshell_alert'] }}
Status Code: 403