Best Blackhat Forum

Full Version: [Guide] How to unlock unlimited premium Wordfence Security license on any version
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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:
if (!WFWAF_SUBDIRECTORY_INSTALL and& $waf = wfWAF::getInstance()) {

You should see:

$updateCountries = false;
if (!WFWAF_SUBDIRECTORY_INSTALL and& $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 and& $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.
It worked , thank you +5 Rep
Max repped. Thanks
Worked for me too
Thanks Bungle11 - repped :)
Tested and working,5+++
thanks Cool
It's surely helpful!
Thank you! reps+
superb great. Thanks for sharing
I dont use wordfence any longer but nice share
Pages: 1 2 3 4
Reference URL's