!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/login/phpmyadmin/   drwxr-xr-x
Free 3.99 GB of 27.03 GB (14.77%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     server_variables.php (2.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Server variables
*
* @package PhpMyAdmin
*/

require_once 'libraries/common.inc.php';
require_once
'libraries/server_variables.lib.php';

$response = PMA_Response::getInstance();
$header   = $response->getHeader();
$scripts  = $header->getScripts();
$scripts->addFile('server_variables.js');

/**
* Does the common work
*/
require 'libraries/server_common.inc.php';

/**
* Array of documentation links
*/
$variable_doc_links = PMA_getArrayForDocumentLinks();

/**
* Ajax request
*/

if (isset($_REQUEST['ajax_request']) && $_REQUEST['ajax_request'] == true) {
    if (isset(
$_REQUEST['type'])) {
        if (
$_REQUEST['type'] === 'getval') {
            
PMA_getAjaxReturnForGetVal($variable_doc_links);
        } else if (
$_REQUEST['type'] === 'setval') {
            
PMA_getAjaxReturnForSetVal($variable_doc_links);
        }
        exit;
    }
}

/**
* Displays the sub-page heading
*/
$doc_link = PMA_Util::showMySQLDocu('server_system_variables');
$response->addHtml(PMA_getHtmlForSubPageHeader('variables', $doc_link));

/**
* Sends the queries and buffers the results
*/
$serverVarsResult = $GLOBALS['dbi']->tryQuery('SHOW SESSION VARIABLES;');

if (
$serverVarsResult !== false) {

    
$serverVarsSession = array();
    while (
$arr = $GLOBALS['dbi']->fetchRow($serverVarsResult)) {
        
$serverVarsSession[$arr[0]] = $arr[1];
    }
    
$GLOBALS['dbi']->freeResult($serverVarsResult);

    
$serverVars = $GLOBALS['dbi']->fetchResult('SHOW GLOBAL VARIABLES;', 0, 1);

    
/**
     * Link templates
     */
    
$response->addHtml(PMA_getHtmlForLinkTemplates());

    
/**
     * Displays the page
     */
    
$response->addHtml(
        
PMA_getHtmlForServerVariables(
            
$variable_doc_links, $serverVars, $serverVarsSession
        
)
    );
} else {
    
/**
     * Display the error message
     */
    
$response->addHTML(
        
PMA_Message::error(
            
sprintf(
                
__('Not enough privilege to view server variables and settings. %s'),
                
PMA_Util::showMySQLDocu(
                    
'server-system-variables',
                    
false,
                    
'sysvar_show_compatibility_56'
                
)
            )
        )->
getDisplay()
    );
}

exit;

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0037 ]--