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

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/js/settings.backups.js
jQuery(document).ready(function ($) {

    var closteCheckStatusInterval = null;
    var pendingBackups = $(".closte_pending_task");

    if (pendingBackups.length > 0) {
        closteCheckStatusInterval = setInterval(checkTasks, 5000);
    }


    function checkTasks() {

        var array = [];
        $(".closte_pending_task").each(function () {
            array.push($(this).data("task-id"));
        });


        if (array.length == 0) {
            clearInterval(closteCheckStatusInterval);
            return;
        }

        var closte_task_id = array[array.length - 1];

        var data = {
            'action': 'closte_get_task_status',
            'closte_task_id': closte_task_id
        };


        $.ajax({
            type: 'POST',
            url: ajaxurl,
            async: false,
            data: data,
            success: function (response) {
                if (response.success) {

                    if (response.task.end_date != null) {

                        if (response.task.success) {
                            $('.closte_pending_task[data-task-id="' + closte_task_id + '"]').replaceWith('<span>Success</span>');
                        } else {
                            $('.closte_pending_task[data-task-id="' + closte_task_id + '"]').replaceWith('<span>Failed</span>');
                        }


                    }

                }
            },
            error: function (request, status, error) {
                clearInterval(closteCheckStatusInterval);
            }
        });

       
    }

    $(document).on("click", "#closte_do_backup", function () {


        $(this).replaceWith("<img src='/wp-admin/images/loading.gif'>");

        var data = {
            'action': 'closte_create_backup',
        };

        jQuery.post(ajaxurl, data, function (response) {
           
             if (response.success) {
                 location.reload();
             }

        });
    });

  
});

Youez - 2016 - github.com/yon3zu
LinuXploit