baoSOC/reports/templates/vt.html.j2
2024-06-18 21:46:23 +02:00

45 lines
1.5 KiB
Django/Jinja
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="en" data-bs-theme="auto">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Hugo 0.112.5">
<title>{{ data['title'] }}</title>
<link rel="canonical" href="https://getbootstrap.com/docs/5.3/examples/jumbotron/">
<link href="../templates/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<main>
<div class="container py-4">
<header class="pb-3 mb-4 border-bottom">
<span class="d-flex align-items-center text-body-emphasis text-decoration-none; fs-4">Report</span>
</header>
{% include 'nav.html.j2' %}
<div class="p-5 mb-4 bg-body-tertiary rounded-3">
<div class="container-fluid py-5">
<h1 class="display-5 fw-bold">Report</h1>
<p class="col-md-8 fs-4">Get IP information for each public IP addresses from the DNS capture. Get informations from <a href='https://www.virustotal.com' title='VirusTotal'/>VirusTotal</a></p>
</div>
</div>
{% for entry in data['vt'] %}
<h3>{{ entry['ip']}}</h3>
{% if 'error' in entry %}
<p style='color:red'>{{ entry['error'] }}</p>
{% else %}
<ul>
{% for vt in entry['data'] %}
<li><strong>{{ vt }}</strong>: {{ entry['data'][vt] }}</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
{% include 'footer.html.j2' %}