2024-09-04 16:30:33 +02:00
|
|
|
{% if from_popup %}
|
2023-07-21 15:48:20 +02:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
|
|
|
{% from 'bootstrap5/utils.html' import render_messages %}
|
|
|
|
|
|
|
|
{% block title %}{{ hhh }}{% endblock %}
|
|
|
|
|
2024-09-04 16:30:33 +02:00
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
|
|
|
<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, el.dataset.hostnode);
|
|
|
|
}));
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{%endif%}
|
|
|
|
|
2023-07-21 15:48:20 +02:00
|
|
|
{% block content %}
|
2024-09-04 16:30:33 +02:00
|
|
|
{% if from_popup %}
|
|
|
|
<button class="btn btn-primary goBack" type="button">Go Back</button>
|
|
|
|
{%endif%}
|
2023-07-21 15:48:20 +02:00
|
|
|
<center>
|
|
|
|
<h2>{{ hhh }}</h2>
|
|
|
|
</center>
|
2023-07-24 14:53:00 +02:00
|
|
|
<div class="table-responsive">
|
|
|
|
<table id="table" class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2023-07-24 16:00:55 +02:00
|
|
|
<th scope="col">Name</th>
|
|
|
|
<th scope="col">Value sample</th>
|
2023-07-24 14:53:00 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{%for name, value in headers%}
|
|
|
|
<tr>
|
2023-07-24 16:00:55 +02:00
|
|
|
<th scope="row">{{name}}</th>
|
2023-07-24 14:53:00 +02:00
|
|
|
<td>{{value}}</td>
|
|
|
|
</tr>
|
|
|
|
{%endfor%}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2023-07-21 15:48:20 +02:00
|
|
|
<p>The same HTTP Headers Hash was seen in these captures:</p>
|
|
|
|
<ul>
|
2023-07-24 14:53:00 +02:00
|
|
|
<div class="table-responsive">
|
|
|
|
<table id="table" class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Capture Title</th>
|
|
|
|
<th>URL matching the HHH</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for capture_uuid, hostnode_uuid, url, title in captures %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
2024-09-04 16:30:33 +02:00
|
|
|
{% if from_popup %}
|
|
|
|
<button type="button" class="btn btn-link openNewTab" data-capture="{{capture_uuid}}" data-hostnode="{{hostnode_uuid}}">{{ title }}</button>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ url_for('tree', tree_uuid=capture_uuid, node_uuid=hostnode_uuid) }}">{{ title }}</a>
|
|
|
|
{% endif %}
|
2023-07-24 14:53:00 +02:00
|
|
|
</td>
|
|
|
|
<td>{{url}}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2023-07-21 15:48:20 +02:00
|
|
|
</ul>
|
|
|
|
{% endblock %}
|