diff --git a/templates/lookup.html b/templates/lookup.html new file mode 100644 index 0000000..0e5c958 --- /dev/null +++ b/templates/lookup.html @@ -0,0 +1,12 @@ +{% extends "layout.html" %} + + + +{% block content %} + +{% include "forms.html" %} + +{% include "empty_form.html" %} + +{% endblock %} + diff --git a/templates/results-overview.html b/templates/results-overview.html new file mode 100644 index 0000000..657991e --- /dev/null +++ b/templates/results-overview.html @@ -0,0 +1,73 @@ + + + +
+
+ + + + + + + + + + + + {% for host in hosts %} + + + + + + + + + + + + + {% endfor %} + +
IP addressVirusTotalAbuseIPDBDomainRegistration countryRegistration dateEmail security
{{host.host}}Score: {{host.vt['score']}} / {{host.vt['total']}}
+ Last updated: {{host.vt['last_update']}}
Score: {{host.abuseipdb['data']['abuseConfidenceScore']}} + Last reported: {{host.abuseipdb['data']['lastReportedAt']}}{{host.domain}}{{host.metadata['registrar_country']}}{{host.metadata['creation_date']}}SPF: {{host.emailsec[0]}}, DMARC: {{host.emailsec[1]}}
+

+ Vendor marked this host as malicious or suspicious: + {% for vendor in host.vt['vendors'] %} + {{vendor}} + {% endfor %} +
+ Some relevant data from AbuseIPDB: + {{ host.abuseipdb }} +

+
+
+
+ +{% block scripts %} + + + +{% endblock %} diff --git a/templates/results.html b/templates/results.html new file mode 100644 index 0000000..2a0ef49 --- /dev/null +++ b/templates/results.html @@ -0,0 +1,15 @@ +{% extends "layout.html" %} + +{% block content %} + +{# For multiple results, maybe make a top results overview and then a navigation menu to specific URL pages? See: https://realpython.com/primer-on-jinja-templating/#include-a-navigation-menu #} + +{% include "forms.html" %} + +{% include "results-overview.html" %} + +{% include "results-detail.html" %} + +{% include "empty_form.html" %} + +{% endblock %}