You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.
Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"
It looks like there is some sort of permission issue. If you have access to this server either by ssh or cpanel or any other way, you can directly edit/replace these files there.I have tried that but the problem is still here...
Worked like Charm and i just Blocked the whole of Russia!
Thanks Buddy!
It looks like there is some sort of permission issue. If you have access to this server either by ssh or cpanel or any other way, you can directly edit/replace these files there.
Thank you. It workedif (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {
- Download the official Wordfence security plugin from: https://en-ca.wordpress.org/plugins/wordfence/
- Upload the plugin to your wordpress but don't activate it
- Next, in your wordpress main dashboard head to Plugins -> Plugin Editor
- In the "Select plugin to edit" bar choose Wordfence Security and press Select
- Under the "lib file section" select the wordfenceClass.php file
- Press ctrl+f and paste this:
You should see:
$updateCountries = false;
if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {
$homeurl = wfUtils::wpHomeURL();
$siteurl = wfUtils::wpSiteURL();
Now right under it paste this in:
wfConfig::set('isPaid', 1);
wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);
wfConfig::set('premiumNextRenew', time()+31536000);
So the code should look like this:
$updateCountries = false;
if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {
$homeurl = wfUtils::wpHomeURL();
$siteurl = wfUtils::wpSiteURL();
wfConfig::set('isPaid', 1);
wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);
wfConfig::set('premiumNextRenew', time()+31536000);
7. Save the file, then activate WordFence plugin, you should have unlimited premium license! It says "renew in 365 days" but you will notice that this number doesn't go down
If you can't find the code, you can export the file, edit using notepad++ and then reupload or do something similar. You can also use FTP application to do this method.
Like for more "exploits" like this!
Hi, this is great, but what happens when the lugin needs updating would I have to keep adding this code?
Thanks
with the new Version 7.4.7. this method does not work.
the owner of the plugin has to change the code and is not found.
someone can help us activate this version
and thank you
Deactivated the plugin and it worked. thumbs up!Oops, I already activated the plugin. Any way to fix it now?
We get it, advertisements are annoying!
However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.
If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.