Learning to Null

Funesto

New member
May 11, 2019
29
8
3
Hello!
I downloaded this free plug-in but I guess that there is inside also the premium version. Now I am curious .. how would you begin trying to null this?

I have this piece of code
Code:
 if ( !isset( $gt_fs ) ) {
                // Activate multisite network integration.
                if ( !defined( 'WP_FS__PRODUCT_594_MULTISITE' ) ) {
                    define( 'WP_FS__PRODUCT_594_MULTISITE', true );
                }
                require_once dirname( __FILE__ ) . '/vendor/freemius/wordpress-sdk/start.php';
                $gt_fs = fs_dynamic_init( array(
                    'id'             => '594',
                    'slug'           => 'glossary-by-codeat',
                    'type'           => 'plugin',
                    'public_key'     => 'pk_229177eead299a4c9212f5837675e',
                    'is_premium'     => true,
                    'has_addons'     => true,
                    'has_paid_plans' => false,
                    'menu'           => array(
                    'slug'    => 'glossary',
                    'contact' => false,
                    'parent'  => array(
                    'slug' => 'edit.php?post_type=glossary',
                ),
                ),
                    'is_live'        => true,
                ) );
                
                if ( $gt_fs->is_premium() ) {
                    add_action( 'init', static function () {
                        load_plugin_textdomain( GT_TEXTDOMAIN, false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
                    } );
                    $gt_fs->add_filter( 'support_forum_url', static function ( $wp_org_support_forum_url ) {
                        //phpcs:ignore
                        return 'http://support.codeat.co/';
                    } );
                }
            
            }

and as you can see I just turned "is premium" to true but of course is not enough! Do that "Public Key" has a role in this?
Which are steps to try to null something?

Thanks!
 
May 31, 2021
44
6
8
you need deep understanding of php in order to nulled
altough sometimes it may be encripted and some script need to encoded
 

whitetigerdk

Active member
Oct 24, 2018
293
67
43
Try changing
if ( $gt_fs->is_premium() ) {
to
if ( !$gt_fs->is_premium() ) {

And let us know what happens..
Normally it would be something like:
If premium then run scenario 1.. else run scenario 2
Change to: if not premium run scenario 1...
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu