!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/usr/share/phpMyAdmin/   drwxr-xr-x
Free 9.28 GB of 93.48 GB (9.93%)
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.33 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.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0041 ]--