Can't make cxs.ignore work
Posted: 25 Nov 2022, 05:33
I'm trying to make cxs ignore the wordpress file admin-ajax.php so I created a file named cxs.ignore (it didn't exist) and put the following in it:
Restarted the service but I'm still receiving emails about that file.
I read somewhere else on this forum that I needed to edit cxswatch.sh and add --ignore /etc/cxs/cxs.ignore but my cxswatch.sh has nothing in it, I mean, no command other than this:
Everything else is commented, however, when I receive the email it contains this command:
Which does contain the --ignore /etc/cxs/cxs.ignore part... a little help pointing me to the right direction would be really appreciated.
Code: Select all
hfile:/public_html/wp-admin/admin-ajax.php
I read somewhere else on this forum that I needed to edit cxswatch.sh and add --ignore /etc/cxs/cxs.ignore but my cxswatch.sh has nothing in it, I mean, no command other than this:
Code: Select all
/usr/sbin/cxs --Wstart --config /etc/cxs/cxswatch.conf
Code: Select all
/usr/sbin/cxs --cgi --clamdsock /var/clamd --cutcgimail --defapache nobody --doptions Mv --exploitscan --nofallback --filemax 10000 --noforce --html --ignore /etc/cxs/cxs.ignore --logfile /var/log/cxs.log --mail root --options mMOLfuSGchexdnwZRrD --noprobability --qoptions Mv --quarantine /home/quarantine --quiet --sizemax 1000000 --smtp --ssl --nosummary --nosversionscan --timemax 30 --nounofficial --virusscan --vmrssmax 2000000 --voptions mfhexT --waitscan 0 /tmp/20221124-235835-Y4BLe0KETAtm604W9nvHBgAAAEs-file-BLzizt