• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Learning to Null

Funesto

Member
May 11, 2019
40
10
8
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!
 
you need deep understanding of php in order to nulled
altough sometimes it may be encripted and some script need to encoded
 
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...
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock