lookyloo/website/web/templates/modules.html

41 lines
1.3 KiB
HTML
Raw Normal View History

{% from "macros.html" import shorten_string %}
2020-04-20 17:26:19 +02:00
<div>
{% if vt %}
<center><h1 class="display-4">Virus Total</h1></center>
{% for url, entries in vt.items() %}
<div class="border-top my-3"></div>
<center>
<h3><small class="text-muted">URL</small>
{{ shorten_string(url, 50, with_title=True) }}
</h3>
</center>
2020-04-20 17:26:19 +02:00
{% if entries['malicious'] %}
<center>
<p class="lead">Detected as malicious by the following vendors</p>
<dl class="row">
{% for e in entries['malicious'] %}
<dt class="col-sm-3">{{ e[0] }}</dt>
2020-05-13 17:31:27 +02:00
<dd class="col-sm-3">{{ e[1] }}</dd>
2020-04-20 17:26:19 +02:00
{% endfor %}
</center>
2020-05-13 17:31:27 +02:00
</dl>
2020-04-20 17:26:19 +02:00
{% else %}
<p class="lead">No vendors consider this URL as malicious.</p>
{% endif%}
<h5 class="text-right"><a href="{{ entries['permaurl'] }}">Full report on VirusTotal</a></h5>
{% endfor %}
{% endif%}
2020-06-09 15:06:35 +02:00
{% if pi%}
<center><h1 class="display-4">Phishing Initiative</h1></center>
{% for url, tag in pi.items() %}
<center>
<h3><small class="text-muted">URL</small>
{{ shorten_string(url, 50, with_title=True) }}
</h3>
2020-06-09 15:06:35 +02:00
<div>This URL is tagged as <b>{{ tag }}</b> on Phishing Initiative</div>
</center>
{% endfor %}
{% endif%}
2020-04-20 17:26:19 +02:00
</div>