!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)

E:\nuevo\htdocs\bogotacumbredelclima\wp-content\plugins\w3-total-cache\inc\functions\   drwxrwxrwx
Free 1.05 GB of 239.26 GB (0.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:     mime.php (1.9 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Returns file mime type
 *
 * @param string $file
 * @return string
 */
function w3_get_mime_type($file) {
    static 
$cache = array();

    if (!isset(
$cache[$file])) {
        
$mime_type false;

        
/**
         * Try to detect by extension (fast)
         */
        
$mime_types = include W3TC_INC_DIR '/mime/all.php';

        foreach (
$mime_types as $extension => $type) {
            if (
preg_match('~\.(' $extension ')$~i'$file)) {
                if (
is_array($type))
                    
$mime_type array_pop($type);
                else
                    
$mime_type $type;
                break;
            }
        }

        
/**
         * Try to detect using file info function
         */
        
if (!$mime_type && function_exists('finfo_open')) {
            
$finfo = @finfo_open(FILEINFO_MIME);

            if (!
$finfo) {
                
$finfo = @finfo_open(FILEINFO_MIME);
            }

            if (
$finfo) {
                
$mime_type = @finfo_file($finfo$file);

                if (
$mime_type) {
                    
$extra_mime_type_info strpos($mime_type"; ");

                    if (
$extra_mime_type_info) {
                        
$mime_type substr($mime_type0$extra_mime_type_info);
                    }

                    if (
$mime_type == 'application/octet-stream') {
                        
$mime_type false;
                    }
                }

                @
finfo_close($finfo);
            }
        }

        
/**
         * Try to detect using mime type function
         */
        
if (!$mime_type && function_exists('mime_content_type')) {
            
$mime_type = @mime_content_type($file);
        }

        
/**
         * If detection failed use default mime type
         */
        
if (!$mime_type) {
            
$mime_type 'application/octet-stream';
        }

        
$cache[$file] = $mime_type;
    }

    return 
$cache[$file];
}

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