!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\lib\Minify\Minify\   drwxrwxrwx
Free 4.13 GB of 39.52 GB (10.44%)
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:     CommentPreserver.php (2.67 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Class Minify_CommentPreserver 
 * @package Minify
 */

/**
 * Process a string in pieces preserving C-style comments that begin with "/*!"
 * 
 * @package Minify
 * @author Stephen Clay <steve@mrclay.org>
 */
class Minify_CommentPreserver {
    
    
/**
     * String to be prepended to each preserved comment
     *
     * @var string
     */
    
public static $prepend "\n";
    
    
/**
     * String to be appended to each preserved comment
     *
     * @var string
     */
    
public static $append "\n";
    
    
/**
     * Process a string outside of C-style comments that begin with "/*!"
     *
     * On each non-empty string outside these comments, the given processor 
     * function will be called. The first "!" will be removed from the 
     * preserved comments, and the comments will be surrounded by 
     * Minify_CommentPreserver::$preprend and Minify_CommentPreserver::$append.
     * 
     * @param string $content
     * @param callback $processor function
     * @param array $args array of extra arguments to pass to the processor 
     * function (default = array())
     * @return string
     */
    
public static function process($content$processor$args = array())
    {
        
$ret '';
        while (
true) {
            list(
$beforeComment$comment$afterComment) = self::_nextComment($content);
            if (
'' !== $beforeComment) {
                
$callArgs $args;
                
array_unshift($callArgs$beforeComment);
                
$ret .= call_user_func_array($processor$callArgs);    
            }
            if (
false === $comment) {
                break;
            }
            
$ret .= $comment;
            
$content $afterComment;
        }
        return 
$ret;
    }
    
    
/**
     * Extract comments that YUI Compressor preserves.
     * 
     * @param string $in input
     * 
     * @return array 3 elements are returned. If a YUI comment is found, the
     * 2nd element is the comment and the 1st and 2nd are the surrounding
     * strings. If no comment is found, the entire string is returned as the 
     * 1st element and the other two are false.
     */
    
private static function _nextComment($in)
    {
        if (
            
false === ($start strpos($in'/*!'))
            || 
false === ($end strpos($in'*/'$start 3))
        ) {
            return array(
$infalsefalse);
        }
        
$ret = array(
            
substr($in0$start)
            ,
self::$prepend '/*' substr($in$start 3$end $start 1) . self::$append
        
);
        
$endChars = (strlen($in) - $end 2);
        
$ret[] = (=== $endChars)
            ? 
''
            
substr($in, -$endChars);
        return 
$ret;
    }
}

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