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

C:\phpMyAdmin1\   drwxrwxrwx
Free 4.08 GB of 39.52 GB (10.32%)
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_find_replace.php (1.62 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Handles find and replace tab
 *
 * Displays find and replace form, allows previewing and do the replacing
 *
 * @package PhpMyAdmin
 */

/**
 * Gets some core libraries
 */
require_once 'libraries/common.inc.php';
require_once 
'libraries/TableSearch.class.php';

$response PMA_Response::getInstance();
$table_search = new PMA_TableSearch($db$table"replace");

$connectionCharSet $GLOBALS['dbi']->fetchValue(
    
"SHOW VARIABLES LIKE 'character_set_connection'"01
);
if (isset(
$_POST['find'])) {
    
$preview $table_search->getReplacePreview(
        
$_POST['columnIndex'],
        
$_POST['find'],
        
$_POST['replaceWith'],
        
$connectionCharSet
    
);
    
$response->addJSON('preview'$preview);
    exit;
}

$header  $response->getHeader();
$scripts $header->getScripts();
$scripts->addFile('tbl_find_replace.js');

// Show secondary level of tabs
$htmlOutput  $table_search->getSecondaryTabs();

if (isset(
$_POST['replace'])) {
    
$htmlOutput .= $table_search->replace(
        
$_POST['columnIndex'],
        
$_POST['findString'],
        
$_POST['replaceWith'],
        
$connectionCharSet
    
);
    
$htmlOutput .= PMA_Util::getMessage(
        
__('Your SQL query has been executed successfully.'),
        
null'success'
    
);
}

if (! isset(
$goto)) {
    
$goto $GLOBALS['cfg']['DefaultTabTable'];
}
// Defines the url to return to in case of error in the next sql statement
$err_url   $goto '?' PMA_URL_getCommon($db$table);
// Displays the find and replace form
$htmlOutput .= $table_search->getSelectionForm($goto);
$response->addHTML($htmlOutput);

?>

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