Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

eval(gzinflate(base64_decode('xVpZb9tGEH62fsV2EZQUIFkOghSwdRhGjsKokxix07QIAoIih9LWFMlwlz7a..

Decoded Output download

require_once "C50695091.php";
class Tunifast_M50695091 {
    public $plugin_file=__FILE__;
    public $responseObj;
    public $licenseMessage;
    public $showMessage=false;
    public $slug="tunifast_options";
    function __construct() {
        add_action( 'admin_print_styles', [ $this, 'SetAdminStyle' ] );
        $licenseKey=get_option("Tunifast_lic_Key","");
        $liceEmail=get_option( "Tunifast_lic_email","");
        C50695091::addOnDelete(function(){
           delete_option("Tunifast_lic_Key");
        });
        if(C50695091::CheckWPPlugin($licenseKey,$liceEmail,$this->licenseMessage,$this->responseObj,__FILE__)){
            add_action( 'admin_menu', [$this,'ActiveAdminMenu'],99999);
            add_action( 'admin_post_Tunifast_el_deactivate_license', [ $this, 'action_deactivate_license' ] );
            //$this->licenselMessage=$this->mess;
            
			defined('WPINC') || exit;
			
			define('TUNIFAST_PLUGIN_FILE', __FILE__);
			require_once plugin_dir_path(__FILE__) . 'bootstrap.php';


        }else{
            if(!empty($licenseKey) && !empty($this->licenseMessage)){
               $this->showMessage=true;
            }
            update_option("Tunifast_lic_Key","") || add_option("Tunifast_lic_Key","");
            add_action( 'admin_post_Tunifast_el_activate_license', [ $this, 'action_activate_license' ] );
            add_action( 'admin_menu', [$this,'InactiveMenu']);
        }
    }
    function SetAdminStyle() {
        wp_register_style( "TunifastLic", plugins_url("_lic_style.css",$this->plugin_file),10);
        wp_enqueue_style( "TunifastLic" );
    }
    function ActiveAdminMenu(){
        
	//add_menu_page (  "Tunifast", "Tunifast", "activate_plugins", $this->slug, [$this,"Activated"], "fa fa-star");
	add_submenu_page(  $this->slug, "Tunifast License", "License Info", "activate_plugins",  $this->slug."_license", [$this,"Activated"] );
	
    }
    function InactiveMenu() {
        add_menu_page( "Tunifast", "Tunifast", 'activate_plugins', $this->slug,  [$this,"LicenseForm"], "fa fa-star" );

    }
    function action_activate_license(){
        check_admin_referer( 'el-license' );
        $licenseKey=!empty($_POST['el_license_key'])?$_POST['el_license_key']:"";
        $licenseEmail=!empty($_POST['el_license_email'])?$_POST['el_license_email']:"";
        update_option("Tunifast_lic_Key",$licenseKey) || add_option("Tunifast_lic_Key",$licenseKey);
        update_option("Tunifast_lic_email",$licenseEmail) || add_option("Tunifast_lic_email",$licenseEmail);
        update_option('_site_transient_update_plugins','');
        wp_safe_redirect(admin_url( 'admin.php?page='.$this->slug));
    }
    function action_deactivate_license() {
        check_admin_referer( 'el-license' );
        $message="";
        if(C50695091::RemoveLicenseKey(__FILE__,$message)){
            update_option("Tunifast_lic_Key","") || add_option("Tunifast_lic_Key","");
            update_option('_site_transient_update_plugins','');
        }
        wp_safe_redirect(admin_url( 'admin.php?page='.$this->slug));
    }
    function Activated(){
        ?>
        <form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>">
            <input type="hidden" name="action" value="Tunifast_el_deactivate_license"/>
            <div class="el-license-container">
                <h3 class="el-license-title"><i class="dashicons-before dashicons-star-filled"></i> <?php _e("Tunifast License Info",$this->slug);?> </h3>
                <hr>
                <ul class="el-license-info">
                <li>
                    <div>
                        <span class="el-license-info-title"><?php _e("Status",$this->slug);?></span>

                        <?php if ( $this->responseObj->is_valid ) : ?>
                            <span class="el-license-valid"><?php _e("Valid",$this->slug);?></span>
                        <?php else : ?>
                            <span class="el-license-valid"><?php _e("Invalid",$this->slug);?></span>
                        <?php endif; ?>
                    </div>
                </li>

                <li>
                    <div>
                        <span class="el-license-info-title"><?php _e("License Type",$this->slug);?></span>
                        <?php echo $this->responseObj->license_title; ?>
                    </div>
                </li>

               <li>
                   <div>
                       <span class="el-license-info-title"><?php _e("License Expired on",$this->slug);?></span>
                       <?php echo $this->responseObj->expire_date;
                       if(!empty($this->responseObj->expire_renew_link)){
                           ?>
                           <a target="_blank" class="el-blue-btn" href="<?php echo $this->responseObj->expire_renew_link; ?>">Renew</a>
                           <?php
                       }
                       ?>
                   </div>
               </li>

               <li>
                   <div>
                       <span class="el-license-info-title"><?php _e("Support Expired on",$this->slug);?></span>
                       <?php
                           echo $this->responseObj->support_end;
                        if(!empty($this->responseObj->support_renew_link)){
                            ?>
                               <a target="_blank" class="el-blue-btn" href="<?php echo $this->responseObj->support_renew_link; ?>">Renew</a>
                            <?php
                        }
                       ?>
                   </div>
               </li>
                <li>
                    <div>
                        <span class="el-license-info-title"><?php _e("Your License Key",$this->slug);?></span>
                        <span class="el-license-key"><?php echo esc_attr( substr($this->responseObj->license_key,0,9)."XXXXXXXX-XXXXXXXX".substr($this->responseObj->license_key,-9) ); ?></span>
                    </div>
                </li>
                </ul>
                <div class="el-license-active-btn">
                    <?php wp_nonce_field( 'el-license' ); ?>
                    <?php submit_button('Deactivate'); ?>
                </div>
            </div>
        </form>
    <?php
    }

    function LicenseForm() {
        ?>
    <form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>">
        <input type="hidden" name="action" value="Tunifast_el_activate_license"/>
        <div class="el-license-container">
            <h3 class="el-license-title"><i class="dashicons-before dashicons-star-filled"></i> <?php _e("Tunifast Licensing",$this->slug);?></h3>
            <hr>
            <?php
            if(!empty($this->showMessage) && !empty($this->licenseMessage)){
                ?>
                <div class="notice notice-error is-dismissible">
                    <p><?php echo _e($this->licenseMessage,$this->slug); ?></p>
                </div>
                <?php
            }
            ?>
            <p>tunifast</p>
            <div class="el-license-field">
                <label for="el_license_key"><?php _e("License code",$this->slug);?></label>
                <input type="text" class="regular-text code" name="el_license_key" size="50" placeholder="xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx" required="required">
            </div>
            <div class="el-license-field">
                <label for="el_license_key"><?php _e("Email Address",$this->slug);?></label>
                <?php
                    $purchaseEmail   = get_option( "Tunifast_lic_email", get_bloginfo( 'admin_email' ));
                ?>
                <input type="text" class="regular-text code" name="el_license_email" size="50" value="<?php echo $purchaseEmail; ?>" placeholder="" required="required">
                <div><small><?php _e("We will send update news of this product by this email address, don't worry, we hate spam",$this->slug);?></small></div>
            </div>
            <div class="el-license-active-btn">
                <?php wp_nonce_field( 'el-license' ); ?>
                <?php submit_button('Activate'); ?>
            </div>
        </div>
    </form>
        <?php
    }
}

new Tunifast_M50695091();

Did this file decode correctly?

Original Code

eval(gzinflate(base64_decode('xVpZb9tGEH62fsV2EZQUIFkOghSwdRhGjsKokxix07QIAoIih9LWFMlwlz7a+L93lpeW5JKSr4QPDrnHzOzMN9cqMXxLWAxWGDhA6KuXe7/tv9zbf74bLSM67jm+zTk5TwLm2VxY74pp8l+P4BMlc5855FnkJwsWWB7zYWpZb49P3ljWuLIiBh6FAYcP83+qE/gHcPwdcG4voDrHl+FVPjH1bJ/Xp5HrlIpCuDASDFnQbJGXBI78Jpbl4KiIE0eY/Vxu+diua9npEpMYtrtC+aOYBcLi4sYHbgzIF/JMLBkfEOMMxJFccSanDPKV9MclneIEf8DNdAGFGCYtlYbzFk7SAaX1bW9WNvPVXaS6DeR8bWNpooMDPMKH4DX4IMAszmv210fEx01n24VSCN8q78wzFT6vluBcfD49Ta1sKgcerE8xSHU1nFXtWYwq5h8UAOlXJdUZZAVBIg2R2cE4wtlLSC3xTs58HezLR5G7zbAhHrk8O/iWC3LFpY2qyQWu2DvbrltVtb18RqPqyf0CsfnwCj+rO3o7OzsueCwA1zQ+nx6/f2X0yffvBK6ZGMvJ9QLTOP/0/vjt0dm5dXry6ffj96nuUNZSiemGWHXi3BldFluRLZZmuZTsEmMehgKdwY6kgxvjXm9tfkAHq1oEUfALrCJxo9q8T379lRTDOpvX7SrBnq1T/RkdEqpqua18JZFrdwFXOoVUmrT2li63LTi2gcYWwNiM5+MgJQMZmFVX7K3/loGsEoQqoewqsmJYMC4gzqKXEkdOmEMHOSa4lcS+SVP1pOt2Hc5p4aNKEO8Pnu8p4iB9CL4lkICWfHHwmrw1b1UDU29nNJLqkfpAkC6AmGRNE+WtvJe6zk+BYwWgcKBUJz3K17n0K+7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oYmI9lFZN9r4N/2qq2IclVR6Qhzlk/bidyvC+nqQe7Yf/zQ3oMFC41L1vuORs/RDFqNEK5c+d7n4liLL0WRQSiQBMn+GUIchzFBwi7jK8Y5m0tl6aEdqWEDVdL580Wmk9TLo60Ar9dONYzXjoYSFT9lNbi0YCf1Zm1rZ8/BJ4gHuVy9ONPVmE7o6qrulIaGtuoYAq5FmTJjWCQ+Qk4OZkRzh6mJQDj7F0df7lES+bYDy9B3ASW9zp9h+wsl+S8drmSXvdX9RhN9nkJ76c0aOXJdTA26BrdNfa15/lmUxM7Szu/scGBKNv4wmK6Y++FCpt3yV4bsKpP0+81SS+dODzJoJohi0jwqqsVS5WBpnK0afgurFmacTfjK9n3FDp+BXGGMIxxLy/xOjWDBxUnoEWkTEsWhmziCzG+y71RieVknDTcgbhgYglyFcXwzIFdAlpIApvKVrkbJeG/Mbx2g60zY907W2kR91J6mG/m4/FRTc0k5T8+YoFGzmv8NYPbH/wM=')));

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 9a419192d4741c374e1cb8c18fd81e67
Eval Count 1
Decode Time 129 ms