forked from lucanos/Tripwire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tripwire_config.php
59 lines (52 loc) · 1.48 KB
/
tripwire_config.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
51
52
53
54
55
56
57
58
59
<?php
/*
Tripwire Configuration File
===========================
*/
$config = array(
// Debugging (Verbose Output)
'debug' => false ,
// File Containing the MD5 Keys
'md5file' => 'tripwire_filelist.md5' ,
// Delimited for Filelist
'delim' => '&&&' ,
'exclude' => array(
// Specific Files to Exclude from Scanning
'files' => array(
'.' ,
'..' ,
'tripwire_filelist.md5' ,
'tripwire_config.php' ,
'error_log' ,
'backup.zip' ,
'.bash_history'
) ,
// Extensions to Exclude from Scanning
'extensions' => array(
'afm' ,
// Flash
'flv' , 'swf' ,
// Images
'bmp' , 'gif' , 'jpeg' , 'jpg' , 'png' , 'psd' ,
'log' ,
'txt' ,
// Videos
'mp4' , 'mov' , 'ogv' , 'webm' ,
// Dreamweaver
'mno' ,
// Audio
'aif' , 'mp3' ,
// Microsoft Word Files
'doc' , 'docx' , 'xls' , 'xlsx' ,
// Compressed Files
'7z' , 'rar' , 'sitx' , 'zip'
)
) ,
'email' => array(
'to' => array( // Email these people on changes
// '[email protected]'
) ,
'title' => '[Tripwire] Change Detected - [X] Files' , // The Email Title
'body' => "Tripwire (https://github.com/lucanos/Tripwire) has detected a number of changes:\n\n[AN] Files Added:\n[AF]\n\n[MN] Files Modified:\n[MF]\n\n[DN] Files Deleted:\n[DF]\n\n" // The Email Template
)
);