admin
Karma: 98
|
Re:My Remository keeps getting hacked like this... - 2006/08/11 18:50
Sorry, there is a mistake in remository.admin.php which has left it vulnerable. You should either download and install Remository 3.26 (which fixes the problem) or edit the file.
To edit remository.admin.php look at lines 16 to 19, and swap the code on lines 16 and 17 with the code on line 19. The result should look like:
| Code: | // Don't allow direct linking
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
require_once ($mosConfig_absolute_path.'/components/com_remository/com_remository_constants.php');
|
That will stop the problem.
Martin Brampton aka Counterpoint http://aliro.org http://black-sheep-research.com |