Page 1 of 1

Photo Album and CrackerTracker

PostPosted: Mon Feb 25, 2008 8:56 am
Author: meijin
OK...so in trying to add another album to my install, I get one of the CrackerTrack false positives. Here is what the log file tells me to do as per the KB article:

#
#-----[ OPEN ]------------------------------------------
#
admin_album_cat.php

#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);

#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('submit','cat_desc');

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM


My first problem is with the "define('IN_PHPBB', 1);" line. That does not exist in the file. There is a line that says "define("IN_PHPBB", true);". Can I assume that these two statements are, essentially the same?

Anyway, the entire block that is there looks like this:
define('IN_PHPBB', true);
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('submit','addcategory');


I have tried adding the additional statements directly after the "PHPBB, true" statement and it does not work.

I have tried adding the additional statements at the end of the code block directly above and it does not work.

I have tried changing the "true" to a "1" as CrackerTracker has it and that does not work. So, I am banging my head on this one. Can anyone help me to figure out what the problem is here?

Thanks!

Michael

Re: Photo Album and CrackerTracker

PostPosted: Mon Feb 25, 2008 9:11 am
Author: Helter
try this
Code: Select all
 define('IN_PHPBB', true);define('CT_SECLEVEL', 'LOW');$ct_ignorepvar = array('submit','addcategory');

Re: Photo Album and CrackerTracker

PostPosted: Mon Feb 25, 2008 10:13 am
Author: meijin
"HelterSkelter";p="31768" wrote:try this
Code: Select all
 define('IN_PHPBB', true);define('CT_SECLEVEL', 'LOW');$ct_ignorepvar = array('submit','addcategory');


In doing this, should I remove the existing line:

define('IN_PHPBB', 1);

Thanks!

Re: Photo Album and CrackerTracker

PostPosted: Mon Feb 25, 2008 10:25 am
Author: meijin
Nevermind...removing that original section and adding in yours seems to have done the trick.

Thanks again!

Re: Photo Album and CrackerTracker

PostPosted: Tue Feb 26, 2008 3:43 pm
Author: .QUACK.Major.Pain
I believe 1 and true are the same.