-
Notifications
You must be signed in to change notification settings - Fork 0
/
shockpot-input.php
executable file
·118 lines (111 loc) · 6.41 KB
/
shockpot-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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<title>Shockpot-Frontend | Fast Visualization for your Shockpot Honeypot Stats</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="imagetoolbar" content="no"/>
<link rel="stylesheet" href="styles/layout.css" type="text/css"/>
<script type="text/javascript" src="scripts/jquery-1.4.1.min.js"></script>
</head>
<body id="top">
<div class="wrapper">
<div id="header">
<h1><a href="index.php">Shockpot-Frontend</a></h1>
<br/>
<p>Fast Visualization for your Shockpot Honeypot Stats</p>
</div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper">
<div id="topbar">
<div class="fl_left">Version: 1.0 | Website: <a href="https://github.com/GovCERT-CZ/Shockpot-Frontend">github.com/GovCERT-CZ/Shockpot-Frontend</a>
</div>
<br class="clear"/>
</div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper">
<div id="topnav">
<ul class="nav">
<li><a href="index.php">Homepage</a></li>
<li><a href="shockpot-frontend.php">Shockpot-Frontend</a></li>
<li class="active"><a href="shockpot-input.php">Shockpot-Input</a></li>
<li><a href="shockpot-ip.php">Shockpot-Ip</a></li>
<li><a href="shockpot-geo.php">Shockpot-Geo</a></li>
<li class="last"><a href="gallery.php">Graph Gallery</a></li>
</ul>
<div class="clear"></div>
</div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper">
<div class="container">
<div class="whitebox">
<!-- ####################################################################################################### -->
<h2>Input presentation and statistics gathered from the honeypot system</h2>
<hr/>
<?php
#Author: ikoniaris
#Website: bruteforce.gr/kippo-graph
#Modifications: standa4
require_once('config.php');
require_once(DIR_ROOT . '/class/ShockpotInput.class.php');
$ShockpotInput = new ShockpotInput();
//-----------------------------------------------------------------------------------------------------------------
//OVERALL HONEYPOT ACTIVITY
//-----------------------------------------------------------------------------------------------------------------
$ShockpotInput->printOverallHoneypotActivity();
//-----------------------------------------------------------------------------------------------------------------
//ACTIVITY BUSIEST DAYS
//-----------------------------------------------------------------------------------------------------------------
$ShockpotInput->printActivityBusiestDays();
//-----------------------------------------------------------------------------------------------------------------
//ACTIVITY PER DAY
//-----------------------------------------------------------------------------------------------------------------
$ShockpotInput->printActivityPerDay();
//-----------------------------------------------------------------------------------------------------------------
//ACTIVITY PER WEEK
//-----------------------------------------------------------------------------------------------------------------
$ShockpotInput->printActivityPerWeek();
//-----------------------------------------------------------------------------------------------------------------
//TOP 10 OVERALL INPUT
//-----------------------------------------------------------------------------------------------------------------
$ShockpotInput->printTop10OverallCommands();
//-----------------------------------------------------------------------------------------------------------------
//TOP 10 OVERALL INPUT
//-----------------------------------------------------------------------------------------------------------------
$ShockpotInput->printTop10Combinations();
//-----------------------------------------------------------------------------------------------------------------
//TOP 10 HEADERS
//-----------------------------------------------------------------------------------------------------------------
$ShockpotInput->printTop10Headers();
//-----------------------------------------------------------------------------------------------------------------
//TOP 10 URLS
//-----------------------------------------------------------------------------------------------------------------
$ShockpotInput->printTop10Urls();
//-----------------------------------------------------------------------------------------------------------------
//END
//-----------------------------------------------------------------------------------------------------------------
?>
<!-- ####################################################################################################### -->
<div class="clear"></div>
</div>
</div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper">
<div id="copyright">
<p class="fl_left">Copyright © 2015 - All Rights Reserved - <a
href="https://github.com/GovCERT-CZ/Shockpot-Frontend">Shockpot-Frontend</a></p>
<p class="fl_right">Thanks to <a href="http://bruteforce.gr/kippo-graph" title="Kippo-Graph">Kippo-Graphs</a> and <a href="http://www.os-templates.com/" title="Free Website Templates">OS Templates</a></p>
<br class="clear"/>
</div>
</div>
<script type="text/javascript" src="scripts/superfish.js"></script>
<script type="text/javascript">
jQuery(function () {
jQuery('ul.nav').superfish();
});
</script>
</body>
</html>