!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 4.07 GB of 27.03 GB (15.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
* Does the common work
*/
require_once 'libraries/common.inc.php';
require_once
'libraries/server_common.inc.php';
require_once
'libraries/server_databases.lib.php';

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

if (!
PMA_DRIZZLE) {
    include_once
'libraries/replication.inc.php';
} else {
    
$replication_types = array();
    
$GLOBALS['replication_info'] = null;
}
require
'libraries/build_html_for_db.lib.php';

/**
* Sets globals from $_POST
*/
$post_params = array(
    
'mult_btn',
    
'query_type',
    
'selected'
);
foreach (
$post_params as $one_post_param) {
    if (isset(
$_POST[$one_post_param])) {
        
$GLOBALS[$one_post_param] = $_POST[$one_post_param];
    }
}

list(
$sort_by, $sort_order) = PMA_getListForSortDatabase();

$dbstats    = empty($_REQUEST['dbstats']) ? 0 : 1;
$pos        = empty($_REQUEST['pos']) ? 0 : (int) $_REQUEST['pos'];


/**
* Drops multiple databases
*/
// workaround for IE behavior (it returns some coordinates based on where
// the mouse was on the Drop image):
if (isset($_REQUEST['drop_selected_dbs_x'])) {
    
$_REQUEST['drop_selected_dbs'] = true;
}

if ((isset(
$_REQUEST['drop_selected_dbs']) || isset($_REQUEST['query_type']))
    && (
$is_superuser || $cfg['AllowUserDropDatabase'])
) {
    
PMA_dropMultiDatabases();
}

/**
* Displays the sub-page heading
*/
$header_type = $dbstats ? "database_statistics" : "databases";
$response->addHTML(PMA_getHtmlForSubPageHeader($header_type));

/**
* Displays For Create database.
*/
$html = '';
if (
$cfg['ShowCreateDb']) {
    
$html .= '<ul><li id="li_create_database" class="no_bullets">' . "\n";
    include
'libraries/display_create_database.lib.php';
    
$html .= '    </li>' . "\n";
    
$html .= '</ul>' . "\n";
}

/**
* Gets the databases list
*/
if ($server > 0) {
    
$databases = $GLOBALS['dbi']->getDatabasesFull(
        
null, $dbstats, null, $sort_by, $sort_order, $pos, true
    
);
    
$databases_count = count($GLOBALS['pma']->databases);
} else {
    
$databases_count = 0;
}


/**
* Displays the page
*/
if ($databases_count > 0) {
    
$html .= PMA_getHtmlForDatabase(
        
$databases,
        
$databases_count,
        
$pos,
        
$dbstats,
        
$sort_by,
        
$sort_order,
        
$is_superuser,
        
$cfg,
        
$replication_types,
        
$GLOBALS['replication_info'],
        
$url_query
    
);
} else {
    
$html .= __('No databases');
}
unset(
$databases_count);

$response->addHTML($html);

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