2024-02-20 01:13:20 +01:00
|
|
|
<script type="text/javascript">
|
2024-02-20 17:01:16 +01:00
|
|
|
new DataTable('#faviconsTable', {
|
2024-02-21 14:36:19 +01:00
|
|
|
columnDefs: [{ width: '10%', targets: 0 },
|
2024-02-28 00:43:38 +01:00
|
|
|
{ width: '40%', targets: 1 },
|
|
|
|
{ width: '40%', targets: 2 },
|
|
|
|
{ width: '10%', targets: 3 }],
|
2024-02-20 17:01:16 +01:00
|
|
|
});
|
2024-02-20 01:13:20 +01:00
|
|
|
</script>
|
|
|
|
|
2024-02-21 14:36:19 +01:00
|
|
|
|
|
|
|
<h5 class="text-center">Click on the favicon to see the other captures it's been found in</h5>
|
2024-02-20 17:01:16 +01:00
|
|
|
<table id="faviconsTable" class="table table-striped" style="width:100%">
|
2024-02-20 01:13:20 +01:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Number of captures</th>
|
2024-02-21 14:36:19 +01:00
|
|
|
<th>Favicon</th>
|
2024-02-26 19:09:48 +01:00
|
|
|
<th>Shodan MMH3</th>
|
2024-02-21 14:36:19 +01:00
|
|
|
<th>Download</th>
|
2024-02-20 01:13:20 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2024-02-26 19:09:48 +01:00
|
|
|
{% for favicon_sha512, freq, number_captures, mimetype, b64_favicon, mmh3_shodan in favicons %}
|
2024-02-20 01:13:20 +01:00
|
|
|
<tr>
|
2024-02-21 14:36:19 +01:00
|
|
|
<td>{{ number_captures }}</td>
|
2024-02-20 01:13:20 +01:00
|
|
|
<td>
|
2024-02-26 19:09:48 +01:00
|
|
|
<a href="#faviconDetailsModal" data-remote="{{ url_for('favicon_detail', favicon_sha512=favicon_sha512, get_probabilistic=0) }}"
|
2024-02-20 17:01:16 +01:00
|
|
|
data-bs-toggle="modal" data-bs-target="#faviconDetailsModal" role="button">
|
2024-02-21 14:36:19 +01:00
|
|
|
<img src="data:{{mimetype}};base64,{{ b64_favicon }}" style="width:32px;height:32px;"
|
|
|
|
title="Click to see other captures with the same favicon"/>
|
2024-02-20 01:13:20 +01:00
|
|
|
</a>
|
2024-02-21 14:36:19 +01:00
|
|
|
</td>
|
2024-02-26 19:46:20 +01:00
|
|
|
<td><a href="https://www.shodan.io/search?query=http.favicon.hash%3A{{ mmh3_shodan }}" target="_blank">{{ mmh3_shodan }}</a></td>
|
2024-02-21 14:36:19 +01:00
|
|
|
<td>
|
|
|
|
<button type="button" class="btn btn-light" onclick="downloadBase64File('{{mimetype}}', '{{b64_favicon}}', 'favicon.ico')">
|
|
|
|
<img src="{{ url_for('static', filename='download.svg') }}" style="width:16px;height:16px;"
|
|
|
|
title="Download the favicon"/>
|
|
|
|
</button>
|
2024-02-20 01:13:20 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|