summaryrefslogtreecommitdiff
path: root/src/templates/index.html
blob: 4871dd07312985f1c1f99e09b65a3bcab0cc710a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{% extends 'base.html' %}

{% block content %}
<div class="container">
    <h1>SSH bots login attempts</h1>

    <div class="row">
        <div class="col">
            <p>Have you ever tried having a publicly accessible server with SSH open, do you know what happens?<br>
                The logs get filled with login attempts<br>
                Well i decided to log these login attempts, here's the data<br></p>

            Want to avoid this? Use public / private keys and disable password login see this guide:
            <a href="https://landchad.net/sshkeys/">landchad.net - SSH Keys</a>
        </div>
    </div>
    <div class="row">
        <div class="col">
            <div style="height: 30em">
                {% include 'chart.html' %}
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col">
            <h3>Top usernames</h3>
            {% with data=top_usernames %}
            {% include 'table.html' %}
            {% endwith %}
        </div>
        <div class="col">
            <h3>Top passwords</h3>
            {% with data=top_passwords %}
            {% include 'table.html' %}
            {% endwith %}
        </div>
        <div class="col">
            <h3>Latest login attempts</h3>
            {% with data=latest_login_attempts %}
            {% include 'table.html' %}
            {% endwith %}
        </div>
    </div>

    <a href="/chart">Full screen chart</a><br><br>

    Link to the <a href="https://git.node5.net/ssh_log">source code</a><br><br>

    <p>Do you like living life dangerously? use <a href="/potm">password of the month</a>
        as your next password</p>
</div>

{% endblock %}