-
Notifications
You must be signed in to change notification settings - Fork 54
/
kippo-input.php
92 lines (82 loc) · 5.48 KB
/
kippo-input.php
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
# Used for <title></title>
$page_title = "Input | Fast Visualization for your Kippo Based SSH Honeypot";
# Used for nav menu
$page_file = "kippo-input.php";
require('include/header.php');
?>
<div class="wrapper">
<div class="container">
<div class="whitebox">
<!-- ####################################################################################################### -->
<h2>Input presentation and statistics gathered from the honeypot system</h2>
<hr>
<?php
# Author: ikoniaris
require_once('config.php');
if (!is_writable(DIR_ROOT . '/generated-graphs/')) {
echo '<h3>WARNING: ' . DIR_ROOT . '/generated-graphs/' . ' <b>is not writeable</b>. Images will not be generated.</h3>';
echo "<br /><hr>";
}
require_once(DIR_ROOT . '/class/KippoInput.class.php');
$kippoInput = new KippoInput();
//-----------------------------------------------------------------------------------------------------------------
//OVERALL HONEYPOT ACTIVITY
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printOverallHoneypotActivity();
//-----------------------------------------------------------------------------------------------------------------
//HUMAN ACTIVITY BUSIEST DAYS
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printHumanActivityBusiestDays();
//-----------------------------------------------------------------------------------------------------------------
//HUMAN ACTIVITY PER DAY
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printHumanActivityPerDay();
//-----------------------------------------------------------------------------------------------------------------
//HUMAN ACTIVITY PER WEEK
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printHumanActivityPerWeek();
//-----------------------------------------------------------------------------------------------------------------
//TOP 10 OVERALL INPUT
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printTop10OverallInput();
//-----------------------------------------------------------------------------------------------------------------
//TOP 10 SUCCESSFUL INPUT
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printTop10SuccessfulInput();
//-----------------------------------------------------------------------------------------------------------------
//TOP 10 FAILED INPUT
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printTop10FailedInput();
//-----------------------------------------------------------------------------------------------------------------
//PASSWD COMMANDS
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printPasswdCommands();
//-----------------------------------------------------------------------------------------------------------------
//WGET COMMANDS
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printWgetCommands();
//-----------------------------------------------------------------------------------------------------------------
//EXECUTED SCRIPTS
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printExecutedScripts();
//-----------------------------------------------------------------------------------------------------------------
//INTERESTING COMMANDS
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printInterestingCommands();
//-----------------------------------------------------------------------------------------------------------------
//APT-GET COMMANDS
//-----------------------------------------------------------------------------------------------------------------
$kippoInput->printAptGetCommands();
//-----------------------------------------------------------------------------------------------------------------
//END
//-----------------------------------------------------------------------------------------------------------------
?>
<!-- ####################################################################################################### -->
<div class="clear"></div>
</div>
</div>
</div>
<?php
require('include/footer.php');
?>