!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\cumbreclima\wp-content\plugins\duplicator\classes\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.45%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ui.php (3.62 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
if ( ! defined('DUPLICATOR_VERSION') ) exit; // Exit if accessed directly

/**
 * Helper Class for UI internactions
 * @package Dupicator\classes
 */
class DUP_UI {
    
    
/**
     * The key used in the wp_options table
     * @var string 
     */
    
private static $OptionsTableKey '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
     */
    
static public function SaveViewState($key$value) {
       
        
$view_state = array();
        
$view_state get_option(self::$OptionsTableKey);
        
$view_state[$key] =  $value;
        
$success update_option(self::$OptionsTableKey$view_state);
        
        return 
$success;
    }
    
    
    
/** 
     * Saves the state of a UI element via post params
     * @return json result string
     * <code>
     * //JavaScript Ajax Request
     * Duplicator.UI.SaveViewStateByPost('dup-pack-archive-panel', 1);
     * 
     * //Call PHP Code
     * $view_state       = DUP_UI::GetViewStateValue('dup-pack-archive-panel');
     * $ui_css_archive   = ($view_state == 1)   ? 'display:block' : 'display:none';
     * </code>
     */
    
static public function SaveViewStateByPost() {
        
        
DUP_Util::CheckPermissions('read');
        
        
$post  stripslashes_deep($_POST);
        
$key   esc_html($post['key']);
        
$value esc_html($post['value']);
        
$success self::SaveViewState($key$value);
        
        
//Show Results as JSON
        
$json = array();
        
$json['key']    = $key;
        
$json['value']  = $value;
        
$json['update-success'] = $success;
        die(
json_encode($json));
    }
    
    
    
/** 
     *    Gets all the values from the settings array
     *  @return array Returns and array of all the values stored in the settings array
     */
    
static public function GetViewStateArray() {
        return 
get_option(self::$OptionsTableKey);
    }
    
     
/** 
      * 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
      */
    
static public function GetViewStateValue($searchKey) {
        
$view_state get_option(self::$OptionsTableKey);
        if (
is_array($view_state)) {
            foreach (
$view_state as $key => $value) {
                if (
$key == $searchKey) {
                    return 
$value;    
                }
            }
        } 
        return 
null;
    }
    
    
/**
     * Shows a display message in the wp-admin if any researved files are found
     * @return type void
     */
    
static public function ShowReservedFilesNotice() {
        
        if (! 
is_plugin_active('duplicator/duplicator.php'))
            return;

        
$hide  = isset($_REQUEST['page']) && $_REQUEST['page'] == 'duplicator-tools' true false;
        
$perms = (current_user_can'install_plugins' ) && current_user_can'import' ));
        if (! 
$perms || $hide
            return;
    
        
$metaKey 'dup-wpnotice01';
         if ( isset(
$_GET[$metaKey]) &&  $_GET[$metaKey] == '1') {
             
self::SaveViewState($metaKeytrue);
        }

        if (! 
self::GetViewStateValue($metaKeyfalse)) {
            if (
DUP_Server::InstallerFilesFound()) {
                
$queryStr $_SERVER['QUERY_STRING'];
                echo 
'<div class="updated"><p>';
                @
printf("%s <br/> <a href='admin.php?page=duplicator-tools&tab=cleanup&action=installer'>%s</a> | <a href='?{$queryStr}&{$metaKey}=1'>%s</a>",
                        
__('Reserved Duplicator install file(s) still exists in the root directory.  Please delete these file(s) to avoid possible security issues.''wpduplicator'),
                        
__('Remove file(s) now''wpduplicator'),
                        
__('Dismiss this notice''wpduplicator'));
                echo 
"</p></div>";
            } else {
                
self::SaveViewState($metaKeytrue);
            }
        }
    }
    
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--