today, i feel much better about the ctracker, but i still have some problems, so i am going to post what i do step by step as i understand things, and if i am wrong in the way i am doing things, pleas let me know, if i am right in the way i am doing it, then maybe someone can help me, i would appreciate it.
i go to my forum management and click to create a new forum, and i get this
SECURITY ALERT ÂÂÂ » ÂÂÂ » ÂÂÂ » ÂÂÂ »
CBACK CrackerTracker has detected a potential attack on this site with a worm or exploit .script so the Security System stopped the .script.
If you can see this page after including a new MOD into your board or after clicking on a link please contact the Board Administrator with this error message and a de.scription what you have done before you could see this page, that the Admin has the possibility to fix the problem.
1. i got to ctracker/engines/ct_security.php and open it and do this edit
- Code: Select all
find define('CT_DEBUG_MODE', false); and replace it with: define('CT_DEBUG_MODE', true);
and upload the file to my server.
2.i go back to my forum management, try to create a forum and i get this
Warning: No ending delimiter '#' found in /home/httpd/vhosts/graphicsplayhouse.com/httpdocs/forum/ctracker/engines/ct_security.php on line 357
SECURITY ALERT ÂÂÂ » ÂÂÂ » ÂÂÂ » ÂÂÂ »
CBACK CrackerTracker has detected a potential attack on this site with a worm or exploit .script so the Security System stopped the .script.
If you can see this page after including a new MOD into your board or after clicking on a link please contact the Board Administrator with this error message and a de.scription what you have done before you could see this page, that the Admin has the possibility to fix the problem.
3. i go to my log file in ctracker and it tells me to do this
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script-Filename: /forum/admin/admin_forums_extend.php
----------------
Request-Method: POST
Matching rule: and
In variable: desc
Possible solution:
------------------
#
#-----[ OPEN ]------------------------------------------
#
/forum/admin/admin_forums_extend.php
#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);
#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('desc');
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script-Filename: /forum/admin/admin_forums_extend.php
----------------
Request-Method: POST
Matching rule: and
In variable: desc
Possible solution:
------------------
#
#-----[ OPEN ]------------------------------------------
#
/forum/admin/admin_forums_extend.php
#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);
#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('desc');
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script-Filename: /forum/admin/admin_forums_extend.php
----------------
Request-Method: POST
Matching rule: and
In variable: desc
Possible solution:
------------------
#
#-----[ OPEN ]------------------------------------------
#
/forum/admin/admin_forums_extend.php
#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);
#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('desc');
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Script-Filename: /forum/admin/admin_forums_extend.php
----------------
Request-Method: POST
Matching rule: and
In variable: desc
Possible solution:
------------------
#
#-----[ OPEN ]------------------------------------------
#
/forum/admin/admin_forums_extend.php
#
#-----[ FIND ]------------------------------------------
#
define('IN_PHPBB', 1);
#
#-----[ AFTER, ADD ]------------------------------------------
#
define('CT_SECLEVEL', 'MEDIUM');
$ct_ignorepvar = array('desc');
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
now correct me if i am wrong, but there are several edits there, and they all seem to be the same. i edit the file and uploand it. i upload it to both admin and admin/modules.
4. i then change the ctracker/engines/ct_security.php from true back to false. and upload it back to the server.
5. i then try to add a forum and get the same error i got in the beginning.
now i know the KB article says
If a php file requires "define('CT_SECLEVEL','MEDIUM');" code to be inserted in a file that has already been edited with CrackerTracker code, then you may need to edit the insert as follows:
This is how NOT to do it: (this is only an example)
define('CT_SECLEVEL','MEDIUM');
$ct_ignorepvar = array('message')
define('CT_SECLEVEL','MEDIUM');
$ct_ignorepvar = array('welcome_text')
This code would be correct:
define('CT_SECLEVEL','MEDIUM');
$ct_ignorepvar = array('message','welcome_text')
my question is, even though i understand the mechanics of what is going on when i do all of this, i am not a coder, so how do i decide what $ct_ignorepvar = array to put?
EDIT:
i just tried to delete the shadow attachments in the acp and got the same error about the ctracker/engines/ct_security.php on line 357
Warning: No ending delimiter '#' found in /home/httpd/vhosts/graphicsplayhouse.com/httpdocs/forum/ctracker/engines/ct_security.php on line 357
SECURITY ALERT ÂÂÂ » ÂÂÂ » ÂÂÂ » ÂÂÂ »
CBACK CrackerTracker has detected a potential attack on this site with a worm or exploit .script so the Security System stopped the .script.
If you can see this page after including a new MOD into your board or after clicking on a link please contact the Board Administrator with this error message and a de.scription what you have done before you could see this page, that the Admin has the possibility to fix the problem.
so i am guessing i am needing to edit that line with something?
No one can make you feel inferior without your consent.
~Eleanor Roosevelt