Hello,
I am in badly need of getting two php files ignored from qurantain. i did the following steps. but still it qurantaines
1.
#touch /etc/cxs/cxs.ignore
#chmod 644 /etc/cxs/cxs.ignore
2.
#nano cxs.ignore
and added the two files to the bottom of the existing content
......
hdir:/etc
hdir:/mail
hdir:/tmp
hdir:/.cagefs
hdir:/.fantasticodata
hdir:/.rvsitebuilder
hdir:/.sqmaildata
hdir:/.trash
hdir:/.quarantine
hdir:/quarantine_clamavconnector
hsym:/access-logs
hfile:/public_html/cgi-bin/randhtml.cgi
hfile:/public_html/cgi-bin/entropybanner.cgi
hfile:/public_html/cgi-bin/cgiemail
hfile:/public_html/cgi-bin/cgiecho
hfile:/public_html/cgi-bin/cpdownload/cpaneldownacct.cgi
hfile:/public_html/cgi-bin/cpdownload/cpaneldownload.cgi
hfile:/public_html/cgi-bin/cpdownload/cpanelkill.cgi
hfile:/public_html/cgi-bin/cpdownload/cpanelwrap.c
hfile:/public_html/cgi-bin/cpdownload/cpanelwrap.cgi
pfile:^/tmp/clamav-.*
pdir:^/tmp/clamav-.*
pfile:^/tmp/cxs_.*
md5sum:f3c8aaf882d1ed25a7f5fe7fd2ee4d9d
file:/home/mindcalc/public_html/wp-content/themes/classroom_math_ote061/functions.php
file:/home/mindcalc/public_html/wp-content/themes/classroom_math_ote061/footer.php
Kindly help me with this issue.
Thank you
john
Please help me with file ignore
-
- Junior Member
- Posts: 6
- Joined: 06 Oct 2015, 23:45
Re: Please help me with file ignore
Probably overkill, but try:
hfile:/public_html/wp-content/themes/classroom_math_ote061/functions.php
hfile:/public_html/wp-content/themes/classroom_math_ote061/footer.php
That should test if the "file:" format is non-functional or if you've made a typo in your file path/name.
Best,
Michael
hfile:/public_html/wp-content/themes/classroom_math_ote061/functions.php
hfile:/public_html/wp-content/themes/classroom_math_ote061/footer.php
That should test if the "file:" format is non-functional or if you've made a typo in your file path/name.
Best,
Michael
Re: Please help me with file ignore
Hello,
i tried all this and no luck
hfile:/home/mindcalc/public_html/wp-content/themes/classroom_math_ote061/functions.php
hfile:/home/mindcalc/public_html/wp-content/themes/classroom_math_ote061/footer.php
hfile:/public_html/wp-content/themes/classroom_math_ote061/functions.php
hfile:/public_html/wp-content/themes/classroom_math_ote061/footer.php
i tried all this and no luck
hfile:/home/mindcalc/public_html/wp-content/themes/classroom_math_ote061/functions.php
hfile:/home/mindcalc/public_html/wp-content/themes/classroom_math_ote061/footer.php
hfile:/public_html/wp-content/themes/classroom_math_ote061/functions.php
hfile:/public_html/wp-content/themes/classroom_math_ote061/footer.php
Re: Please help me with file ignore
Have you added --ignore /etc/cxs/cxs.ignore to your cxs command, i.e. in /etc/cxs/cxswatch.sh?
Re: Please help me with file ignore
oh no idea about that. can you kindly give me some more info on --ignore and cxswatch.sh?
you have not mentioned anything related to cxswatch.sh here at "Dealing with false-positives in cxs"
viewtopic.php?t=2910
you have not mentioned anything related to cxswatch.sh here at "Dealing with false-positives in cxs"
viewtopic.php?t=2910
Re: Please help me with file ignore
I assume you are using cxswatch. If you want cxswatch to ignore anything, you have to tell it where to find the file with the ignore information. The only way to configure this is to modify the command line in the file /etc/cxs/cxswatch.sh. In the cxs documentation, all of the settings to be used with cxs commands are described, including --ignore.
Edit cxswatch.sh and add "--ignore /etc/cxs/cxs.ignore" to the cxs command line, and then restart cxswatch.
Edit cxswatch.sh and add "--ignore /etc/cxs/cxs.ignore" to the cxs command line, and then restart cxswatch.
Re: Please help me with file ignore
Hello,
i figured it out, i added the thing to the end of the line and it works now.
Thank you for the support.
/usr/sbin/cxs --options -wW --Wstart --allusers --www --smtp --mail root --quarantine /home/quarantine/ --Wmaxchild 3 --Wloglevel 0 --Wsleep 3 --filemax 0 --Wrateignore 300 --ignore /etc/cxs/cxs.ignore
i figured it out, i added the thing to the end of the line and it works now.
Thank you for the support.
/usr/sbin/cxs --options -wW --Wstart --allusers --www --smtp --mail root --quarantine /home/quarantine/ --Wmaxchild 3 --Wloglevel 0 --Wsleep 3 --filemax 0 --Wrateignore 300 --ignore /etc/cxs/cxs.ignore
Re: Please help me with file ignore
Thanks sarah for the additional information.