41 lines
960 B
HTML
41 lines
960 B
HTML
|
|
{% block content %}
|
|
{% if aps|length > 0 %}
|
|
<h2>Current APs</h2>
|
|
<table>
|
|
<tr>
|
|
{% for key, value in aps[0].items() %}
|
|
<th>{{key}}</th>
|
|
{% endfor %}
|
|
</tr>
|
|
{% for ap in aps %}
|
|
<tr>
|
|
{% for key, value in ap.items() %}
|
|
<th>{{value}}</th>
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
<h2>Current Clients</h2>
|
|
<table>
|
|
<tr>
|
|
{% for key, value in clients[0].items() %}
|
|
<th>{{key}}</th>
|
|
{% endfor %}
|
|
</tr>
|
|
{% for client in clients %}
|
|
<tr>
|
|
{% for key, value in client.items() %}
|
|
<th>{{value}}</th>
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% else %}
|
|
<h1>Nothing was found (is airodump-ng running?)</h1>
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
|
|
<script>setTimeout(function(){window.location.reload(1);}, 20000);</script> |