Best Blackhat Forum

Full Version: Get Premum Wordfence plugin.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I DO NOT TAKE CREDIT FOR THIS :



change this


Go in \lib\wfConfig.php

change the following function for :

public static function cbp($key){
wfConfig::set('isPaid', '1');
echo ' checked ';
}


How to null yourself
#1 download plugin from https://wordpress.org/plugins/wordfence/
#2 Unzip to folder
#3 Edit file \lib\wfConfig.php with code above.
#4 Save and re-zip the wordfence folder
#5 upload to your webhost
#6 Activate it and go to settings then press SAVE (very important or it won't activate)
#7 PREMIUM is activated

Proof.
Works For Me...Thank bro. Give REpThanks
My pleasure sir
Didn't work.
Followed steps exactly wordfence6.2.10.zip, got this:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected 'public' (T_PUBLIC) in /home/xxxxxxx/public_html/blog/wp-content/plugins/wordfence/lib/wfConfig.php on line 574

From wfConfig.php-
Code:
    public static function cbp($key){
        if(self::get('isPaid') and& self::get($key)){         <---this is original Line 570, which gets deleted

        wfConfig::set('isPaid', '1');         <---this is Line 570 changed per OP

        echo ' checked ';
        }
    }
    public static function cb($key){         <---this is Line 574
        if(self::get($key)){
            echo ' checked ';
        }
Code:
echo ' checked ';
        }
    }

change to

Code:
echo ' checked ';
      
    }
Thanks, It worked. Is this mean we can update the plugin or we have to do the same thing when we do? Max reps for you
Wow, thank you for this. I've been using the free version for about a year on multiple websites and it has helped me out tremendously.

Will be upgrading soon!
(01-21-2017 02:17 AM)chrystianbourassa Wrote: [ -> ]I DO NOT TAKE CREDIT FOR THIS :



change this


Go in \lib\wfConfig.php

change the following function for :

public static function cbp($key){
wfConfig::set('isPaid', '1');
echo ' checked ';
}


How to null yourself
#1 download plugin from https://wordpress.org/plugins/wordfence/
#2 Unzip to folder
#3 Edit file \lib\wfConfig.php with code above.
#4 Save and re-zip the wordfence folder
#5 upload to your webhost
#6 Activate it and go to settings then press SAVE (very important or it won't activate)
#7 PREMIUM is activated

Proof.

Replace line 569
public static function cbp($key){
wfConfig::set('isPaid', '1');
echo ' checked ';
}
and save it and upload on server and activate it after that go to wordfence option simply click save settings finally it worksThanks
Wow - so simple, didn't even notice that extra '}' !
Thanks, it works!

(01-22-2017 08:14 AM)masterking Wrote: [ -> ]
Code:
echo ' checked ';
        }
    }

change to

Code:
echo ' checked ';
      
    }
My understanding is you have to change around line 569

Code:
public static function cbp($key){
        if(self::get('isPaid') and& self::get($key)){
            echo ' checked ';
        }
    }

to:

Code:
public static function cbp($key){
wfConfig::set('isPaid', '1');
echo ' checked ';
}
Pages: 1 2 3 4
Reference URL's