From 52f6d91fba4925b978fd8d67b08f33ed6a45510b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Thu, 23 Sep 2021 14:08:39 +0200 Subject: [PATCH] fix: Skip block if urls not on phishtank. --- website/web/templates/modules.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/web/templates/modules.html b/website/web/templates/modules.html index 362f506b..7b459e5c 100644 --- a/website/web/templates/modules.html +++ b/website/web/templates/modules.html @@ -28,12 +28,14 @@

Phishtank

+ {% if phishtank.get('urls') %}

Phishtank flagged the URLs below as phishing:

    {% for url, permaurl in phishtank['urls'].items() %}
  • {{ shorten_string(url, 150) }}: click to view it on phishtank.

  • {% endfor %}
+ {% endif%} {% if phishtank.get('ips_hits') %}

The IPs below are in the tree and are flagged as phishing on Phishtank, might on on other URLs: