2020-06-15 16:17:09 +02:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
2022-01-14 15:58:06 +01:00
|
|
|
{% from 'bootstrap5/utils.html' import render_messages %}
|
2020-06-15 16:17:09 +02:00
|
|
|
|
|
|
|
{% block title %}{{ cookie_name }}{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
2024-09-04 16:30:33 +02:00
|
|
|
<script type="text/javascript" nonce="{{ csp_nonce() }}">
|
2020-06-15 16:17:09 +02:00
|
|
|
$('#table').DataTable( {
|
|
|
|
"order": [[ 1, "desc" ]],
|
|
|
|
"pageLength": 500
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
2024-09-04 16:30:33 +02:00
|
|
|
<script type="text/javascript" nonce="{{ csp_nonce() }}">
|
|
|
|
const openNewTabButtons = document.querySelectorAll('.openNewTab');
|
|
|
|
if (openNewTabButtons) {
|
|
|
|
openNewTabButtons.forEach(el => el.addEventListener('click', event => {
|
|
|
|
window.opener.openTreeInNewTab(el.dataset.capture);
|
|
|
|
}));
|
|
|
|
}
|
2020-08-07 18:01:06 +02:00
|
|
|
</script>
|
2020-06-15 16:17:09 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-08-07 15:14:13 +02:00
|
|
|
<center>
|
|
|
|
<h2>{{ cookie_name }}</h2>
|
2024-09-04 16:30:33 +02:00
|
|
|
<button class="btn btn-primary goBack" type="button">Go Back</button>
|
2020-08-07 15:14:13 +02:00
|
|
|
</center>
|
2020-06-15 16:17:09 +02:00
|
|
|
<div class="table-responsive">
|
|
|
|
<table id="table" class="table" style="width:96%">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Domain name</th>
|
|
|
|
<th>Frequency</th>
|
|
|
|
<th>Value</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for domain, freq, values in domains %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{{ domain }}
|
|
|
|
</td>
|
|
|
|
<td>{{ freq }}</td>
|
|
|
|
<td>
|
|
|
|
<ul>
|
|
|
|
{% for value, freq in values %}
|
|
|
|
<li>{{ value }} - {{ freq }}</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<p>A cookie with that name was seen in these captures:</p>
|
|
|
|
<ul>
|
2020-06-20 02:09:45 +02:00
|
|
|
{% for capture_uuid, title in captures %}
|
2024-09-04 16:30:33 +02:00
|
|
|
<li>
|
|
|
|
<button type="button" class="btn btn-link openNewTab" data-capture="{{capture_uuid}}">{{ title }}</button>
|
|
|
|
</li>
|
2020-06-15 16:17:09 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|