2017-07-23 19:56:51 +02:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
2022-01-14 15:58:06 +01:00
|
|
|
{% from 'bootstrap5/utils.html' import render_messages %}
|
2020-07-17 18:39:50 +02:00
|
|
|
{% from "macros.html" import shorten_string %}
|
2020-03-17 14:17:18 +01:00
|
|
|
|
2020-02-03 18:30:41 +01:00
|
|
|
{% block title %}Lookyloo{% endblock %}
|
2021-01-17 12:41:01 +01:00
|
|
|
|
|
|
|
{% block card %}
|
2021-01-17 12:49:29 +01:00
|
|
|
<meta property="og:title" content="Lookyloo" />
|
|
|
|
<meta property="og:type" content="website"/>
|
2021-01-17 12:41:01 +01:00
|
|
|
<meta
|
2021-01-17 12:49:29 +01:00
|
|
|
property="og:description"
|
2021-01-17 12:41:01 +01:00
|
|
|
content="Lookyloo captures websites and let you investigate them."
|
|
|
|
/>
|
|
|
|
<meta
|
2021-01-17 12:49:29 +01:00
|
|
|
property="og:image"
|
2021-01-18 16:37:17 +01:00
|
|
|
content="https://{{public_domain}}{{ url_for('static', filename='lookyloo.jpeg') }}"
|
2021-01-17 12:41:01 +01:00
|
|
|
/>
|
|
|
|
<meta
|
2021-01-17 12:49:29 +01:00
|
|
|
property="og:url"
|
2021-01-18 16:37:17 +01:00
|
|
|
content="https://{{public_domain}}"
|
2021-01-17 12:41:01 +01:00
|
|
|
/>
|
2021-01-18 13:03:10 +01:00
|
|
|
<meta name="twitter:card" content="summary_large_image">
|
2021-01-17 12:41:01 +01:00
|
|
|
{% endblock %}
|
2017-07-23 19:56:51 +02:00
|
|
|
|
2020-04-02 17:37:27 +02:00
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
2020-04-08 12:04:29 +02:00
|
|
|
<script type="text/javascript">
|
2020-04-02 17:37:27 +02:00
|
|
|
$(document).ready(function () {
|
|
|
|
$('#table').DataTable( {
|
|
|
|
"order": [[ 1, "desc" ]],
|
|
|
|
"pageLength": 50,
|
|
|
|
"columns": [
|
|
|
|
{ "orderable": false, "width": 400 },
|
|
|
|
{ "orderable": false, "width": 150 },
|
|
|
|
{ "orderable": false, "width": 400 }
|
2020-04-08 12:04:29 +02:00
|
|
|
],
|
|
|
|
"columnDefs": [{
|
|
|
|
"targets": 1,
|
|
|
|
"render": function ( data, type, row, meta ) {
|
|
|
|
let date = new Date(data);
|
2020-04-29 23:59:42 +02:00
|
|
|
return date.getFullYear() + '-' + (date.getMonth() + 1).toString().padStart(2, "0") + '-' + date.getDate().toString().padStart(2, "0") + ' ' + date.toTimeString();
|
2020-04-08 12:04:29 +02:00
|
|
|
}
|
|
|
|
}]
|
2020-04-02 17:37:27 +02:00
|
|
|
} );
|
|
|
|
});
|
|
|
|
</script>
|
2020-04-08 12:04:29 +02:00
|
|
|
|
2020-04-02 17:37:27 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block styles %}
|
|
|
|
{{ super() }}
|
2021-06-17 02:36:01 +02:00
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='index.css') }}"
|
2024-04-29 13:09:54 +02:00
|
|
|
{{get_sri('static', 'index.css')}}
|
2021-06-17 02:36:01 +02:00
|
|
|
crossorigin="anonymous">
|
2020-04-02 17:37:27 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
2017-07-23 19:56:51 +02:00
|
|
|
{% block content %}
|
2021-01-04 16:51:04 +01:00
|
|
|
<div class="corner-ribbon top-left sticky white shadow">
|
|
|
|
<a href="https://www.lookyloo.eu/docs/main/index.html">Documentation</a>
|
|
|
|
</div>
|
2022-01-03 17:02:00 +01:00
|
|
|
<div class="corner-ribbon bottom-left sticky white shadow">
|
|
|
|
<a href="https://github.com/Lookyloo/lookyloo/releases/tag/v{{version}}">Changelog</br>(v{{version}})</a>
|
|
|
|
</div>
|
2022-07-12 10:24:10 +02:00
|
|
|
{% if show_project_page %}
|
2021-01-04 16:51:04 +01:00
|
|
|
<div class="corner-ribbon top-right sticky white shadow">
|
|
|
|
<a href="https://github.com/Lookyloo">Project page</a>
|
|
|
|
</div>
|
2022-07-12 10:24:10 +02:00
|
|
|
{% endif %}
|
2017-07-23 19:56:51 +02:00
|
|
|
<center>
|
2020-11-03 16:32:04 +01:00
|
|
|
<a href="{{ url_for('capture_web') }}">
|
2020-02-10 01:55:03 +01:00
|
|
|
<img src="{{ url_for('static', filename='lookyloo.jpeg') }}"
|
|
|
|
alt="Lookyloo" width="200">
|
|
|
|
</a>
|
|
|
|
</center>
|
|
|
|
<center>
|
2021-04-06 23:34:57 +02:00
|
|
|
<h4>Web forensics tool</h4>
|
|
|
|
</br>
|
2021-10-26 19:31:42 +02:00
|
|
|
<a href="{{ url_for('capture_web') }}">
|
2022-11-21 15:02:12 +01:00
|
|
|
<button class="new-capture-button btn btn-primary">Start a new capture</button>
|
2021-10-26 19:31:42 +02:00
|
|
|
</a>
|
2022-12-29 14:42:24 +01:00
|
|
|
<a href="{{ url_for('submit_capture') }}">
|
|
|
|
<button class="new-capture-button btn btn-primary">Submit capture</button>
|
|
|
|
</a>
|
2024-04-30 11:54:24 +02:00
|
|
|
{% if current_user.is_authenticated %}
|
|
|
|
<a href="{{ url_for('simple_capture') }}">
|
|
|
|
<button class="new-capture-button btn btn-primary">Takedown process</button>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2020-03-17 14:17:18 +01:00
|
|
|
<br><br>
|
|
|
|
{{ render_messages(container=True, dismissible=True) }}
|
2017-07-23 19:56:51 +02:00
|
|
|
</center>
|
2020-02-03 18:30:41 +01:00
|
|
|
|
2020-02-06 17:25:21 +01:00
|
|
|
<div class="table-responsive">
|
2020-04-02 17:37:27 +02:00
|
|
|
<table id="table" class="table" style="width:96%">
|
2020-02-03 22:25:48 +01:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2020-04-02 17:37:27 +02:00
|
|
|
<th>Page</th>
|
|
|
|
<th>Timestamp</th>
|
|
|
|
<th>Redirects</th>
|
2020-02-04 19:15:44 +01:00
|
|
|
</tr>
|
2020-02-03 18:30:41 +01:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2023-07-28 14:05:28 +02:00
|
|
|
{% for uuid, page_title, datetime, url, redirects in titles %}
|
2020-02-03 22:25:48 +01:00
|
|
|
<tr>
|
2021-05-06 11:27:34 +02:00
|
|
|
<td data-search="{{ page_title }} {{ url }}">
|
2020-02-10 18:09:40 +01:00
|
|
|
<p title="{{ page_title }}"><a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a></p>
|
2020-12-10 11:56:44 +01:00
|
|
|
{{ shorten_string(url, 50, with_title=True) }}
|
2020-02-03 22:25:48 +01:00
|
|
|
</td>
|
2020-04-08 12:04:29 +02:00
|
|
|
<td>{{ datetime }}</td>
|
2020-02-03 22:25:48 +01:00
|
|
|
<td>
|
|
|
|
{% if redirects %}
|
|
|
|
{% for r in redirects %}
|
2020-02-10 11:21:20 +01:00
|
|
|
<p title="{{ r }}">
|
|
|
|
{% if loop.previtem %}
|
2020-07-17 18:39:50 +02:00
|
|
|
{{ (" " * (loop.index *2) )|safe }}↪ {{ shorten_string(r, 50) }}
|
2020-02-10 11:21:20 +01:00
|
|
|
{%else%}
|
2020-07-17 18:39:50 +02:00
|
|
|
{{ shorten_string(r, 50) }}
|
2020-02-10 11:21:20 +01:00
|
|
|
{%endif%}
|
|
|
|
</p>
|
2020-02-03 22:25:48 +01:00
|
|
|
{% endfor %}
|
2023-07-28 14:05:28 +02:00
|
|
|
<a style="float: right;" href="{{ url_for('redirects', tree_uuid=uuid) }}">Download redirects</a>
|
2020-02-03 22:25:48 +01:00
|
|
|
{% else%}
|
|
|
|
No redirect
|
|
|
|
{%endif%}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
2020-02-03 18:30:41 +01:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-02-06 17:25:21 +01:00
|
|
|
</div>
|
2017-07-23 19:56:51 +02:00
|
|
|
{% endblock %}
|