chg: Improve message for known malicious entries, add known file

pull/87/head
Raphaël Vinot 2020-09-14 14:12:22 +02:00
parent 245c8a8569
commit 99da54f66a
2 changed files with 7 additions and 1 deletions

View File

@ -62,5 +62,11 @@
"entries": [ "entries": [
"f90ddd77e400dfe6a3fcf479b00b1ee29e7015c5bb8cd70f5f15b4886cc339275ff553fc8a053f8ddc7324f45168cffaf81f8c3ac93996f6536eef38e5e40768" "f90ddd77e400dfe6a3fcf479b00b1ee29e7015c5bb8cd70f5f15b4886cc339275ff553fc8a053f8ddc7324f45168cffaf81f8c3ac93996f6536eef38e5e40768"
] ]
},
"single_newline": {
"description": "Empty file with a single newline",
"entries": [
"be688838ca8686e5c90689bf2ab585cef1137c999b48c70b92f67a5c34dc15697b5d11c982ed6d71be1e1e7f7b4e0733884aa97c3f7a339a8ed03577cf74be09"
]
} }
} }

View File

@ -81,7 +81,7 @@ Body size: {{ sizeof_fmt(ressource_size) }}
<b>phishing</b> <b>phishing</b>
{%endif%} {%endif%}
{% if details[1] is mapping and details[1].get('target') %} {% if details[1] is mapping and details[1].get('target') %}
unless it is served by <b>the following domain(s)</b>: {{ ', '.join(details[1]['target']) }} and is targeting <b>the following domain(s)</b>: {{ ', '.join(details[1]['target']) }}
{% else %} {% else %}
unless it is served by <b>the following domain(s)</b>: {{ ', '.join(details[1]) }} unless it is served by <b>the following domain(s)</b>: {{ ', '.join(details[1]) }}
{%endif%} {%endif%}