!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.36 GB of 96.73 GB (86.19%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 *
 */
require_once './libraries/pmd_common.php';
extract($_POSTEXTR_SKIP);
extract($_GETEXTR_SKIP);
$die_save_pos 0;
require_once 
'pmd_save_pos.php';
list(
$DB1$T1) = explode("."$T1);
list(
$DB2$T2) = explode("."$T2);

$tables PMA_DBI_get_tables_full($db$T1);
$type_T1 strtoupper($tables[$T1]['ENGINE']);
$tables PMA_DBI_get_tables_full($db$T2);
$type_T2 strtoupper($tables[$T2]['ENGINE']);

$try_to_delete_internal_relation false;

if (
PMA_foreignkey_supported($type_T1) && PMA_foreignkey_supported($type_T2) && $type_T1 == $type_T2) {
    
// InnoDB
    
$existrel_foreign PMA_getForeigners($DB2$T2'''foreign');

    if (isset(
$existrel_foreign[$F2]['constraint'])) {
        
$upd_query  'ALTER TABLE ' PMA_backquote($T2)
                  . 
' DROP FOREIGN KEY '
                  
PMA_backquote($existrel_foreign[$F2]['constraint']);
        
$upd_rs     PMA_DBI_query($upd_query);
    } else {
        
// there can be an internal relation even if InnoDB
        
$try_to_delete_internal_relation true;
    }
} else {
    
$try_to_delete_internal_relation true;
}
if (
$try_to_delete_internal_relation) {
    
// internal relations
    
PMA_query_as_controluser(
        
'DELETE FROM '
        
PMA_backquote($GLOBALS['cfgRelation']['db']) . '.'
        
$cfg['Server']['relation'].' WHERE '
        
'master_db = \'' PMA_sqlAddSlashes($DB2) . '\''
        
' AND master_table = \'' PMA_sqlAddSlashes($T2) . '\''
        
' AND master_field = \'' PMA_sqlAddSlashes($F2) . '\''
        
' AND foreign_db = \'' PMA_sqlAddSlashes($DB1) . '\''
        
' AND foreign_table = \'' PMA_sqlAddSlashes($T1) . '\''
        
' AND foreign_field = \'' PMA_sqlAddSlashes($F1) . '\'',
        
false,
        
PMA_DBI_QUERY_STORE
    
);
}
PMD_return_upd(1__('Relation deleted'));

function 
PMD_return_upd($b$ret)
{
    global 
$K;
    
header("Content-Type: text/xml; charset=utf-8");
    
header("Cache-Control: no-cache");
    die(
'<root act="relation_upd" return="'.$ret.'" b="'.$b.'" K="'.$K.'"></root>');
}
?>

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