Search
Search titles only
By:
Search titles only
By:
Home
Shop
Forums
New posts
Search forums
What's new
New posts
New resources
New profile posts
Latest activity
Resources
Latest reviews
Search resources
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Home
Forums
Community
General Discussion
[Guide] How to unlock unlimited premium Wordfence Security license on any version
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="xnfrJohn" data-source="post: 346" data-attributes="member: 3"><p> <ol> <li data-xf-list-type="ol">Download the official Wordfence security plugin from: <a href="https://en-ca.wordpress.org/plugins/wordfence/" target="_blank">https://en-ca.wordpress.org/plugins/wordfence/</a></li> <li data-xf-list-type="ol">Upload the plugin to your wordpress but don't activate it</li> <li data-xf-list-type="ol">Next, in your wordpress main dashboard head to Plugins -> <a href="http://prntscr.com/nssknw" target="_blank">Plugin Editor</a></li> <li data-xf-list-type="ol">In the "Select plugin to edit" bar choose <a href="http://prntscr.com/nssliv" target="_blank">Wordfence Security</a> and press Select</li> <li data-xf-list-type="ol">Under the "<a href="http://prntscr.com/nssmvl" target="_blank">lib file section</a>" select the <a href="http://prntscr.com/nssn6c" target="_blank">wordfenceClass.php file</a></li> <li data-xf-list-type="ol">Press ctrl+f and paste this:</li> </ol><p><strong><em>if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {</em></strong></p><p></p><p>You should see:</p><p></p><p><strong><em>$updateCountries = false;</em></strong></p><p><em><strong>if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {</strong></em></p><p><em><strong>$homeurl = wfUtils::wpHomeURL();</strong></em></p><p><em><strong>$siteurl = wfUtils::wpSiteURL();</strong></em></p><p></p><p></p><p>Now right under it paste this in:</p><p></p><p><strong><em>wfConfig::set('isPaid', 1);</em></strong></p><p><em><strong>wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);</strong></em></p><p><strong><em>wfConfig::set('premiumNextRenew', time()+31536000);</em></strong></p><p></p><p>So the code should look like this:</p><p></p><p><strong><em>$updateCountries = false;</em></strong></p><p><em><strong>if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {</strong></em></p><p><em><strong>$homeurl = wfUtils::wpHomeURL();</strong></em></p><p><em><strong>$siteurl = wfUtils::wpSiteURL();</strong></em></p><p><em><strong></strong></em></p><p><em><strong><em>wfConfig::set('isPaid', 1);</em></strong></em></p><p><em><em><strong>wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);</strong></em></em></p><p><strong><em>wfConfig::set('premiumNextRenew', time()+31536000);</em></strong></p><p></p><p>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 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>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.</p><p></p><p><strong>Like for more "exploits" like this!</strong></p></blockquote><p></p>
[QUOTE="xnfrJohn, post: 346, member: 3"] [LIST=1] [*]Download the official Wordfence security plugin from: [URL]https://en-ca.wordpress.org/plugins/wordfence/[/URL] [*]Upload the plugin to your wordpress but don't activate it [*]Next, in your wordpress main dashboard head to Plugins -> [URL='http://prntscr.com/nssknw']Plugin Editor[/URL] [*]In the "Select plugin to edit" bar choose [URL='http://prntscr.com/nssliv']Wordfence Security[/URL] and press Select [*]Under the "[URL='http://prntscr.com/nssmvl']lib file section[/URL]" select the [URL='http://prntscr.com/nssn6c']wordfenceClass.php file[/URL] [*]Press ctrl+f and paste this: [/LIST] [B][I]if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) {[/I][/B] You should see: [B][I]$updateCountries = false;[/I][/B] [I][B]if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) { $homeurl = wfUtils::wpHomeURL(); $siteurl = wfUtils::wpSiteURL();[/B][/I] Now right under it paste this in: [B][I]wfConfig::set('isPaid', 1);[/I][/B] [I][B]wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);[/B][/I] [B][I]wfConfig::set('premiumNextRenew', time()+31536000);[/I][/B] So the code should look like this: [B][I]$updateCountries = false;[/I][/B] [I][B]if (!WFWAF_SUBDIRECTORY_INSTALL && $waf = wfWAF::getInstance()) { $homeurl = wfUtils::wpHomeURL(); $siteurl = wfUtils::wpSiteURL(); [I]wfConfig::set('isPaid', 1);[/I][/B] [I][B]wfConfig::set('keyType', wfAPI::KEY_TYPE_PAID_CURRENT);[/B][/I][/I] [B][I]wfConfig::set('premiumNextRenew', time()+31536000);[/I][/B] 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. [B]Like for more "exploits" like this![/B] [/QUOTE]
Verification
Post reply
Home
Forums
Community
General Discussion
[Guide] How to unlock unlimited premium Wordfence Security license on any version
Top
Bottom