mirror of https://github.com/CIRCL/lookyloo
chg: Remove unimplemented/irrelevant settings for tables
parent
e7075c7791
commit
4b8c230f36
|
@ -33,7 +33,7 @@
|
|||
"loader.gif": "ZZKD5vLSKBWKeUpa2KI9qheUJ49iTI/UULmVU/AX28fBfH00K3lLc2v5pVJZ4qXG1BbB13LTXzRKKU35H2XfNg==",
|
||||
"lookyloo.jpeg": "i6wBj8CsIM5YAQLEMQfhs3CNOSKkErF8AMqqM6ZygSwCyQgv9CU8xt94veMZhM/ufBWoz7kAXmR+yywmxsTxug==",
|
||||
"redirect.png": "PAjzlPV97rEFvH55mG1ZC9wRl98be3yMeX/nENuFkJcds6/AXgSR2ig/QyPULgobSnNgiYieLVWY/oqsgeywrQ==",
|
||||
"render_tables.js": "dx/SKBsKQK/dKAUZbqO3+/4YllmCyVXLuEm0uGaWbI6U5RqysUKMDmKFhe0+YI4CfNZV6AtC4NDdsVCRiKD6kA==",
|
||||
"render_tables.js": "IqsJ7pttDuNErMNbreMOceEY3A7u8NIPPjddWKSiGzwKAYNsoKY8Xm7pN/gjJG3ByuTazXC0CuUpHG9Tk+Z0IQ==",
|
||||
"secure.svg": "H8ni7t0d60nCJDVGuZpuxC+RBy/ipAjWT627D12HlZGg6LUmjSwPTQTUekm3UJupEP7TUkhXyq6WHc5gy7QBjg==",
|
||||
"stats.css": "/kY943FwWBTne4IIyf7iBROSfbGd82TeBicEXqKkRwawMVRIvM/Pk5MRa7okUyGIxaDjFQGmV/U1vy+PhN6Jbw==",
|
||||
"stats_graph.js": "S/sMNQK1UMMLD0xQeEa7sq3ce8o6oPxwxGlyKVtaHOODjair86dbBDm7cu6pa/elMRDJT1j09jEFjWp+5GbhTw==",
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
serverSide: true,
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
searching: false, // Needs to implement that serverside
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ajax: {
|
||||
url: `/tables/HHHDetailsTable/${hhh}${window.location.search}`,
|
||||
|
@ -25,6 +26,7 @@
|
|||
serverSide: true,
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
searching: false, // Needs to implement that serverside
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ajax: {
|
||||
url: `/tables/bodyHashDetailsTable/${bodyhash}${window.location.search}`,
|
||||
|
@ -44,6 +46,7 @@
|
|||
serverSide: true,
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
searching: false, // Needs to implement that serverside
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ajax: {
|
||||
url: `/tables/hashTypeDetailsTable/${hash_value}${window.location.search}`,
|
||||
|
@ -64,6 +67,7 @@
|
|||
serverSide: true,
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
searching: false, // Needs to implement that serverside
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ajax: {
|
||||
url: `/tables/identifierDetailsTable/${identifier_value}${window.location.search}`,
|
||||
|
@ -79,23 +83,26 @@
|
|||
if (document.getElementById('bodyHashesTable')) {
|
||||
new DataTable('#bodyHashesTable', {
|
||||
retrieve: true,
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ordering: false,
|
||||
drawCallback: function (settings) {
|
||||
newTabClickListener();
|
||||
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
||||
},
|
||||
order: [[ 0, "desc" ]],
|
||||
columns: [{ width: '10%' },
|
||||
{ width: '10%' },
|
||||
{ width: '10%' }, // Would make sense to order on the file type
|
||||
{ width: '60%' },
|
||||
{ width: '20%' }],
|
||||
initComplete: function (settings, json) {
|
||||
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
||||
}
|
||||
}).on('draw', function() {
|
||||
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
||||
});
|
||||
}
|
||||
if (document.getElementById('faviconsTable')) {
|
||||
new DataTable('#faviconsTable', {
|
||||
retrieve: true,
|
||||
drawCallback: function (settings) { newTabClickListener(); downloadFaviconListener(); },
|
||||
ordering: false,
|
||||
drawCallback: function (settings) {
|
||||
newTabClickListener();
|
||||
downloadFaviconListener();
|
||||
},
|
||||
columns: [{ width: '10%' },
|
||||
{ width: '40%' },
|
||||
{ width: '40%' },
|
||||
|
@ -105,6 +112,7 @@
|
|||
if (document.getElementById('treeHashesTable')) {
|
||||
new DataTable('#treeHashesTable', {
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
column: [{ width: '20%' },
|
||||
{ width: '40%' },
|
||||
|
@ -114,21 +122,21 @@
|
|||
if (document.getElementById('hostnamesTable')) {
|
||||
new DataTable('#hostnamesTable', {
|
||||
retrieve: true,
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ordering: false,
|
||||
drawCallback: function (settings) {
|
||||
newTabClickListener();
|
||||
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
||||
},
|
||||
order: [[ 0, "desc" ]],
|
||||
columns: [{ width: '10%' },
|
||||
{ width: '40%' },
|
||||
{ width: '50%' }],
|
||||
initComplete: function (settings, json) {
|
||||
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
||||
}
|
||||
}).on('draw', function() {
|
||||
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
||||
});
|
||||
}
|
||||
if (document.getElementById('identifiersTable')) {
|
||||
new DataTable('#identifiersTable', {
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
columns: [{ width: '20%' },
|
||||
{ width: '40%' },
|
||||
|
@ -138,6 +146,7 @@
|
|||
if (document.getElementById('urlsTable')) {
|
||||
new DataTable('#urlsTable', {
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
order: [[ 0, "desc" ]],
|
||||
columns: [{ width: '10%' },
|
||||
|
@ -156,6 +165,7 @@
|
|||
serverSide: true,
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
searching: false, // Needs to implement that serverside
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ajax: {
|
||||
url: `/tables/cookieNameTable/${cookieName}${window.location.search}`,
|
||||
|
@ -176,6 +186,7 @@
|
|||
serverSide: true,
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
searching: false, // Needs to implement that serverside
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ajax: {
|
||||
url: `/tables/hostnameTable/${hostname}${window.location.search}`,
|
||||
|
@ -196,6 +207,7 @@
|
|||
serverSide: true,
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
searching: false, // Needs to implement that serverside
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ajax: {
|
||||
url: `/tables/urlTable/${url}${window.location.search}`,
|
||||
|
@ -216,6 +228,7 @@
|
|||
serverSide: true,
|
||||
retrieve: true,
|
||||
ordering: false,
|
||||
searching: false, // Needs to implement that serverside
|
||||
drawCallback: function (settings) { newTabClickListener() },
|
||||
ajax: {
|
||||
url: `/tables/faviconDetailsTable/${favicon}${window.location.search}`,
|
||||
|
|
|
@ -244,15 +244,6 @@
|
|||
|
||||
{% macro popup_icons_response(urlnode, tree_uuid) %}
|
||||
<div>
|
||||
{% if urlnode.response_cookie %}
|
||||
{% set icon_info = get_icon("response_cookie") %}
|
||||
<a href="{{ url_for('urlnode_response_cookies', tree_uuid=tree_uuid, node_uuid=urlnode.uuid) }}"
|
||||
title="Download all the cookies in the response from the server">
|
||||
<img src="{{ url_for('static', filename=icon_info['icon']) }}" alt="{{ icon_info['tooltip'] }}"
|
||||
width="21" height="21"/>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if urlnode.generic_type in ["js", "exe", "css", "font", "html", "json", "image", "video",
|
||||
"unknown_mimetype", "text", "unset_mimetype", "octet-stream",
|
||||
"livestream"] %}
|
||||
|
@ -270,6 +261,15 @@
|
|||
/>
|
||||
</a>
|
||||
{%endif%}
|
||||
{% if urlnode.response_cookie %}
|
||||
{% set icon_info = get_icon("response_cookie") %}
|
||||
<a href="{{ url_for('urlnode_response_cookies', tree_uuid=tree_uuid, node_uuid=urlnode.uuid) }}"
|
||||
title="Download all the cookies in the response from the server">
|
||||
<img src="{{ url_for('static', filename=icon_info['icon']) }}" alt="{{ icon_info['tooltip'] }}"
|
||||
width="21" height="21"/>
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
</thead>
|
||||
<tbody>
|
||||
{% for body_hash, info in body_hashes.items() %}
|
||||
{% set icon_info = get_icon(info['node'].generic_type) %}
|
||||
<tr>
|
||||
<td>{{ info['total_captures'] }}</td>
|
||||
<td>
|
||||
|
|
Loading…
Reference in New Issue