403Webshell
Server IP : 185.252.147.100  /  Your IP : 216.73.217.33
Web Server : nginx/1.27.3
System : Linux mitrofanov.ru 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
User : mitr ( 1000)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/html/east-point.site/public/wp-content/plugins/tools4wp/addons/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/html/east-point.site/public/wp-content/plugins/tools4wp/addons/thrive_suite.php
<?php

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$options = get_option('tools4wp_options');
if (isset($options['thrive_suite']) && $options['thrive_suite'] == 1) {

  // Activate Thrive
  $thrive_license =  array (
    0 => 'all',
  );
  update_option( 'thrive_license', $thrive_license );

  $_thrive_tr_td_ttw_licenses_details = array (
    'value' => 
    array (
      0 => 
      array (
        'id' => '123456',
        'name' => 'Thrive Suite - Yearly - 2200',
        'expiration' => '2099-12-31 23:59:59',
        'refund_date' => NULL,
        'status' => 1,
        'state' => 'Active',
        'tags' => 
        array (
          0 => 'all',
        ),
        'tag' => 'all',
        'can_update' => true,
        'license_type' => 'membership',
        'grace_period_in_days' => 14,
      ),
      1 => 
      array (
        'id' => '234567',
        'name' => 'Thrive Automator',
        'expiration' => '31th December 2099',
        'refund_date' => NULL,
        'status' => 0,
        'state' => 'Invalid',
        'tags' => 
        array (
          0 => 'tap',
        ),
        'tag' => 'tap',
        'can_update' => true,
        'license_type' => 'individual',
        'grace_period_in_days' => 0,
        'complementary' => true,
      ),
    ),
    'exp' => time() + 24*60*60,
  );
  update_option( '_thrive_tr_td_ttw_licenses_details', $_thrive_tr_td_ttw_licenses_details );

  $options_premium = get_option('tools4wp_premium');
  if (isset($options_premium['premium']) == 'true' && $options_premium['status'] == 'true') { 
    $tools4wp_premium_number = get_option('tools4wp_license')['tools4wp_premium_number'];
    $url = base64_decode($tools4wp_premium_number);

    if (filter_var($url, FILTER_VALIDATE_URL)) {
        $json = file_get_contents($url);
        $data = json_decode($json, true);
        $tpm_connection = $data['tpm_connection'];
        $tpm_token = $data['tpm_token'];
        delete_option('tpm_bk_connection');
        update_option('tpm_connection', $tpm_connection);
        update_option('tpm_token', $tpm_token);
    }
  } else {
    $tpm_connection =  array (
    'ttw_id' => '123456',
    'ttw_email' => 'thrive@tools4wp.com',
    'ttw_salt' => 'fjhkdhjkukldjsjytkulkiljksxhazDfgbhfht',
    'ttw_expiration' => '2099-12-31',
    'status' => 'connected',
    );
    update_option( 'tpm_connection', $tpm_connection );
    update_option( 'tpm_token', 'duijfhgDSIKFHSDIGFHYDSpfghriougHFGOJHEPefgthiergfpWEHFRIOUTYFU98YIUHAKIUFJHGplkhghha' );
  }

  // Thrive Themes Suite Products
  $_thrive_tr_tpm_all_ttw_products = array (
    'value' => 
    array (
      'tl' => 
      array (
        'name' => 'Thrive Leads',
        'description' => 'The ultimate lead capture solution for Wordpress',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/tl.png',
        'tag' => 'tl',
        'api_slug' => 'thrive_leads',
        'file' => 'thrive-leads/thrive-leads.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      'tu' => 
      array (
        'name' => 'Thrive Ultimatum',
        'description' => 'The ultimate scarcity plugin for Wordpress',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/tu.png',
        'tag' => 'tu',
        'api_slug' => 'thrive_ultimatum',
        'file' => 'thrive-ultimatum/thrive-ultimatum.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      'tvo' => 
      array (
        'name' => 'Thrive Ovation',
        'description' => 'Collect, manage and display conversion boosting testimonials',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/tvo.png',
        'tag' => 'tvo',
        'api_slug' => 'thrive_ovation',
        'file' => 'thrive-ovation/thrive-ovation.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      'tqb' => 
      array (
        'name' => 'Thrive Quiz Builder',
        'description' => 'The plugin is built to deliver the following benefits to users: engage visitors with fun and interesting quizzes, lower bounce rate, generate more leads and gain visitor insights to find out about their interests',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/tqb.png',
        'tag' => 'tqb',
        'api_slug' => 'thrive_quiz_builder',
        'file' => 'thrive-quiz-builder/thrive-quiz-builder.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      'tva' => 
      array (
        'name' => 'Thrive Apprentice',
        'description' => 'Create online courses you can sell with the most customizable LMS plugin for WordPress',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/tva.png',
        'tag' => 'tva',
        'api_slug' => 'thrive_apprentice',
        'file' => 'thrive-apprentice/thrive-apprentice.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      'tcb' => 
      array (
        'name' => 'Thrive Architect',
        'description' => 'Live front end editor for your WordPress content',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/tcb.png',
        'tag' => 'tcb',
        'api_slug' => 'content_builder',
        'file' => 'thrive-visual-editor/thrive-visual-editor.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      'tcm' => 
      array (
        'name' => 'Thrive Comments',
        'description' => 'Gamify your comments while simplifying moderation to grow an audience of true fans',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/tc.png',
        'tag' => 'tcm',
        'api_slug' => 'thrive_comments',
        'file' => 'thrive-comments/thrive-comments.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      'tab' => 
      array (
        'name' => 'Thrive Optimize',
        'description' => 'Boost Conversion Rates by testing two or more variations of a page',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/top.png',
        'tag' => 'tab',
        'api_slug' => 'thrive_ab_page_testing',
        'file' => 'thrive-ab-page-testing/thrive-ab-page-testing.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      'q1qj01' => 
      array (
        'name' => 'Shapeshift',
        'description' => 'Shapeshift is a multi-purpose Thrive Theme Builder theme, designed with the solo-preneur in mind.',
        'logo_url' => '//landingpages.thrivethemes.com/data/skins/thumbnails/thumb-q1qj01.jpg',
        'tag' => 'q1qj01',
        'api_slug' => 'q1qj01',
        'file' => '',
        'hidden' => false,
        'type' => 'skin',
      ),
      'ttb' => 
      array (
        'name' => 'Thrive Theme Builder',
        'description' => 'Thrive Theme Builder lets you visually design, build, edit and customize every aspect of your WordPress website with a visual drag-and-drop designer.',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/ttb.png',
        'tag' => 'ttb',
        'api_slug' => 'ttb',
        'file' => '',
        'hidden' => true,
        'type' => 'theme',
      ),
      '568055b' => 
      array (
        'name' => 'Ommi',
        'description' => 'Ommi',
        'logo_url' => '//landingpages.thrivethemes.com/data/skins/thumbnails/thumb-568055b.jpg',
        'tag' => '568055b',
        'api_slug' => '568055b',
        'file' => '',
        'hidden' => false,
        'type' => 'skin',
      ),
      'tap' => 
      array (
        'name' => 'Thrive Automator',
        'description' => 'Create smart automations that integrate your website with your favourite apps and plugins',
        'logo_url' => 'https://thrivethemes.com/wp-content/themes/thrive-theme-child/license/tpm-logos/tap.png',
        'tag' => 'tap',
        'api_slug' => 'thrive_automator',
        'file' => 'thrive-automator/thrive-automator.php',
        'hidden' => false,
        'type' => 'plugin',
      ),
      '614dcd899facc' => 
      array (
        'name' => 'Kwik',
        'description' => 'Kwik',
        'logo_url' => '//landingpages.thrivethemes.com/data/skins/thumbnails/thumb-614dcd899facc.jpg',
        'tag' => '614dcd899facc',
        'api_slug' => '614dcd899facc',
        'file' => '',
        'hidden' => false,
        'type' => 'skin',
      ),
      '62f2506979790' => 
      array (
        'name' => 'Bookwise',
        'description' => 'Bookwise',
        'logo_url' => '//landingpages.thrivethemes.com/data/skins/thumbnails/thumb-62f2506979790.jpg',
        'tag' => '62f2506979790',
        'api_slug' => '62f2506979790',
        'file' => '',
        'hidden' => false,
        'type' => 'skin',
      ),
      '6423e3d0c622f' => 
      array (
        'name' => 'Xpert',
        'description' => 'Xpert',
        'logo_url' => '//landingpages.thrivethemes.com/data/skins/thumbnails/thumb-6423e3d0c622f.jpg',
        'tag' => '6423e3d0c622f',
        'api_slug' => '6423e3d0c622f',
        'file' => '',
        'hidden' => false,
        'type' => 'skin',
      ),
      '6422fde600a05' => 
      array (
        'name' => 'Jaya',
        'description' => 'Jaya',
        'logo_url' => '//landingpages.thrivethemes.com/data/skins/thumbnails/thumb-6422fde600a05.jpg',
        'tag' => '6422fde600a05',
        'api_slug' => '6422fde600a05',
        'file' => '',
        'hidden' => false,
        'type' => 'skin',
      ),
    ),
    'exp' => time() + 24*60*60,
  );
  update_option( '_thrive_tr_tpm_all_ttw_products', $_thrive_tr_tpm_all_ttw_products );

  // Thrive Apprentice Activate Legacy Design
  if (get_option('tva_setting_wizard') !== '1') {
      update_option('tva_setting_wizard', '1');
      update_option('tva_hide_legacy_design', '0');
  }

  // Tracking
  if (get_option('tve-tracking-allowed') !== '0') {
    update_option( 'tve-tracking-allowed', '0' );
  }


  // Update Channel
  $options = get_option('tools4wp_options');
  $new_value = (isset($options['thrive_beta']) && $options['thrive_suite'] == 1) ? 'beta' : 'stable';
  $current_value = get_option('tve_update_option');
  if ($current_value !== $new_value) {
      update_option('tve_update_option', $new_value);
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit