!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:     Lines.php (3.66 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Class Minify_Lines
 * @package Minify
 */

/**
 * Add line numbers in C-style comments for easier debugging of combined content
 *
 * @package Minify
 * @author Stephen Clay <steve@mrclay.org>
 * @author Adam Pedersen (Issue 55 fix)
 */
class Minify_Lines {

    
/**
     * Add line numbers in C-style comments
     *
     * This uses a very basic parser easily fooled by comment tokens inside
     * strings or regexes, but, otherwise, generally clean code will not be
     * mangled. URI rewriting can also be performed.
     *
     * @param string $content
     *
     * @param array $options available options:
     *
     * 'id': (optional) string to identify file. E.g. file name/path
     *
     * 'currentDir': (default null) if given, this is assumed to be the
     * directory of the current CSS file. Using this, minify will rewrite
     * all relative URIs in import/url declarations to correctly point to
     * the desired files, and prepend a comment with debugging information about
     * this process.
     *
     * @return string
     */
    
public static function minify($content$options = array())
    {
        
$id = (isset($options['id']) && $options['id'])
            ? 
$options['id']
            : 
'';
        
$content str_replace("\r\n""\n"$content);
        
$lines explode("\n"$content);
        
$numLines count($lines);
        
// determine left padding
        
$padTo strlen($numLines);
        
$inComment false;
        
$i 0;
        
$newLines = array();
        while (
null !== ($line array_shift($lines))) {
            if ((
'' !== $id) && (== $i 50)) {
                
array_push($newLines''"/* {$id} */"'');
            }
            ++
$i;
            
$newLines[] = self::_addNote($line$i$inComment$padTo);
            
$inComment self::_eolInComment($line$inComment);
        }
        
$content implode("\n"$newLines) . "\n";

        
// check for desired URI rewriting
        
w3_require_once(W3TC_LIB_MINIFY_DIR '/Minify/CSS/UriRewriter.php');

        
$content Minify_CSS_UriRewriter::rewrite($content$options);

        return 
$content;
    }

    
/**
     * Is the parser within a C-style comment at the end of this line?
     *
     * @param string $line current line of code
     *
     * @param bool $inComment was the parser in a comment at the
     * beginning of the line?
     *
     * @return bool
     */
    
private static function _eolInComment($line$inComment)
    {
        while (
strlen($line)) {
            
$search $inComment
                
'*/'
                
'/*';
            
$pos strpos($line$search);
            if (
false === $pos) {
                return 
$inComment;
            } else {
                if (
$pos == 0
                    
|| ($inComment
                        
substr($line$pos3)
                        : 
substr($line$pos-13)) != '*/*')
                {
                        
$inComment = ! $inComment;
                }
                
$line substr($line$pos 2);
            }
        }
        return 
$inComment;
    }

    
/**
     * Prepend a comment (or note) to the given line
     *
     * @param string $line current line of code
     *
     * @param string $note content of note/comment
     *
     * @param bool $inComment was the parser in a comment at the
     * beginning of the line?
     *
     * @param int $padTo minimum width of comment
     *
     * @return string
     */
    
private static function _addNote($line$note$inComment$padTo)
    {
        return 
$inComment
            
'/* ' str_pad($note$padTo' 'STR_PAD_RIGHT) . ' *| ' $line
            
'/* ' str_pad($note$padTo' 'STR_PAD_RIGHT) . ' */ ' $line;
    }
}

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