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


Viewing file:     tbl_get_field.php (1.34 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Provides download to a given field defined in parameters.
*
* @package PhpMyAdmin
*/

/**
* Common functions.
*/
// we don't want the usual PMA_Response-generated HTML above the column's data
define('PMA_BYPASS_GET_INSTANCE', 1);
require_once
'libraries/common.inc.php';
require_once
'libraries/mime.lib.php';

/* Check parameters */
PMA_Util::checkParameters(
    array(
'db', 'table')
);

/* Select database */
if (!$GLOBALS['dbi']->selectDb($db)) {
    
PMA_Util::mysqlDie(
        
sprintf(__('\'%s\' database does not exist.'), htmlspecialchars($db)),
        
'', false
    
);
}

/* Check if table exists */
if (!$GLOBALS['dbi']->getColumns($db, $table)) {
    
PMA_Util::mysqlDie(__('Invalid table name'));
}

/* Grab data */
$sql = 'SELECT ' . PMA_Util::backquote($_GET['transform_key'])
    .
' FROM ' . PMA_Util::backquote($table)
    .
' WHERE ' . $_GET['where_clause'] . ';';
$result = $GLOBALS['dbi']->fetchValue($sql);

/* Check return code */
if ($result === false) {
    
PMA_Util::mysqlDie(
        
__('MySQL returned an empty result set (i.e. zero rows).'), $sql
    
);
}

/* Avoid corrupting data */
@ini_set('url_rewriter.tags', '');

PMA_downloadHeader(
    
$table . '-' .  $_GET['transform_key'] . '.bin',
    
PMA_detectMIME($result),
    
/*overload*/mb_strlen($result, '8bit')
);
echo
$result;

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