403Webshell
Server IP : 89.39.208.18  /  Your IP : 216.73.217.74
Web Server : LiteSpeed
System :
User :  ( )
PHP Version : 7.4.33
Disable Function : eval,./,ln,passthru,dl,system,exec,popen,shell_exec,posix_getpwuid,posix_uname,ftp_exec,posix_uname,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,get_current_user,getmyuid,getmygid,listen,chgrp,apache_note,apache_setenv,apache_child_terminate,closelog,debugger_off,debugge_on,ini_restore,netscript,escapeshellarg,cmd,backtick,virtual,show_sourc,show_source,pclose,pcntl_exec,datasec,old_offset,ctrl_dir,ini_alter,leak,listen,chgrp,apache_setenv,define_syslog_variables,root,diskfreespace,disk_free_space,disk_total_space,posix_kill,getmyuid,getmygid,apache_child_terminate,php_ini_scanned_files,ls,ps_aux,chown,getrusage,posixc,posame,chgrp,posix_setuid,posix_setsid,posix_setgid,apache_note,apache_setenv,x_getuid,e_ini_file,nfo,SQL,mysql_li,t_dbs,filegroup,highlight_file,ilegetcontents,get_dir,popen,popens,pfsockopen,dos_conv,apache_get_modules,crack_check,crack_closedict,rar_open,bzopen,bzread,bzwrite,shellcode,posix_isatty,posix_getservbyname,escapeshellarg,hypot,pg_host,pos,posix_access,inurl,posix_times,posix_mknod,pclose,ps_fill,symlink,id,escapeshellcmd,php_uname,phpinfo
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home3/mahyarcake/./www/wp-content/plugins/duplicator/src/Controllers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home3/mahyarcake/./www/wp-content/plugins/duplicator/src/Controllers/StorageController.php
<?php

namespace Duplicator\Controllers;

use DUP_UI_Dialog;
use Duplicator\Core\Views\TplMng;

class StorageController
{
    /**
     * Render storages page
     *
     * @return void
     */
    public static function render()
    {
        TplMng::getInstance()->render('mocks/storage/storage', array(
            'storages' => self::getStoragesData()
        ), true);
    }

    /**
     * Fet storage alert dialog box
     *
     * @param string $utm_medium UTM medium for the upsell link
     *
     * @return DUP_UI_Dialog
     */
    public static function getDialogBox($utm_medium)
    {
        require_once(DUPLICATOR_PLUGIN_PATH . '/classes/ui/class.ui.dialog.php');

        $storageAlert          = new DUP_UI_Dialog();
        $storageAlert->title   = __('Advanced Storage', 'duplicator');
        $storageAlert->height  = 600;
        $storageAlert->width   = 550;
        $storageAlert->okText  = '';
        $storageAlert->message = TplMng::getInstance()->render('mocks/storage/popup', array(
            'storages' => self::getStoragesData(),
            'utm_medium' => $utm_medium,
        ), false);
        $storageAlert->initAlert();

        return $storageAlert;
    }

    /**
     * Returns the storage data for the view
     *
     * @return array[]
     */
    private static function getStoragesData()
    {
        return array(
            array(
                'title'    => __('Amazon S3', 'duplicator'),
                'label'    => __('Amazon S3', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/aws.svg',
            ),
            array(
                'title'    => __('Google Drive', 'duplicator'),
                'label'    => __('Google Drive', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/google-drive.svg',
            ),
            array(
                'title'    => __('OneDrive', 'duplicator'),
                'label'    => __('OneDrive', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/onedrive.svg',
            ),
            array(
                'title'    => __('DropBox', 'duplicator'),
                'label'    => __('DropBox', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/dropbox.svg',
            ),
            array(
                'title'    => __('FTP/SFTP', 'duplicator'),
                'label'    => __('FTP/SFTP', 'duplicator'),
                'fa-class' => 'fas fa-network-wired',
            ),
            array(
                'title'    => __('Google Cloud Storage', 'duplicator'),
                'label'    => __('Google Cloud Storage', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/google-cloud.svg',
            ),
            array(
                'title'    => __('Back Blaze', 'duplicator'),
                'label'    => __('Back Blaze', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/backblaze.svg',
            ),
            array(
                'title'    => __('Cloudflare R2', 'duplicator'),
                'label'    => __('Cloudflare R2', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/cloudflare.svg',
            ),
            array(
                'title'    => __('DigitalOcean Spaces', 'duplicator'),
                'label'    => __('DigitalOcean Spaces', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/digital-ocean.svg',
            ),
            array(
                'title'    => __('Vultr Object Storage', 'duplicator'),
                'label'    => __('Vultr Object Storage', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/vultr.svg',
            ),
            array(
                'title'    => __('Dream Objects', 'duplicator'),
                'label'    => __('Dream Objects', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/dreamhost.svg',
            ),
            array(
                'title'    => __('Wasabi', 'duplicator'),
                'label'    => __('Wasabi', 'duplicator'),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/wasabi.svg',
            ),
            array(
                'title'    => __('S3-Compatible Provider', 'duplicator'),
                'label'    => __(
                    'S3-Compatible (Generic) Cloudian, Cloudn, Connectria, Constant, Exoscal, Eucalyptus, Nifty, Nimbula, Minio, etc...',
                    'duplicator'
                ),
                'iconUrl'  => DUPLICATOR_PLUGIN_URL . 'assets/img/aws.svg',
            ),
        );
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit