!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:\xampp\xampp\htdocs\phpmyadmin\libraries\engines\   drwxrwxrwx
Free 8.79 GB of 239.26 GB (3.67%)
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:     innodb.lib.php (11.58 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* $Id: innodb.lib.php,v 2.5 2005/03/26 23:34:26 rabus Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:

class PMA_StorageEngine_innodb extends PMA_StorageEngine {
    function 
getVariables() {
        return array(
            
'innodb_data_home_dir' => array(
                
'title' => $GLOBALS['strInnoDBDataHomeDir'],
                
'desc'  => $GLOBALS['strInnoDBDataHomeDirDesc']
            ),
            
'innodb_data_file_path' => array(
                
'title' => $GLOBALS['strInnoDBDataFilePath']
            ),
            
'innodb_autoextend_increment' => array(
                
'title' => $GLOBALS['strInnoDBAutoextendIncrement'],
                
'desc'  => $GLOBALS['strInnoDBAutoextendIncrementDesc'],
                
'type'  => PMA_ENGINE_DETAILS_TYPE_NUMERIC
            
),
            
'innodb_buffer_pool_size' => array(
                
'title' => $GLOBALS['strInnoDBBufferPoolSize'],
                
'desc'  => $GLOBALS['strInnoDBBufferPoolSizeDesc'],
                
'type'  => PMA_ENGINE_DETAILS_TYPE_SIZE
            
)
        );
    }

    function 
getVariablesLikePattern () {
        return 
'innodb\\_%';
    }

    function 
getInfoPages () {
        if (
$this->support PMA_ENGINE_SUPPORT_YES) {
            return array();
        }
        
$pages = array();
        if (
PMA_MYSQL_INT_VERSION >= 50002) {
            
$pages['bufferpool'] = $GLOBALS['strBufferPool'];
        }
        
$pages['status'] = $GLOBALS['strInnodbStat'];
        return 
$pages;
    }

    function 
getPage($id) {
        global 
$cfg;

        switch (
$id) {
            case 
'bufferpool':
                if (
PMA_MYSQL_INT_VERSION 50002) {
                    return 
FALSE;
                }
                
// rabus: The following query is only possible because we know
                // that we are on MySQL 5 here (checked above)!
                // side note: I love MySQL 5 for this. :-)
                
$res PMA_DBI_query('SHOW STATUS WHERE Variable_name LIKE \'Innodb\\_buffer\\_pool\\_%\' OR Variable_name = \'Innodb_page_size\';');
                
$status = array();
                while (
$row PMA_DBI_fetch_row($res)) {
                    
$status[$row[0]] = $row[1];
                }
                
PMA_DBI_free_result($res);
                unset(
$res$row);
                
$output '<table>' "\n"
                        
'    <thead>' "\n"
                        
'        <tr>' "\n"
                        
'            <th colspan="4">' "\n"
                        
'                ' $GLOBALS['strBufferPoolUsage'] . "\n"
                        
'            </th>' "\n"
                        
'        </tr>' "\n"
                        
'    </thead>' "\n"
                        
'    <tfoot>' "\n"
                        
'        <tr>' "\n"
                        
'            <th>' "\n"
                        
'                ' $GLOBALS['strTotalUC'] . "\n"
                        
'            </th>' "\n"
                        
'            <th colspan="3">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_pages_total']) . '&nbsp;' $GLOBALS['strInnoDBPages'] . '&nbsp;/ ' join('&nbsp;'PMA_formatByteDown($status['Innodb_buffer_pool_pages_total'] * $status['Innodb_page_size'])) . "\n"
                        
'            </th>' "\n"
                        
'        </tr>' "\n"
                        
'    </tfoot>' "\n"
                        
'    <tbody>' "\n"
                        
'        <tr>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strFreePages'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_pages_free']) . "\n"
                        
'            </td>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strDirtyPages'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_pages_dirty']) . "\n"
                        
'            </td>' "\n"
                        
'        </tr>' "\n"
                        
'        <tr>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strDataPages'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_pages_data']) . "\n"
                        
'            </td>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strPagesToBeFlushed'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_pages_flushed']) . "\n"
                        
'            </td>' "\n"
                        
'        </tr>' "\n"
                        
'        <tr>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strBusyPages'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_pages_misc']) . "\n"
                        
'            </td>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strLatchedPages'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_pages_latched']) . "\n"
                        
'            </td>' "\n"
                        
'        </tr>' "\n"
                        
'    </tbody>' "\n"
                        
'</table>' "\n\n"
                        
'<br />' "\n\n"
                        
'<table>' "\n"
                        
'    <thead>' "\n"
                        
'        <tr>' "\n"
                        
'            <th colspan="4">' "\n"
                        
'                ' $GLOBALS['strBufferPoolActivity'] . "\n"
                        
'            </th>' "\n"
                        
'        </tr>' "\n"
                        
'    </thead>' "\n"
                        
'    <tbody>' "\n"
                        
'        <tr>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strReadRequests'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_read_requests']) . "\n"
                        
'            </td>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strWriteRequests'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_write_requests']) . "\n"
                        
'            </td>' "\n"
                        
'        </tr>' "\n"
                        
'        <tr>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strBufferReadMisses'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_reads']) . "\n"
                        
'            </td>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strBufferWriteWaits'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                ' htmlspecialchars($status['Innodb_buffer_pool_wait_free']) . "\n"
                        
'            </td>' "\n"
                        
'        </tr>' "\n"
                        
'        <tr>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strBufferReadMissesInPercent'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                ' . ($status['Innodb_buffer_pool_read_requests'] == '---' htmlspecialchars(number_format($status['Innodb_buffer_pool_reads'] * 100 $status['Innodb_buffer_pool_read_requests'], 2$GLOBALS['number_decimal_separator'], $GLOBALS['number_thousands_separator'])) . '&nbsp;%') . "\n"
                        
'            </td>' "\n"
                        
'            <td bgcolor="' $cfg['BgcolorOne'] . '">' "\n"
                        
'                &nbsp;' $GLOBALS['strBufferWriteWaitsInPercent'] . '&nbsp;' "\n"
                        
'            </td>' "\n"
                        
'            <td align="right" bgcolor="' $cfg['BgcolorTwo'] . '">' "\n"
                        
'                ' . ($status['Innodb_buffer_pool_write_requests'] == '---' htmlspecialchars(number_format($status['Innodb_buffer_pool_wait_free'] * 100 $status['Innodb_buffer_pool_write_requests'], 2$GLOBALS['number_decimal_separator'], $GLOBALS['number_thousands_separator'])) . '&nbsp;%') . "\n"
                        
'            </td>' "\n"
                        
'        </tr>' "\n"
                        
'    </tbody>' "\n"
                        
'</table>' "\n";
                return 
$output;
            case 
'status':
                
$res PMA_DBI_query('SHOW INNODB STATUS;');
                
$row PMA_DBI_fetch_row($res);
                
PMA_DBI_free_result($res);
                return 
'<pre>' "\n"
                      
htmlspecialchars($row[0]) . "\n"
                      
'</pre>' "\n";
            default:
                return 
FALSE;
        }
    }
}

?>

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