-
Notifications
You must be signed in to change notification settings - Fork 54
/
config.php.dist
87 lines (76 loc) · 4.23 KB
/
config.php.dist
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
<?php
# Author: ikoniaris
# Website: bruteforce.gr/kippo-graph
# DIR_ROOT: defines where your Kippo-Graph installation currently resides in.
# Please don't change this unless there is a special reason to do so.
define('DIR_ROOT', dirname(__FILE__));
# Language selection for charts -- Default: en (English)
# Change the two-letter lang.XX.php language code to your preferred choice.
# Available options:
# en: English | fr: French | de: German | it: Italian | es: Spanish
# nl: Dutch | el: Greek | et: Estonian | pl: Polish | sv: Swedish
# cs: Czech | sk: Slovak | ar: Arabic (currently not working)
require_once(DIR_ROOT . '/include/languages/lang.en.php');
# MySQL server configuration: you will have to change the following
# four definitions from the default values to the correct ones,
# according to your MySQL server instance. When you installed Kippo/Cowrie
# and configured MySQL logging, you should have created a new
# MySQL user just for this job, otherwise use root (not recommended!)
define('DB_HOST', '127.0.0.1');
define('DB_USER', 'username');
define('DB_PASS', 'password');
define('DB_NAME', 'database');
define('DB_PORT', '3306');
# Which geolocation method should be used -- Default: LOCAL (MaxMind)
# Note: LOCAL (MaxMind) enables additional fields in various components.
# When using LOCAL you might want to periodically update (monthly) the
# kippo-graph/include/maxmind/GeoLite2-City.mmdb MaxMind database file
# with a new one from: http://dev.maxmind.com/geoip/geoip2/geolite2/
# Available options:
# LOCAL: fastest, uses a local MaxMind GeoLite2 database
# GEOPLUGIN: uses the geoplugin.com web service (online)
define('GEO_METHOD', 'LOCAL');
# Realtime statistics for the main Kippo-Graph component -- Default: YES
# This value determines whether Kippo-Graph will query the MySQL server
# every time the component's page loads. Disabling this feature can be
# useful if your database has become huge after a long time of operation.
# Note: if you disable this, you will probably want to setup the hourly cron
# script to update the charts in the background (see README for details).
# Change YES to NO if you want to disable it.
define('REALTIME_STATS', 'YES');
# Check for Tor exit nodes -- Default: NO
# This enables checking of all logged IP addresses against the current Tor exit
# nodes list using the Tor Bulk Exit List exporting tool. The list of exit nodes
# is also saved locally, in case the online service goes down.
# Note: this enables additional fields in various components.
# Change NO to YES if you want to enable it.
define('TOR_CHECK', 'NO');
# Check for newer Kippo-Graph versions -- Default: NO
# The following value determines whether Kippo-Graph will automatically check
# if a newer version is available for download. You can inspect the function at
# kippo-graph/include/misc/versionCheck.php. It works by comparing the latest
# version number that resides in a text file uploaded on Kippo-Graph's website
# against the 'VERSION' definition inside versionCheck.php.
# While in theory you can trust the remote website, I realise that you might
# think that this check poses a risk to the privacy of your honeypot's IP address.
# For this reason, the following value ensures that having the update checking
# feature enabled is your choice and not forced.
# Change NO to YES if you want to enable it.
define('UPDATE_CHECK', 'NO');
# The following value determines the minimum size (in kb) of the TTY log
# needed to be shown in Kippo-Playlog. Any value below it will be ignored.
# This is useful to remove any sessions that just join and quit immediately afterwards.
# The value may need tweaking based on the length of your MOTD (displayed after successful logins).
define('PLAYBACK_SIZE_IGNORE', '0.3');
# The following value determines which honeypot is being used -- Default: KIPPO
# Values: COWRIE or KIPPO
define('BACK_END_ENGINE', 'KIPPO');
# The following value determines where cowrie is installed -- Default: /opt/cowrie
# You don't need to change it if you're using Kippo
define('BACK_END_PATH', '/opt/cowrie');
# Playback method. This is how the TTY logs are shown.
# JS uses a JavaScript method that re-enacts the console window
# Python is a in-built script to make a static output
# Values: JS or PYTHON
define('PLAYBACK_SYSTEM', 'JS');
?>