blob: 3799a687e89051a84c4c561651f1fdc9a7d65ee6 (
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
|
# honeypot-log-analyzer
Analyzer the docker honeypot logs
## usage:
1. Setup a honeypoy
2. grab some logs (`docker-compose logs > <filename>.txt`)
3. run the analyzer (`python3 analyzer.py <filename>.txt`)
```
> $ python3 analyze.py
Amount of hits processed: [...]
-----------------
Most tried usernames:
[...]
-----------------
Most tried passwords:
[...]
-----------------
Most frequent ips:
[...]
-----------------
Most frequent ports:
[...]
```
Four images get saved:
| filename | content |
| -------- | ------- |
| username.png | histogram of the most used usernames |
| passwords.png | histogram of the most used passwords |
| ip.png | histogram of to most used ips |
| port.png | histogram of the most used ports |
|