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

class NewRelicPresentation {

    
/**
     * @param $metric_data
     * @return array
     */
    
static function format_metrics_dashboard($metric_data) {
        
$formatted = array();
        foreach (
$metric_data as $name => $data) {
            switch(
$name) {
                case 
'EndUser':
                    
$name __('Page load time''w3-total-cache');
                    break;
                case 
'WebTransation':
                    
$name __('Web Transaction''w3-total-cache');
                    break;
                case 
'Database':
                    
$name __('Database''w3-total-cache');
                    break;
                default:
                    break;
            }

            if (
$data == 'N/A')
                
$formatted[$name] = $data;
            else
                
$formatted[$name] = w3_convert_secs_to_time(array_shift($data[0])->average_response_time);

        }
        return 
$formatted;
    }

    
/**
     * Takes metric data in array(page => time in sec) format and returns array(page => formatted time)
     * @param $metric_data
     * @return array
     */
    
static function format_slowest_pages($metric_data) {
        
$formatted = array();
        foreach(
$metric_data as $page => $time) {
            
$formatted[$page] = w3_convert_secs_to_time($time);
        }
        return 
$formatted;
    }

    
/**
     * Takes metric data in array(transaction => time in sec) format and returns array(transaction => formatted time)
     * @param $metric_slowest_webtransactions
     * @return array
     */
    
public static function format_slowest_webtransactions($metric_slowest_webtransactions) {
        return 
self::format_slowest_pages($metric_slowest_webtransactions);
    }

    
/**
     * Takes metric data in array(query => time in sec) format and returns array(query => formatted time)
     * @param $metric_slowest_database
     * @return array
     */
    
public static function format_slowest_database($metric_slowest_database) {
        return 
self::format_slowest_pages($metric_slowest_database);
    }
}

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