How to quarantine all .pl files?

Post Reply
Sergio
Junior Member
Posts: 1685
Joined: 12 Dec 2006, 14:56

How to quarantine all .pl files?

Post by Sergio »

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

Re: How to quarantine all .pl files?

Post by chirpy »

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

Re: How to quarantine all .pl files?

Post by Sergio »

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

Re: How to quarantine all .pl files?

Post by ForumAdmin »

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

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

Re: How to quarantine all .pl files?

Post by Sergio »

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

Re: How to quarantine all .pl files?

Post by Nwind Support »

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

also is the .pl case sensitive?

Thank you,
Post Reply