2020-06-19 00:25:24 +02:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
|
|
|
{% from 'bootstrap/utils.html' import render_messages %}
|
|
|
|
|
|
|
|
{% block title %}{{ body_hash }}{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
|
|
|
<script src='{{ url_for('static', filename='datatables.min.js') }}'></script>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$('#table').DataTable( {
|
|
|
|
"order": [[ 1, "desc" ]],
|
|
|
|
"pageLength": 500
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block styles %}
|
|
|
|
{{ super() }}
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='datatables.min.css') }}">
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2020-06-19 16:10:35 +02:00
|
|
|
<center><h4>{{ body_hash }}</h4></center>
|
2020-06-19 00:25:24 +02:00
|
|
|
<div class="table-responsive">
|
|
|
|
<table id="table" class="table" style="width:96%">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Hostname</th>
|
|
|
|
<th>Frequency</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for domain, freq in domains %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{{ domain }}
|
|
|
|
</td>
|
|
|
|
<td>{{ freq }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<p>The same file was seen in these captures:</p>
|
|
|
|
<ul>
|
2020-06-20 02:09:45 +02:00
|
|
|
{% for capture_uuid, title in captures %}
|
|
|
|
<li><a href="{{ url_for('tree', tree_uuid=capture_uuid) }}">{{ title }}</a></li>
|
2020-06-19 00:25:24 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|