Files
zira-etc/cxs/cxs.xtra.example
2021-05-24 22:18:33 +03:00

34 lines
1.2 KiB
Plaintext

###############################################################################
# Copyright 2009-2016, Way to the Web Limited
# URL: http://www.configserver.com
# Email: sales@waytotheweb.com
###############################################################################
# The following is a list of regular expression matches and filenames that
# cxs will additionally scan for, one per line.
#
# You must use the following format:
#
# regall: - regular expression match for all script files
# regphp: - regular expression match for only php script files
# regperl: - regular expression match for only perl script files
# regfile: - regular expression match for a file or directory name
# file: - file or directory name match (not a regex)
# md5sum: - md5sum of a file to match as: Known exploit = [Fingerprint Match]
#
# Examples:
# regall:/etc/passwd
# regfile:\.pl$
# file:r00t.php
#
# To force quarantine of a file when using --quarantine, prefix the match with
# "quarantine:", e.g.:
#
# regall:quarantine:/etc/passwd
# regfile:quarantine:\.pl$
# file:quarantine:r00t.php
#
# You can include additional entries using external files with:
# Include /path/to/cxs.altxtra
#
# Note: All regex's must be properly specified and escaped to work correctly