-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathkippo-geo.php
50 lines (38 loc) · 1.81 KB
/
kippo-geo.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
<?php
# Used for <title></title>
$page_title = "Geolocation Information | Fast Visualization for your Kippo Based SSH Honeypot";
# Used for nav menu
$page_file = "kippo-geo.php";
require('include/header.php');
?>
<div class="wrapper">
<div class="container">
<div class="whitebox">
<!-- ####################################################################################################### -->
<h2>Geolocation information gathered from the <b>top 10</b> IP addresses probing the 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/KippoGeo.class.php');
$kippoGeo = new KippoGeo();
//-----------------------------------------------------------------------------------------------------------------
//KIPPO-GEO DATA
//-----------------------------------------------------------------------------------------------------------------
$kippoGeo->printKippoGeoData();
//-----------------------------------------------------------------------------------------------------------------
//END
//-----------------------------------------------------------------------------------------------------------------
?>
<!-- ####################################################################################################### -->
<div class="clear"></div>
</div>
</div>
</div>
<?php
require('include/footer.php');
?>