-
Notifications
You must be signed in to change notification settings - Fork 84
/
config.dist.yaml
86 lines (65 loc) · 2.45 KB
/
config.dist.yaml
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
# This is the default (distribution) config file
# For local configuration, please create and edit the file "config.yaml",
# this ensures your configuration to endure a update using git pull
# this file is in YAML format
# If you don't know YAML, check https://de.wikipedia.org/wiki/YAML
# or just copy around existing entries
#############################################
# Global config
# used by both honeypot AND backend
# Credentials for authetification
# Used by honeypot only
# If not set, will be randomly generated
# If the backend cannot find a user with id == 1 in its database,
# it will generate one using this credentials (or the ones autogenerated)
# backend_user: "CHANGEME"
# backend_pass: "CHANGEME"
##############################################
# Honeypot configuration
# Backend URL to which honeypot will connect to to store data
backend: "http://localhost:5000"
# Write raw data to logfile, can be imported into backend db later
# does include everything EXCEPT sample contents
log_raw: null
# Save samples in sample_dir
log_samples: False
# Do not download any samples, use their url as content
# useful for debugging
fake_dl: false
# Telnet port
telnet_addr: ""
telnet_port: 2323
# Timeout in seconds for telnet session. Will expire if no bytes can be read from socket.
telnet_session_timeout: 60
# Maximum session length in seconds.
telnet_max_session_length: 120
# Minimum time between 2 connection from the same ip, if closer together
# they will be refused
telnet_ip_min_time_between_connections: 30
#############################################
# Backend configuration
# sqlalchemy sql connect string
# examples:
# using sqlite: "sqlite:///database.db"
# using mysql: ""mysql+mysqldb://USER:PASSWORD@MYSQL_HOST/DATABASE_NAME","
sql: "sqlite:///database.db"
# IP Address and port for http interface
http_port: 5000
http_addr: "127.0.0.1"
# Max connections to sql db, maybe restricted in some scenarios
max_db_conn: 1
# Directory in which samples are stored
sample_dir: "samples"
# Virustotal API key
vt_key: "GET_YOUR_OWN"
submit_to_vt: false
# Enable or Disable IP to ASN resolution
# Options: "none" | "offline" | "online"
# offline works by importing data from https://lite.ip2location.com/ - dowload must be done manually
# online works by querying origin.asn.cymru.com
ip_to_asn_resolution: "online"
cuckoo_enabled: false,
cuckoo_url_base: "http://127.0.0.1:8090"
cuckoo_user: "user"
cuckoo_passwd: "passwd"
cuckoo_force: 0