How to quarantine all .pl files?

6 posts Page 1 of 1
Sergio
Junior Member
Posts: 1381
Joined: 12 Dec 2006, 14:56


Hi Jhonathan,
I want to quarantine all the files with extension .PL on my server, what I need to accomplish this in CSX.XTRA file?

I am trying:
file:.pl
that will be enough?

Regards,

Sergio
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13


There's no functionality that would do that in cxs. I'll put the idea on the dev list.
Sergio
Junior Member
Posts: 1381
Joined: 12 Dec 2006, 14:56


Thank you Chirpy.
ForumAdmin
Moderator
Posts: 1450
Joined: 01 Oct 2008, 09:24


This has now been added to v2.26, so the following should work in a --xtra [file]:

regfile:.*\.pl
Sergio
Junior Member
Posts: 1381
Joined: 12 Dec 2006, 14:56


Wonderful, thank you!
Nwind Support
Junior Member
Posts: 2
Joined: 21 Jan 2015, 03:47


Can this be limited to certain directories?
example:
regfile:quarantine:/home/host1/public_html/images/*\.pl

also is the .pl case sensitive?

Thank you,
6 posts Page 1 of 1