1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

How to Null and Activate Premium WordPress Themes and Plugins [Valuable info]

Discussion in 'Blogging' started by Festinger, Mar 28, 2019.

  1. dreadpixel

    dreadpixel Jr. VIP Jr. VIP

    Joined:
    Jul 27, 2010
    Messages:
    1,910
    Likes Received:
    811
    Occupation:
    bot developer, automation, growth hacking
    Location:
    Land of Oz
    Home Page:
    Wow man, thank you a lot mate!
    This gave me pretty good insight on how not to code a licensing system :p
     
    • Thanks Thanks x 2
  2. LalitsdMittal

    LalitsdMittal Junior Member

    Joined:
    Feb 12, 2018
    Messages:
    181
    Likes Received:
    54
    Gender:
    Male
    Occupation:
    AdSense Expart
    Location:
    Earth
    Home Page:
    Well, Thank you so much in Advance if it works :D
     
  3. John_net

    John_net Newbie

    Joined:
    Jun 27, 2018
    Messages:
    16
    Likes Received:
    3
    Gender:
    Male
    Great stuff I'm Following
     
  4. majdi107

    majdi107 Jr. VIP Jr. VIP

    Joined:
    Aug 28, 2014
    Messages:
    2,938
    Likes Received:
    756
    Occupation:
    BHW
    Location:
    BHW
    Home Page:
    That's easy method
    Thanks for the share
    waiting for more plugins and themes
     
  5. Goodi OG

    Goodi OG Regular Member

    Joined:
    May 29, 2019
    Messages:
    321
    Likes Received:
    87
    Gender:
    Male
    Occupation:
    Crawler
    Location:
    Paradise
    Home Page:
    following man. The yoast worked for me
     
  6. Festinger

    Festinger Jr. VIP Jr. VIP

    Joined:
    Feb 27, 2014
    Messages:
    4,318
    Likes Received:
    5,011
    Occupation:
    Download Premium WordPress Themes and Plugins @
    Home Page:
    Tagging @zilog357 :)

    You're welcome guys! :D
     
  7. zilog357

    zilog357 Regular Member

    Joined:
    Nov 27, 2008
    Messages:
    340
    Likes Received:
    443
    Gender:
    Male
    Location:
    USA
     
  8. jasmine.davis.123

    jasmine.davis.123 Regular Member

    Joined:
    Feb 11, 2013
    Messages:
    291
    Likes Received:
    47
    Hey @Festinger , Great stuff mate, You you have any idea how to null AAWP - Amazon Affiliate WordPress Plugin?
     
  9. Emerdan

    Emerdan Newbie

    Joined:
    May 18, 2017
    Messages:
    17
    Likes Received:
    6
    Gender:
    Male
    Occupation:
    Kung Fu !
    Location:
    The Jade Palace in the Valley of Peace
    Thanks a lot ! You make life much easier and less frustrating mate
     
  10. Ricx

    Ricx Newbie

    Joined:
    Apr 7, 2019
    Messages:
    6
    Likes Received:
    8
    Gender:
    Male
    Great thread, just a bit of insight for those who may be attempting to do it themself.

    To null a plugin/theme/program what you need to do is reverse engineer the licensing mechanism. So as you've seen in the first post, Fest first locates where yoast does its check to see if you are a premium user or not.

    In this case,

    PHP:
    $license_status $this->get_option'status' );
    return 
    trim$license_status );
    That line checks to see if the license status is valid or invalid, the returns the result. The returned result then determines what you can do or can't do.

    Simply ensuring that you return 'valid' all the time will allow you to have access to premium features as the coding now ensures that your license status is 'valid'.


    For plugins which require update or interact with a server, this might be a bit harder. Some plugins will require you have a paid version to see what information a server will respond with so you can create a small emulation.

    Example from Fest once again

    PHP:
    $raw_response wp_remote_get‘https://api.envato.com/v3/market/author/sale?code=’ . $tf_purchase_code, $prepare_request );
    if ( ! is_wp_error$raw_response ) ) {
    $response wp_remote_retrieve_body$raw_response );
    $response json_decode$responsetrue );
    }
    Rehub checks with envato to see if you have a valid purchase code. If you do, envato will prepare an appropriate response with license details allowing you to use the plugin. This information is stored in the variable "$response".

    To null this, you would need to actually have a valid license(to make it easy). You would have to intercept the response that envato sends when the plugin makes that http request. Easiest way to see the response? Open chrome, open developer mode, go to the networks tab, the navigate to the url with a valid purchase code. You would then get the json response indicating what a valid license look like.

    In the plugin, you would place code to simply emulate that response. As is seen here:

    PHP:
    $response = array();
    $response['buyer'] = $tf_username;
    $response['supported_until'] = date('Y-m-d',strtotime(date("Y-m-d"mktime()) . " + 365 day"));
    Regarding updates and information directly from servers, you cannot circumvent this, as it requires you to ask the person for the item. Meaning, if we have a secret club which has a special book that we add 1 page to each week, you may be able to steal a book but if you ever want the new page, you'll have to come directly to the secret club to ask for the update. We will notice that your book is a stolen copy and we will deny you the new update.

    Hope it helps someone.. Anyone :)
     
    • Thanks Thanks x 3
  11. zilog357

    zilog357 Regular Member

    Joined:
    Nov 27, 2008
    Messages:
    340
    Likes Received:
    443
    Gender:
    Male
    Location:
    USA
    Hello @Ricx

    Nice write up.

    Only this part:

    "To null this, you would need to actually have a valid license(to make it easy). You would have to intercept the response that envato sends when the plugin makes that http request. Easiest way to see the response? Open chrome, open developer mode, go to the networks tab, the navigate to the url with a valid purchase code. You would then get the json response indicating what a valid license look like."

    Unfortunately, the author's server will not send the format you are looking for unless you send a valid license in your request. So this part will be good if you have a valid license and use the format for maybe other products from the same seller because every product's JSON response is different even among products of the same seller.

    But you are right, instead of that paragraph, if you keep reverse engineering the code, you will see further in the script what responses the script expects without the need of monitoring the response from the seller's server.

    Welcome to the group. Good to know that there is someone else that may help to reply request of nulling scripts. Don't go away bro.
     
    • Thanks Thanks x 2
  12. zilog357

    zilog357 Regular Member

    Joined:
    Nov 27, 2008
    Messages:
    340
    Likes Received:
    443
    Gender:
    Male
    Location:
    USA
    My bad. You already stated "valid license" at the beginning of the paragraph. You see? Not even much time to read, lol
     
  13. Codenpy

    Codenpy Newbie

    Joined:
    Jun 6, 2019
    Messages:
    40
    Likes Received:
    12
    Gender:
    Male
    Location:
    404 Not Found
    Its need to do every time. When you click for update, all code will be replaced with new updated code
     
  14. dogstyle007

    dogstyle007 Junior Member

    Joined:
    Jul 31, 2013
    Messages:
    189
    Likes Received:
    34
    Occupation:
    Web developer
    Great share, will be following thread
     
  15. zilog357

    zilog357 Regular Member

    Joined:
    Nov 27, 2008
    Messages:
    340
    Likes Received:
    443
    Gender:
    Male
    Location:
    USA
    Yes, it must be done for every update. I don't know Yoast, but most plugins will not update if there is no valid license, so trying to update will simply not do anything in most cases, but will give an error message about unable to update and your plugin will be safe.

    In the very few plugins that update without a valid license, yes, your activation will be taken off when the new files replace the old "activated" files.

    That is why I like to take off any call home or requests for updates or verification of current version. Nothing that calls the author's server is good to leave like that. It will also save resources and server's processing power, leaving more performance for site speed. I mean, probably you will save only a few milliseconds without those functions, right? But when it comes to my case, using 40+ plugins, the difference really adds up, lol.
     
  16. Festinger

    Festinger Jr. VIP Jr. VIP

    Joined:
    Feb 27, 2014
    Messages:
    4,318
    Likes Received:
    5,011
    Occupation:
    Download Premium WordPress Themes and Plugins @
    Home Page:
    Sorry, I am not allowed to answer questions about the WordPress Vault in this thread. :)

    I will check it when I am back home (after the 14th of June). :)

    You're welcome man.

    Thanks a lot for your contribution and insights! Keep it going :D
     
  17. juju38

    juju38 Newbie

    Joined:
    Jan 31, 2019
    Messages:
    15
    Likes Received:
    1
    Hi @zilog357 hope you're doing well could u please help with this "theia post slider for Wordpress plugin" link https://wecodepixels.com/ sorry can't add links
     
  18. zilog357

    zilog357 Regular Member

    Joined:
    Nov 27, 2008
    Messages:
    340
    Likes Received:
    443
    Gender:
    Male
    Location:
    USA
    I can get that one (latest v1.15.1). I will check later today if it needs to be nulled and will post it in a new thread and will let you know.
     
    • Thanks Thanks x 1
  19. goodnerda

    goodnerda Jr. VIP Jr. VIP

    Joined:
    Oct 31, 2018
    Messages:
    139
    Likes Received:
    28
    Gender:
    Male
    I'M THRILLED. THANKS
     
  20. juju38

    juju38 Newbie

    Joined:
    Jan 31, 2019
    Messages:
    15
    Likes Received:
    1
    thanks