-
Notifications
You must be signed in to change notification settings - Fork 1
/
ssniper.conf.in
73 lines (63 loc) · 1.5 KB
/
ssniper.conf.in
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
# This is a sample config file
#
# Contact the maintainer (currently [email protected]) for help with
# this file.
#
# These are strings to match against the libmagic representation of a
# file's type. This will be checked as a substring, so "ELF" will
# match "ELF 32-bit LSB executable..."
#
skip "a.out"
skip "ELF"
skip "gzip"
skip "bzip"
skip "JPEG"
skip "PNG"
skip "BMP"
skip "ISO 9660"
skip "MPEG"
skip "binary"
skip "program"
skip "script"
skip "TrueType"
skip "compiled"
skip "symbolic link"
skip "RPM"
# These file extensions will be skipped. The matching is a string
# comparison on everything after the ".", so "foo.bmp" should be
# matched by "bmp".
skipext "zip"
skipext "svg"
skipext "nasl"
skipext "vmdk"
skipext "ppd"
skipext "xcf"
skipext "dll"
skipext "svn-base"
skipext "o"
skipext "c"
skipext "f"
skipext "dmg"
skipext "ll"
skipext "out"
skipext "in"
skipext "img"
skipext "c,v"
skipext "a"
skipext "so"
skipext "dylib"
# This sets a byte limit for reading files up to ~50MB. This is just
# an optimization to waste as little time as possible on big files.
# A multiple of the block size (32,768 by default) makes it an even
# number of blocks.
bytecap "50003968"
# This seems like a normal place for the magic database, but if yours
# is somewhere else, feel free to change it.
magic "/usr/share/file/magic"
codes "SSN_CODES_TXT_PATH"
# If you want to regularly scan a file tree in DB mode:
#
# root "/var/www/html"
# If you want your DB scans to notify someone by email:
#
# email "[email protected]"