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==",
|
"loader.gif": "ZZKD5vLSKBWKeUpa2KI9qheUJ49iTI/UULmVU/AX28fBfH00K3lLc2v5pVJZ4qXG1BbB13LTXzRKKU35H2XfNg==",
|
||||||
"lookyloo.jpeg": "i6wBj8CsIM5YAQLEMQfhs3CNOSKkErF8AMqqM6ZygSwCyQgv9CU8xt94veMZhM/ufBWoz7kAXmR+yywmxsTxug==",
|
"lookyloo.jpeg": "i6wBj8CsIM5YAQLEMQfhs3CNOSKkErF8AMqqM6ZygSwCyQgv9CU8xt94veMZhM/ufBWoz7kAXmR+yywmxsTxug==",
|
||||||
"redirect.png": "PAjzlPV97rEFvH55mG1ZC9wRl98be3yMeX/nENuFkJcds6/AXgSR2ig/QyPULgobSnNgiYieLVWY/oqsgeywrQ==",
|
"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==",
|
"secure.svg": "H8ni7t0d60nCJDVGuZpuxC+RBy/ipAjWT627D12HlZGg6LUmjSwPTQTUekm3UJupEP7TUkhXyq6WHc5gy7QBjg==",
|
||||||
"stats.css": "/kY943FwWBTne4IIyf7iBROSfbGd82TeBicEXqKkRwawMVRIvM/Pk5MRa7okUyGIxaDjFQGmV/U1vy+PhN6Jbw==",
|
"stats.css": "/kY943FwWBTne4IIyf7iBROSfbGd82TeBicEXqKkRwawMVRIvM/Pk5MRa7okUyGIxaDjFQGmV/U1vy+PhN6Jbw==",
|
||||||
"stats_graph.js": "S/sMNQK1UMMLD0xQeEa7sq3ce8o6oPxwxGlyKVtaHOODjair86dbBDm7cu6pa/elMRDJT1j09jEFjWp+5GbhTw==",
|
"stats_graph.js": "S/sMNQK1UMMLD0xQeEa7sq3ce8o6oPxwxGlyKVtaHOODjair86dbBDm7cu6pa/elMRDJT1j09jEFjWp+5GbhTw==",
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
|
searching: false, // Needs to implement that serverside
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
ajax: {
|
ajax: {
|
||||||
url: `/tables/HHHDetailsTable/${hhh}${window.location.search}`,
|
url: `/tables/HHHDetailsTable/${hhh}${window.location.search}`,
|
||||||
|
@ -25,7 +26,8 @@
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
searching: false, // Needs to implement that serverside
|
||||||
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
ajax: {
|
ajax: {
|
||||||
url: `/tables/bodyHashDetailsTable/${bodyhash}${window.location.search}`,
|
url: `/tables/bodyHashDetailsTable/${bodyhash}${window.location.search}`,
|
||||||
type: 'POST'
|
type: 'POST'
|
||||||
|
@ -44,7 +46,8 @@
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
searching: false, // Needs to implement that serverside
|
||||||
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
ajax: {
|
ajax: {
|
||||||
url: `/tables/hashTypeDetailsTable/${hash_value}${window.location.search}`,
|
url: `/tables/hashTypeDetailsTable/${hash_value}${window.location.search}`,
|
||||||
type: 'POST'
|
type: 'POST'
|
||||||
|
@ -64,7 +67,8 @@
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
searching: false, // Needs to implement that serverside
|
||||||
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
ajax: {
|
ajax: {
|
||||||
url: `/tables/identifierDetailsTable/${identifier_value}${window.location.search}`,
|
url: `/tables/identifierDetailsTable/${identifier_value}${window.location.search}`,
|
||||||
type: 'POST'
|
type: 'POST'
|
||||||
|
@ -79,23 +83,26 @@
|
||||||
if (document.getElementById('bodyHashesTable')) {
|
if (document.getElementById('bodyHashesTable')) {
|
||||||
new DataTable('#bodyHashesTable', {
|
new DataTable('#bodyHashesTable', {
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
ordering: false,
|
||||||
|
drawCallback: function (settings) {
|
||||||
|
newTabClickListener();
|
||||||
|
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
||||||
|
},
|
||||||
order: [[ 0, "desc" ]],
|
order: [[ 0, "desc" ]],
|
||||||
columns: [{ width: '10%' },
|
columns: [{ width: '10%' },
|
||||||
{ width: '10%' },
|
{ width: '10%' }, // Would make sense to order on the file type
|
||||||
{ width: '60%' },
|
{ width: '60%' },
|
||||||
{ width: '20%' }],
|
{ 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')) {
|
if (document.getElementById('faviconsTable')) {
|
||||||
new DataTable('#faviconsTable', {
|
new DataTable('#faviconsTable', {
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
drawCallback: function (settings) { newTabClickListener(); downloadFaviconListener(); },
|
ordering: false,
|
||||||
|
drawCallback: function (settings) {
|
||||||
|
newTabClickListener();
|
||||||
|
downloadFaviconListener();
|
||||||
|
},
|
||||||
columns: [{ width: '10%' },
|
columns: [{ width: '10%' },
|
||||||
{ width: '40%' },
|
{ width: '40%' },
|
||||||
{ width: '40%' },
|
{ width: '40%' },
|
||||||
|
@ -103,33 +110,34 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (document.getElementById('treeHashesTable')) {
|
if (document.getElementById('treeHashesTable')) {
|
||||||
new DataTable('#treeHashesTable', {
|
new DataTable('#treeHashesTable', {
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
ordering: false,
|
||||||
column: [{ width: '20%' },
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
{ width: '40%' },
|
column: [{ width: '20%' },
|
||||||
{ width: '40%' }],
|
{ width: '40%' },
|
||||||
});
|
{ width: '40%' }],
|
||||||
|
});
|
||||||
}
|
}
|
||||||
if (document.getElementById('hostnamesTable')) {
|
if (document.getElementById('hostnamesTable')) {
|
||||||
new DataTable('#hostnamesTable', {
|
new DataTable('#hostnamesTable', {
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
ordering: false,
|
||||||
order: [[ 0, "desc" ]],
|
drawCallback: function (settings) {
|
||||||
columns: [{ width: '10%' },
|
newTabClickListener();
|
||||||
{ width: '40%' },
|
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
||||||
{ width: '50%' }],
|
},
|
||||||
initComplete: function (settings, json) {
|
order: [[ 0, "desc" ]],
|
||||||
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
columns: [{ width: '10%' },
|
||||||
}
|
{ width: '40%' },
|
||||||
}).on('draw', function() {
|
{ width: '50%' }],
|
||||||
$('[data-bs-toggle="tooltip"]').tooltip({html: true});
|
});
|
||||||
});
|
|
||||||
}
|
}
|
||||||
if (document.getElementById('identifiersTable')) {
|
if (document.getElementById('identifiersTable')) {
|
||||||
new DataTable('#identifiersTable', {
|
new DataTable('#identifiersTable', {
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
ordering: false,
|
||||||
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
columns: [{ width: '20%' },
|
columns: [{ width: '20%' },
|
||||||
{ width: '40%' },
|
{ width: '40%' },
|
||||||
{ width: '40%' }],
|
{ width: '40%' }],
|
||||||
|
@ -138,7 +146,8 @@
|
||||||
if (document.getElementById('urlsTable')) {
|
if (document.getElementById('urlsTable')) {
|
||||||
new DataTable('#urlsTable', {
|
new DataTable('#urlsTable', {
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
ordering: false,
|
||||||
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
order: [[ 0, "desc" ]],
|
order: [[ 0, "desc" ]],
|
||||||
columns: [{ width: '10%' },
|
columns: [{ width: '10%' },
|
||||||
{ width: '90%' }],
|
{ width: '90%' }],
|
||||||
|
@ -156,7 +165,8 @@
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
searching: false, // Needs to implement that serverside
|
||||||
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
ajax: {
|
ajax: {
|
||||||
url: `/tables/cookieNameTable/${cookieName}${window.location.search}`,
|
url: `/tables/cookieNameTable/${cookieName}${window.location.search}`,
|
||||||
type: 'POST'
|
type: 'POST'
|
||||||
|
@ -170,22 +180,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.getElementById('hostnameTable')) {
|
if (document.getElementById('hostnameTable')) {
|
||||||
hostname = document.getElementById('hostnameTable').dataset.hostname;
|
hostname = document.getElementById('hostnameTable').dataset.hostname;
|
||||||
new DataTable('#hostnameTable', {
|
new DataTable('#hostnameTable', {
|
||||||
processing: true,
|
processing: true,
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
searching: false, // Needs to implement that serverside
|
||||||
ajax: {
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
url: `/tables/hostnameTable/${hostname}${window.location.search}`,
|
ajax: {
|
||||||
type: 'POST'
|
url: `/tables/hostnameTable/${hostname}${window.location.search}`,
|
||||||
},
|
type: 'POST'
|
||||||
columns : [
|
},
|
||||||
{ data: 'capture_time', width: '20%', render: DataTable.render.datetime_with_tz() },
|
columns : [
|
||||||
{ data: 'capture_title', width: '40%' },
|
{ data: 'capture_time', width: '20%', render: DataTable.render.datetime_with_tz() },
|
||||||
{ data: 'landing_page', width: '40%' }
|
{ data: 'capture_title', width: '40%' },
|
||||||
],
|
{ data: 'landing_page', width: '40%' }
|
||||||
|
],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -196,7 +207,8 @@
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
searching: false, // Needs to implement that serverside
|
||||||
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
ajax: {
|
ajax: {
|
||||||
url: `/tables/urlTable/${url}${window.location.search}`,
|
url: `/tables/urlTable/${url}${window.location.search}`,
|
||||||
type: 'POST'
|
type: 'POST'
|
||||||
|
@ -210,22 +222,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.getElementById('faviconDetailsTable')) {
|
if (document.getElementById('faviconDetailsTable')) {
|
||||||
favicon = document.getElementById('faviconDetailsTable').dataset.favicon;
|
favicon = document.getElementById('faviconDetailsTable').dataset.favicon;
|
||||||
new DataTable('#faviconDetailsTable', {
|
new DataTable('#faviconDetailsTable', {
|
||||||
processing: true,
|
processing: true,
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
retrieve: true,
|
retrieve: true,
|
||||||
ordering: false,
|
ordering: false,
|
||||||
drawCallback: function (settings) { newTabClickListener() },
|
searching: false, // Needs to implement that serverside
|
||||||
ajax: {
|
drawCallback: function (settings) { newTabClickListener() },
|
||||||
url: `/tables/faviconDetailsTable/${favicon}${window.location.search}`,
|
ajax: {
|
||||||
type: 'POST'
|
url: `/tables/faviconDetailsTable/${favicon}${window.location.search}`,
|
||||||
},
|
type: 'POST'
|
||||||
columns : [
|
},
|
||||||
{ data: 'capture_time', width: '20%', render: DataTable.render.datetime_with_tz() },
|
columns : [
|
||||||
{ data: 'capture_title', width: '40%' },
|
{ data: 'capture_time', width: '20%', render: DataTable.render.datetime_with_tz() },
|
||||||
{ data: 'landing_page', width: '40%' }
|
{ data: 'capture_title', width: '40%' },
|
||||||
],
|
{ data: 'landing_page', width: '40%' }
|
||||||
});
|
],
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -244,15 +244,6 @@
|
||||||
|
|
||||||
{% macro popup_icons_response(urlnode, tree_uuid) %}
|
{% macro popup_icons_response(urlnode, tree_uuid) %}
|
||||||
<div>
|
<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",
|
{% if urlnode.generic_type in ["js", "exe", "css", "font", "html", "json", "image", "video",
|
||||||
"unknown_mimetype", "text", "unset_mimetype", "octet-stream",
|
"unknown_mimetype", "text", "unset_mimetype", "octet-stream",
|
||||||
"livestream"] %}
|
"livestream"] %}
|
||||||
|
@ -270,6 +261,15 @@
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
{%endif%}
|
{%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>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for body_hash, info in body_hashes.items() %}
|
{% for body_hash, info in body_hashes.items() %}
|
||||||
{% set icon_info = get_icon(info['node'].generic_type) %}
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ info['total_captures'] }}</td>
|
<td>{{ info['total_captures'] }}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
Loading…
Reference in New Issue