!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:\dmz\phpMyAdmin\libraries\   drwxrwxrwx
Free 4.08 GB of 39.52 GB (10.32%)
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:     server_collations.lib.php (2.94 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */

/**
 * functions for displaying server Character Sets and Collations
 *
 * @usedby  server_collations.php
 *
 * @package PhpMyAdmin
 */
if (! defined('PHPMYADMIN')) {
    exit;
}

/**
 * Returns the html for server Character Sets and Collations.
 *
 * @param Array $mysqlCharsets      Mysql Charsets list
 * @param Array $mysqlCollations    Mysql Collations list
 * @param Array $mysqlCharsetsDesc  Charsets descriptions
 * @param Array $mysqlDftCollations Default Collations list
 * @param Array $mysqlCollAvailable Available Collations list
 *
 * @return string
 */
function PMA_getHtmlForCharsets($mysqlCharsets$mysqlCollations,
    
$mysqlCharsetsDesc$mysqlDftCollations,
    
$mysqlCollAvailable
) {
    
/**
     * Outputs the result
     */
    
$html '<div id="div_mysql_charset_collations">' "\n"
        
'<table class="data noclick">' "\n"
        
'<tr><th id="collationHeader">' __('Collation') . '</th>' "\n"
        
'    <th>' __('Description') . '</th>' "\n"
        
'</tr>' "\n";

    
$table_row_count count($mysqlCharsets) + count($mysqlCollations);

    foreach (
$mysqlCharsets as $current_charset) {

        
$html .= '<tr><th colspan="2" class="right">' "\n"
            
'        ' htmlspecialchars($current_charset) . "\n"
            
. (empty($mysqlCharsetsDesc[$current_charset])
                ? 
''
                
'        (<i>' htmlspecialchars(
                    
$mysqlCharsetsDesc[$current_charset]
                ) . 
'</i>)' "\n")
            . 
'    </th>' "\n"
            
'</tr>' "\n";

        
$html .= PMA_getHtmlForCollationCurrentCharset(
            
$current_charset,
            
$mysqlCollations,
            
$mysqlDftCollations,
            
$mysqlCollAvailable
        
);

    }
    unset(
$table_row_count);
    
$html .= '</table>' "\n"
        
'</div>' "\n";

    return 
$html;
}

/**
 * Returns the html for Collations of Current Charset.
 *
 * @param String $currCharset        Current Charset
 * @param Array  $mysqlColl          Collations list
 * @param Array  $mysqlDefaultColl   Default Collations list
 * @param Array  $mysqlCollAvailable Available Collations list
 *
 * @return string
 */
function PMA_getHtmlForCollationCurrentCharset(
    
$currCharset$mysqlColl,
    
$mysqlDefaultColl$mysqlCollAvailable
) {
    
$odd_row true;
    
$html '';
    foreach (
$mysqlColl[$currCharset] as $current_collation) {

        
$html .= '<tr class="'
            
. ($odd_row 'odd' 'even')
            . (
$mysqlDefaultColl[$currCharset] == $current_collation
                
' marked'
                
'')
            . (
$mysqlCollAvailable[$current_collation] ? '' ' disabled')
            . 
'">' "\n"
            
'    <td>' htmlspecialchars($current_collation) . '</td>' "\n"
            
'    <td>' PMA_getCollationDescr($current_collation) . '</td>' "\n"
            
'</tr>' "\n";
        
$odd_row = !$odd_row;
    }
    return 
$html;
}
?>

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