forked from Lvl4Sword/Killer
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
74 lines (54 loc) · 2.21 KB
/
config.py
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
#!/usr/bin/env python3
# If you choose to not use any of these, ensure they're empty ( set to {} ) rather than removed.
# -- Power --
# 1 defines present, 0 defines not present
ac_file = {'AC': 1}
# 1 defines present, 0 defines not present
battery_file = {'BAT1': 1}
# -- USB --
usb_id_whitelist = {"DEAD:BEEF": 1}
usb_connected_whitelist = {"DEAD:BEEF": 1}
# -- Disk tray --
# 1 = no disk
# 2 = tray open
# 3 = reading tray
# 4 = disk, tray closed
cdrom_drive = {"/dev/sr0": 1}
# -- Network --
# 1 defines present, 0 defines not present
ethernet_connected_file = {"/sys/class/net/RUN_DEBUG/carrier": 1}
# TODO: Add wifi here
# -- Bluetooth --
# Devices that need to be paired. These can be removed/connected.
bluetooth_paired_whitelist = {"DE:AD:BE:EF:CA:FE": {"name": "Generic Bluetooth Device", "amount": 1},
"AB:CD:EF:12:34:56": {"name": "Generic Bluetooth Device 2", "amount": 1}}
# Devices that need to be connected at all times and being removed is considered tampering.
bluetooth_connected_whitelist = {"DE:AD:BE:EF:CA:FE": {"name": "Generic Bluetooth Device", "amount": 1},
"AB:CD:EF:12:34:56": {"name": "Generic Bluetooth Device 2", "amount": 1}}
# -- E-mail --
smtp_server = "mail.example.com"
smtp_port = 465
email_sender = "[email protected]"
email_destination = ["[email protected]", "[email protected]"]
sender_password = "9b§ì]QîiT{¹5¡/㦥µ+På\yµ'¾SéÉA¸^f|BóÚ{PÙóÕm,öÞÇÙú>:ûK65ÏNö¿^Z8bs"
cipher_choice = "ECDHE-RSA-AES256-GCM-SHA384"
login_auth = "LOGIN"
# TODO: This may be too low, experiment with this
email_timeout = 0.8
# -- Logging --
# Change this if you want to actually log anything
log_file = "/something/something.txt"
# -- Debug --
debug_enabled = True
# -- Enabling --
bluetooth_enabled = True
email_enabled = True
logging_enabled = True
usb_enabled = True
# -- Time --
# Check /usr/share/zoneinfo for options here. Some examples would be:
# "Europe/Paris", "US/Pacific", "Asia/Singapore", "Brazil/West"
user_timezone = "US/Eastern"
# Formatting. https://docs.python.org/3/library/time.html#time.strftime has the options for this
# By default this looks like 2022-12-31 01:59:59PM
time_format = "%Y-%m-%d %I:%M:%S%p"