!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:     extract.php (2.74 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Extracts JS files from content
 *
 * @param string $content
 * @return array
 */
function w3_extract_js($content) {
    
$matches null;
    
$files = array();

    
$content preg_replace('~<!--.*?-->~s'''$content);

    if (
preg_match_all('~<script\s+[^<>]*src=["\']?([^"\']+)["\']?[^<>]*>\s*</script>~is'$content$matches)) {
        
$files $matches[1];
    }

    
$files array_values(array_unique($files));

    return 
$files;
}

/**
 * Extract CSS files from content
 *
 * @param string $content
 * @return array
 */
function w3_extract_css($content) {
    
$matches null;
    
$files = array();

    
$content preg_replace('~<!--.*?-->~s'''$content);

    if (
preg_match_all('~<link\s+([^>]+)/?>(.*</link>)?~Uis'$content$matchesPREG_SET_ORDER)) {
        foreach (
$matches as $match) {
            
$attrs = array();
            
$attr_matches null;

            if (
preg_match_all('~(\w+)=["\']([^"\']*)["\']~'$match[1], $attr_matchesPREG_SET_ORDER)) {
                foreach (
$attr_matches as $attr_match) {
                    
$attrs[$attr_match[1]] = trim($attr_match[2]);
                }
            }

            if (isset(
$attrs['href']) && isset($attrs['rel']) && stristr($attrs['rel'], 'stylesheet') !== false && (!isset($attrs['media']) || stristr($attrs['media'], 'print') === false)) {
                
$files[] = $attrs['href'];
            }
        }
    }

    if (
preg_match_all('~@import\s+(url\s*)?\(?["\']?\s*([^"\'\)\s]+)\s*["\']?\)?[^;]*;?~is'$content$matches)) {
        
$files array_merge($files$matches[2]);
    }

    
$files array_values(array_unique($files));

    return 
$files;
}

function 
w3_extract_css2($content) {
    
$matches null;
    
$files = array();

    
$content preg_replace('~<!--.*?-->~s'''$content);

    if (
preg_match_all('~<link\s+([^>]+)/?>(.*</link>)?~Uis'$content$matchesPREG_SET_ORDER)) {
        foreach (
$matches as $match) {
            
$attrs = array();
            
$attr_matches null;
            if (
preg_match_all('~(\w+)=["\']([^"\']*)["\']~'$match[1], $attr_matchesPREG_SET_ORDER)) {
                foreach (
$attr_matches as $attr_match) {
                    
$attrs[$attr_match[1]] = trim($attr_match[2]);
                }
            }

            if (isset(
$attrs['href']) && isset($attrs['rel']) && stristr($attrs['rel'], 'stylesheet') !== false && (!isset($attrs['media']) || stristr($attrs['media'], 'print') === false)) {
                
$files[] = array($match[0], $attrs['href']);
            }
        }

    }

    if (
preg_match_all('~@import\s+(url\s*)?\(?["\']?\s*([^"\'\)\s]+)\s*["\']?\)?[^;]*;?~is'$content$matchesPREG_SET_ORDER)) {
        foreach(
$matches as $match)
            
$files[] = array($match[0],$match[2]);
    }

    return 
$files;
}

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