• 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"

How can i nulled this code?

nullid

Active member
Trusted Uploader
Dec 18, 2019
234
91
28
Somewhere from ASIA
shoppy.gg
Hello pro/master, how can i nulled this code? im trying to learn.
@Babak @freenulled @NullMaster


PHP:
<?php
/**
 * Goodluck license classes
 * @package Goodluck/inc
 * @author Goodluck
 */

class Goodluck_License {

    private $server = 'https://Goodluck.id/';

    private $source = '';

    private $credential = array(
        'code' => '',
        'email' => '',
        'pass' => '',
        'check' => false,
    );

    private $data = array(
        'status' => 'INACTIVE',
        'message' => '',
        'domain' => '',
        'code' => '',
    );

    /**
     * construction
     *
     * @since    1.0.0
     */
    public function __construct() {

        $data = get_option('Goodluck_license'); return false;
        if( $data && is_array($data)){
            $this->data = wp_parse_args($data, $this->data);
        }

    }

    /**
     * set license credential
     * @param [type] $code [description]
     */
    public function set_credential($credential){
        $credential = (array) $credential;
        $cred['code']    = isset($credential['code']) ? sanitize_text_field($credential['code']) : '';
        $cred['email']   = isset($credential['email']) ? sanitize_email($credential['email']) : '';
        $cred['pass']    = isset($credential['pass']) ? sanitize_text_field($credential['pass']) : '';
        $cred['request'] = isset($credential['request']) ? $credential['request'] : 'register';
        $this->credential = wp_parse_args($cred, $this->credential);
        return $this;
    }

    /**
     * connect to server
     * @param  string $slug [description]
     * @return [type]       [description]
     */
    public function connect(){

        $vars = array(
            'website' => site_url(),
            'time' => strtotime('now'),
        );

        if( $this->credential['code'] ){

            if( $this->credential['request'] == 'check' ){
                $this->server = $this->server .'/sejoli-validate-license';

                $vars['license'] = $this->credential['code'];
                $vars['host'] = preg_replace("(^https?://)", "", site_url() );

                $curl = wp_remote_get(add_query_arg($vars, $this->server));

            }else if( $this->credential['request'] == 'delete' ){
                $this->server = $this->server .'/sejoli-delete-license';

                $curl = wp_remote_post(
                    add_query_arg($vars, $this->server),
                    array(
                        'body' => array(
                            'string'     => preg_replace("(^https?://)", "", site_url() ),
                            'license'    => $this->credential['code'],
                            'user_email' => $this->credential['email'],
                            'user_pass'  => $this->credential['pass'],
                        ),
                        'timeout' => 120,
                    )
                );
            }else{
                $this->server = $this->server .'/sejoli-license';

                $curl = wp_remote_post(
                    add_query_arg($vars, $this->server),
                    array(
                        'body' => array(
                            'string'     => preg_replace("(^https?://)", "", site_url() ),
                            'license'    => $this->credential['code'],
                            'user_email' => $this->credential['email'],
                            'user_pass'  => $this->credential['pass'],
                        ),
                        'timeout' => 120,
                    )
                );
            }

            if( $this->credential['request'] == 'delete' ){

                if( is_wp_error($curl) ){
                    $this->data['status'] = 'UNCONNECTED';
                    $this->data['message'] = $curl->get_error_message();
                }else{
                    $data = json_decode(wp_remote_retrieve_body($curl), true);

                    $this->data['status'] = $data['valid'] ? 'DELETED' : 'FAILED';
                    $this->data['message'] = isset($data['message']) ? sanitize_text_field($data['message']) : '';
                    if( $this->data['status'] == 'DELETED' ){
                        delete_option('Goodluck_license');
                        wp_cache_delete('Goodluck_license', 'options' );
                        delete_transient('d64866e326d996Goodlucker');
                        $this->data['code'] = '';
                    }
                }

            }else{

                if( is_wp_error($curl) ){
                    $this->data['status'] = 'INACTIVE';
                    $this->data['message'] = $curl->get_error_message();
                    set_transient('d64866e326d996Goodlucker',$this->data,1 * DAY_IN_SECONDS);
                }else{
                    $data = json_decode(wp_remote_retrieve_body($curl), true);

                    $this->data['status'] = $data['valid'] ? 'ACTIVE' : 'INACTIVE';
                    $this->data['message'] = isset($data['messages'][0]) ? sanitize_text_field($data['messages'][0]) : '';
                    $this->data['domain'] = preg_replace("(^https?://)", "", site_url() );
                    delete_option('Goodluck_license');
                    wp_cache_delete('Goodluck_license', 'options' );
                    if( $this->data['status'] == 'ACTIVE' ){
                        $this->data['code'] = $this->credential['code'];
                        update_option('Goodluck_license', $this->data);
                        set_transient('d64866e326d996Goodlucker',$this->data,10 * DAY_IN_SECONDS);
                    }
                }
            }
        }
    }

    /**
     * return license data
     * @return [type] [description]
     */
    public function data(){

        return $this->data;
    }

}
 
how to do it? can you help me? @Danz

need full source,
The easy way, Track changes! need working code to know what changes the activation does,
The medium way, MITM local server which replicate the easy way above.
The hard way, better testing on local server through php coding.

Skilled nuller can relate to previous experience since most licensing are same and do a good guess though.

Those are the ways for all nulling
 
Hello pro/master, how can i nulled this code? im trying to learn.
@Babak @freenulled @NullMaster


PHP:
<?php
/**
* Goodluck license classes
* @package Goodluck/inc
* @author Goodluck
*/

class Goodluck_License {

    private $server = 'https://Goodluck.id/';

    private $source = '';

    private $credential = array(
        'code' => '',
        'email' => '',
        'pass' => '',
        'check' => false,
    );

    private $data = array(
        'status' => 'INACTIVE',
        'message' => '',
        'domain' => '',
        'code' => '',
    );

    /**
     * construction
     *
     * @since    1.0.0
     */
    public function __construct() {

        $data = get_option('Goodluck_license'); return false;
        if( $data && is_array($data)){
            $this->data = wp_parse_args($data, $this->data);
        }

    }

    /**
     * set license credential
     * @param [type] $code [description]
     */
    public function set_credential($credential){
        $credential = (array) $credential;
        $cred['code']    = isset($credential['code']) ? sanitize_text_field($credential['code']) : '';
        $cred['email']   = isset($credential['email']) ? sanitize_email($credential['email']) : '';
        $cred['pass']    = isset($credential['pass']) ? sanitize_text_field($credential['pass']) : '';
        $cred['request'] = isset($credential['request']) ? $credential['request'] : 'register';
        $this->credential = wp_parse_args($cred, $this->credential);
        return $this;
    }

    /**
     * connect to server
     * @param  string $slug [description]
     * @return [type]       [description]
     */
    public function connect(){

        $vars = array(
            'website' => site_url(),
            'time' => strtotime('now'),
        );

        if( $this->credential['code'] ){

            if( $this->credential['request'] == 'check' ){
                $this->server = $this->server .'/sejoli-validate-license';

                $vars['license'] = $this->credential['code'];
                $vars['host'] = preg_replace("(^https?://)", "", site_url() );

                $curl = wp_remote_get(add_query_arg($vars, $this->server));

            }else if( $this->credential['request'] == 'delete' ){
                $this->server = $this->server .'/sejoli-delete-license';

                $curl = wp_remote_post(
                    add_query_arg($vars, $this->server),
                    array(
                        'body' => array(
                            'string'     => preg_replace("(^https?://)", "", site_url() ),
                            'license'    => $this->credential['code'],
                            'user_email' => $this->credential['email'],
                            'user_pass'  => $this->credential['pass'],
                        ),
                        'timeout' => 120,
                    )
                );
            }else{
                $this->server = $this->server .'/sejoli-license';

                $curl = wp_remote_post(
                    add_query_arg($vars, $this->server),
                    array(
                        'body' => array(
                            'string'     => preg_replace("(^https?://)", "", site_url() ),
                            'license'    => $this->credential['code'],
                            'user_email' => $this->credential['email'],
                            'user_pass'  => $this->credential['pass'],
                        ),
                        'timeout' => 120,
                    )
                );
            }

            if( $this->credential['request'] == 'delete' ){

                if( is_wp_error($curl) ){
                    $this->data['status'] = 'UNCONNECTED';
                    $this->data['message'] = $curl->get_error_message();
                }else{
                    $data = json_decode(wp_remote_retrieve_body($curl), true);

                    $this->data['status'] = $data['valid'] ? 'DELETED' : 'FAILED';
                    $this->data['message'] = isset($data['message']) ? sanitize_text_field($data['message']) : '';
                    if( $this->data['status'] == 'DELETED' ){
                        delete_option('Goodluck_license');
                        wp_cache_delete('Goodluck_license', 'options' );
                        delete_transient('d64866e326d996Goodlucker');
                        $this->data['code'] = '';
                    }
                }

            }else{

                if( is_wp_error($curl) ){
                    $this->data['status'] = 'INACTIVE';
                    $this->data['message'] = $curl->get_error_message();
                    set_transient('d64866e326d996Goodlucker',$this->data,1 * DAY_IN_SECONDS);
                }else{
                    $data = json_decode(wp_remote_retrieve_body($curl), true);

                    $this->data['status'] = $data['valid'] ? 'ACTIVE' : 'INACTIVE';
                    $this->data['message'] = isset($data['messages'][0]) ? sanitize_text_field($data['messages'][0]) : '';
                    $this->data['domain'] = preg_replace("(^https?://)", "", site_url() );
                    delete_option('Goodluck_license');
                    wp_cache_delete('Goodluck_license', 'options' );
                    if( $this->data['status'] == 'ACTIVE' ){
                        $this->data['code'] = $this->credential['code'];
                        update_option('Goodluck_license', $this->data);
                        set_transient('d64866e326d996Goodlucker',$this->data,10 * DAY_IN_SECONDS);
                    }
                }
            }
        }
    }

    /**
     * return license data
     * @return [type] [description]
     */
    public function data(){

        return $this->data;
    }

}
Please share full code, I will help you.
Kirim aja kesini om, nanti dibantu kok
 
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