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/aihub.php
<?php



// Exit if accessed directly

if ( ! defined( 'ABSPATH' ) ) 

{

    exit;

}



// Apply Auto license

$options = get_option('tools4wp_options');

if (isset($options['ai_hub_theme_auto']) == 1 ) {

    function ai_hub_theme_auto_update() {

        $tools4wp_options = get_option( 'tools4wp_options' );

        $tools4wp_options['ai_hub_theme'] = true;

        update_option( 'tools4wp_options', $tools4wp_options );

    }

    add_action('upgrader_process_complete', 'ai_hub_theme_auto_update', 10, 2);

}



$options = get_option('tools4wp_options');

if (isset($options['ai_hub_theme']) && $options['ai_hub_theme'] == 1) {

    update_option( '6ca862f726', 0 );

    update_option( 'aihub_purchase_code', 'I_Love_Babiato' );

    update_option( 'aihub_register_env', true );

    // update_option( 'aihub_purchase_code_status', true );

    update_option( 'liquid_license_status', 'valid' );

    update_option( 'aihub_purchase_code_status', 'valid' );

	$tools4wp_options = get_option( 'tools4wp_options' );

    unset( $tools4wp_options['ai_hub_theme'] );

    update_option( 'tools4wp_options', $tools4wp_options );



    

    // License_step

    $filename = WP_CONTENT_DIR .  '/themes' . get_option('tools4wp_updates')['aihub_file'];



    $old_content = 'true, // EDD license activation step.';

    $new_content = 'false, // EDD license activation step.';



    // Open the source file and get its data

    $data = file_get_contents(WP_CONTENT_DIR .  '/themes' . get_option('tools4wp_updates')['aihub_file']);



    // Perform the search and replace operation

    $data = str_replace($old_content, $new_content, $data);



    // Save the modified data to the destination file

    file_put_contents(WP_CONTENT_DIR .  '/themes' . get_option('tools4wp_updates')['aihub_file'], $data);



    // License_step

    $filename = WP_CONTENT_DIR .  '/themes' . get_option('tools4wp_updates')['aihub_file'];



    $old_content = 'true, // Require the license activation step.';

    $new_content = 'false, // Require the license activation step';



    // Open the source file and get its data

    $data = file_get_contents(WP_CONTENT_DIR .  '/themes' . get_option('tools4wp_updates')['aihub_file']);



    // Perform the search and replace operation

    $data = str_replace($old_content, $new_content, $data);



    // Save the modified data to the destination file

    file_put_contents(WP_CONTENT_DIR .  '/themes' . get_option('tools4wp_updates')['aihub_file'], $data);





}





?>

Youez - 2016 - github.com/yon3zu
LinuXploit