Jump to content

Enable Script/Bot Flood Control Using Database Only


bigpedro

Recommended Posts

No, as one does not FTP into a database. You should have access to the site's admin control panel, or at least access to a database manager such as phpMyAdmin, to access the MySQL database directly.

Please determine if you have access to the database. If so, open the _config table and find the row with 'config' in the name column. We will be editing the array value in that row.

Scan through that mess looking for:

s:16:"Zmxvb2RDb250cm9s";

(this is base64 for 'floodControl'). Immediately after that you will find this:

s:4:"MA=="; (base64 for '0')

You need to change the "MA==" to "MQ==" (base64 for '1').

There is a "ReCaptcha" mode. If you want to switch the store to that mode, instead of

s:4:"MQ==";

use

s:12:"cmVjYXB0Y2hh";

On the other hand, you can neutralize the TaF feature. In the file /includes/content/tellafriend.inc.php, change:

if(!defined('CC_INI_SET')){ die("Access Denied"); }

to

die("Access Denied");

You will also want to remove the link for the TaF on the viewProd page of your skin(s).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...