2022-07-15 18:53:49 +02:00
|
|
|
{% from "macros.html" import shorten_string %}
|
|
|
|
|
|
|
|
<div>
|
2023-12-13 12:40:33 +01:00
|
|
|
{% if not circl_pdns and not riskiq %}
|
|
|
|
No historical data available
|
|
|
|
{%else%}
|
2024-02-20 17:01:16 +01:00
|
|
|
{% if circl_pdns %}
|
2024-09-04 16:30:33 +02:00
|
|
|
<script type="text/javascript" nonce="{{ csp_nonce() }}">
|
2024-02-27 15:29:35 +01:00
|
|
|
new DataTable('#CIRCL_pdns_table', {
|
|
|
|
order: [[ 1, "desc" ]],
|
|
|
|
autoWidth: false,
|
|
|
|
columnDefs: [{ width: '15%', targets: 0 },
|
|
|
|
{ width: '15%', targets: 1 },
|
2024-02-28 00:43:38 +01:00
|
|
|
{ width: '10%', targets: 2 },
|
|
|
|
{ width: '20%', targets: 3 },
|
2024-02-27 15:29:35 +01:00
|
|
|
{ width: '40%', targets: 4 }]
|
|
|
|
});
|
2024-02-20 17:01:16 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<center>
|
|
|
|
<h1 class="display-4">CIRCL Passive DNS
|
2024-09-04 16:30:33 +02:00
|
|
|
<a href='https://www.circl.lu/services/passive-dns/' target="_blank">
|
|
|
|
<div class="help-tip" title="Click for more details" style="cursor: pointer;"></div>
|
|
|
|
</a>
|
2024-02-20 17:01:16 +01:00
|
|
|
</h1>
|
|
|
|
{% for query, responses in circl_pdns.items() if responses %}
|
|
|
|
<div>
|
|
|
|
<h3>{{query}}</h3>
|
|
|
|
<table id= "CIRCL_pdns_table" class="table table-striped" style="width:100%">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="col-sm-2" scope="col">First seen</th>
|
|
|
|
<th class="col-sm-2" scope="col">Last seen</th>
|
|
|
|
<th class="col-sm-1" scope="col">RR Type</th>
|
|
|
|
<th class="col-sm-2" scope="col">R Data</th>
|
2024-02-27 15:29:35 +01:00
|
|
|
<th class="col-sm-2" scope="col">RR Name</th>
|
2024-02-20 17:01:16 +01:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{%for response in responses %}
|
|
|
|
<tr>
|
|
|
|
<td>{{response.time_first_datetime}}</td>
|
|
|
|
<td>{{response.time_last_datetime}}</td>
|
|
|
|
<td>{{response.rrtype}}</td>
|
2024-02-27 15:29:35 +01:00
|
|
|
<td class="text-break">{{response.rdata}}</td>
|
|
|
|
<td class="text-break">{{response.rrname}}</td>
|
2024-02-20 17:01:16 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{%endfor%}
|
|
|
|
</center>
|
|
|
|
{% endif%}
|
|
|
|
{% if riskiq %}
|
|
|
|
<hr>
|
2024-09-04 16:30:33 +02:00
|
|
|
<script type="text/javascript" nonce="{{ csp_nonce() }}">
|
2024-02-27 15:29:35 +01:00
|
|
|
new DataTable('#RiskIQ_pdns_table', {
|
|
|
|
order: [[ 1, "desc" ]],
|
|
|
|
autoWidth: false,
|
|
|
|
columnDefs: [{ width: '15%', targets: 0 },
|
|
|
|
{ width: '15%', targets: 1 },
|
2024-02-28 00:43:38 +01:00
|
|
|
{ width: '10%', targets: 2 },
|
|
|
|
{ width: '60%', targets: 3 }]
|
2024-02-27 15:29:35 +01:00
|
|
|
});
|
2024-02-20 17:01:16 +01:00
|
|
|
</script>
|
|
|
|
<center>
|
|
|
|
<h1 class="display-4">RiskIQ</h1>
|
|
|
|
<div>
|
|
|
|
<h3>{{riskiq['queryValue']}}</h3>
|
|
|
|
<h4>{{riskiq['firstSeen']}} - {{ riskiq['lastSeen']}}</h4>
|
|
|
|
<table id="RiskIQ_pdns_table" class="table table-striped" style="width:100%">
|
2023-12-12 16:19:01 +01:00
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="col-sm-2" scope="col">First seen</th>
|
|
|
|
<th class="col-sm-2" scope="col">Last seen</th>
|
2024-02-20 17:01:16 +01:00
|
|
|
<th class="col-sm-1" scope="col">Type</th>
|
2024-02-27 15:29:35 +01:00
|
|
|
<th class="col-sm-2" scope="col">Resolve</th>
|
2023-12-12 16:19:01 +01:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2024-02-20 17:01:16 +01:00
|
|
|
{% for entry in riskiq['results'] %}
|
2023-12-12 16:19:01 +01:00
|
|
|
<tr>
|
2024-02-20 17:01:16 +01:00
|
|
|
<td>{{entry['firstSeen']}}</td>
|
|
|
|
<td>{{entry['lastSeen']}}</td>
|
|
|
|
<td>{{entry['recordType']}}</td>
|
2024-02-27 15:29:35 +01:00
|
|
|
<td class="text-break">{{entry['resolve']}}</td>
|
2023-12-12 16:19:01 +01:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2024-02-20 17:01:16 +01:00
|
|
|
</div>
|
|
|
|
</center>
|
|
|
|
{% endif%}
|
2023-12-13 12:40:33 +01:00
|
|
|
{% endif%}
|
2022-07-15 18:53:49 +02:00
|
|
|
</div>
|