flask-soc-site/templates/IPv4.html

105 lines
2.5 KiB
HTML
Raw Permalink Normal View History

2024-08-29 21:03:36 +02:00
{% if result %}
<div>
<table id="data" class="table table-striped">
<thead>
<tr>
<th>IP resolves to URL</th>
<th>creation date</th>
<th>registrar</th>
<th>registrar's country of residence</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ result.metadata['domain_name'] }}</td>
<td>{{ result.metadata['creation_date'] }}</td>
<td>{{ result.metadata['registrar'] }}</td>
<td>{{ result.metadata['country'] }}</td>
</tr>
</tbody>
</table>
<table id="abuseipdb" class="table table-striped">
<thead>
<tr>
<th>Abuse IPDB confidence score</th>
<th>Total reports</th>
<th>Last reported</th>
<th>Tor or not</th>
<th>Hostnames</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ result.abuseipdb.data.abuseConfidenceScore }}</td>
<td>{{ result.abuseipdb.data.totalReports }}</td>
<td>{{ result.abuseipdb.data.lastReportedAt }}</td>
<td>{{ result.abuseipdb.data.isTor }}</td>
<td>{{result.abuseipdb.data.hostnames }}</td>
</tr>
</tbody>
</table>
2024-08-29 21:03:36 +02:00
<table id="virustotal_stats" class="table table-striped">
<thead>
<tr>
<th>Malicious</th>
<th>Suspicious</th>
<th>Undetected</th>
<th>Harmless</th>
<th>Timeout</th>
</tr>
</thead>
<tbody>
<tr>
<td>
{{
result.vt['data']['attributes']['last_analysis_stats']['malicious']}}
</td>
<td>
{{
result.vt['data']['attributes']['last_analysis_stats']['suspicious']
}}
</td>
<td>
{{
result.vt['data']['attributes']['last_analysis_stats']['undetected']
}}
</td>
<td>
{{ result.vt['data']['attributes']['last_analysis_stats']['harmless']
}}
</td>
<td>
{{ result.vt['data']['attributes']['last_analysis_stats']['timeout']
}}
</td>
</tr>
</tbody>
</table>
<table id="virustotal_all_vendors" class="table table-striped">
<thead>
<tr>
<th>Vendor name</th>
<th>Results</th>
</tr>
</thead>
<tbody>
{% for vendor,value in
result.vt['data']['attributes']['last_analysis_results'].items() %}
<tr>
<td>{{ vendor }}</td>
<td>{{ value['result'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% elif results %}
<div>
<p>VISUALIZE</p>
</div>
{% endif %}