forked from prey/prey-bash-client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config
executable file
·64 lines (51 loc) · 2.19 KB
/
config
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
#!/bin/bash
####################################################################
# PREY Configuration File - by Tomas Pollak (bootlog.org)
# URL: http://preyproject.com
# License: GPLv3
####################################################################
# language, en (english) or es (espanol)
lang='en'
# autoconnect feature, disabled by default until we are 200% sure it
# works flawlessly in all platforms. feel free to try it out though.
auto_connect='n'
# verification URL, if left empty Prey will always activate and run,
# which is certainly *not* recommended.
check_url='http://control.preyproject.com'
# IMPORTANT: on what HTTP response code will Prey be activated (200 or 404)
# control panel users don't touch this! standalone users may want to
# change it back to 200 (previous setting), if you wish to wake Prey up by
# creating the URL (as before) instead of removing an existing one
missing_status_code='404'
# you can use send the report via email or to the web service
# valid values: http, email or scp
post_method='http'
####################################################################
# http posting configuration
####################################################################
# you can get both of these from Prey's web service
api_key=''
device_key=''
####################################################################
# SMTP settings, for email posting
####################################################################
# mailbox to send the report
mail_to='[email protected]'
# the password is now stored base64 encrypted
# if you wish to generate it by hand, run
# $ echo -n "password" | openssl enc -base64
smtp_server='smtp.gmail.com:587'
smtp_username='[email protected]'
smtp_password='password'
# you dont need to change this
mail_from='Prey <[email protected]>'
mail_subject='[Prey] Status Report'
####################################################################
# scp posting configuration -- EXPERIMENTAL!
# we dont use user/pass but RSA keys
# for more info check http://tinyurl.com/sshtip
####################################################################
# remember you should have write access to the folder
scp_user='username'
scp_server='my.server.com'
scp_path='~'