All the details are available here.
cxs --options Mv /path/to/fileIf it is not detected, you can submit the files to us using the --wttw option and we will examine them to determine whether they should be added to the fingerprint database. Alternatively, you can create your own fingerprints for them - information is in the cxs documentation under the option --MD5.
md5sum exploit.phpYou'll get something like this:
28f2623f836e5376bbd81782fda1be29 exploit.phpAdd the result to /etc/cxs/cxs.xtra like this:
md5sum:28f2623f836e5376bbd81782fda1be29And make sure that you add the --xtra option to your command line in the cxs script files that you are using for scanning (cxsftp.sh, cxscgi.sh, cxswatch.sh):
--xtra /etc/cxs/cxs.xtraFor instance, if your cxs command line in cxscgi.sh is this:
/usr/sbin/cxs --quiet --cgi --smtp --mail root -Q /home/quarantine --qoptions Mv "$1"You should change it to:
/usr/sbin/cxs --quiet --cgi --smtp --mail root -Q /home/quarantine --qoptions Mv --xtra /etc/cxs/cxs.xtra "$1"If you are running cxswatch it is best to restart it when you make changes to cxs.xtra or cxs.ignore.