flask-soc-site/templates/URL.html

81 lines
1.9 KiB
HTML
Raw Normal View History

2024-08-29 21:03:36 +02:00
{% if result %}
<div>
<table id="data" class="table table-striped">
<thead>
<tr>
<th>domain</th>
<th>creation date</th>
<th>registrar</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{ result.metadata['domain_name'] }}</td>
<td>{{ result.metadata['creation_date'] }}</td>
<td>{{ result.metadata['registrar'] }}</td>
</tr>
</tbody>
</table>
<table id="virustotal_stats" class="table table-striped">
<thead>
<tr>
<th>Malicious</th>
<th>Suspicous</th>
<th>Undetected</th>
<th>Harmless</th>
<th>Timeout</th>
</tr>
</thead>
<tbody>
<tr>
{% for value in result.vt.data.attributes.stats.values() %}
<td>{{ value }}</td>
{% endfor %}
</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 value in result.vt.data.attributes.results.values() if value.result == 'malicious' or value.result == 'malware' %}
<tr>
<td>{{ value.engine_name }}</td>
<td>{{ value.result }}</td>
</tr>
{% endfor %}
</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>
</div>
{% elif results %}
<div>
<p>VISUALIZE</p>
</div>
{% endif %}