Initial commit.
This commit is contained in:
20
cxs/cxscgi.sh
Executable file
20
cxs/cxscgi.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
###############################################################################
|
||||
# Copyright 2009-2016, Way to the Web Limited
|
||||
# URL: http://www.configserver.com
|
||||
# Email: sales@waytotheweb.com
|
||||
###############################################################################
|
||||
# The option --cgi MUST be used on the cxs command line here
|
||||
#
|
||||
# Examples (only use ONE line for cxs scanning):
|
||||
#/usr/sbin/cxs --quiet --cgi --smtp --mail root "$1"
|
||||
#/usr/sbin/cxs --quiet --cgi --smtp --mail root --quarantine /home/safe/ "$1"
|
||||
#/usr/sbin/cxs --quiet --cgi --delete --logfile /var/log/cxs.log --cleanlog "$1"
|
||||
#
|
||||
# If you use --logfile, remember to chmod 666 [file] to allow write access
|
||||
#
|
||||
# You should include --smtp to allow the nobody user (which ModSecurity runs
|
||||
# under) to send email.
|
||||
|
||||
#/usr/sbin/cxs --quiet --cgi --smtp --mail root "$1"
|
||||
/usr/sbin/cxs --quiet --cgi --block --smtp --mail csf@gazduire.ro --qoptions mMOfSGchdnTv -I /etc/cxs/cxs.ignore --logfile /var/log/cxs.log "$1"
|
||||
Reference in New Issue
Block a user