!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/modelo/migraciones/   drwxrwxr-x
Free 14.56 GB of 61.93 GB (23.51%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     toba_migracion_2_7_0.php (1.13 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class toba_migracion_2_7_0 extends toba_migracion
{
    function 
instancia__cambios_estructura()
    {        
        
/**
        * Se evita el mensaje 'ERROR:  cannot ALTER TABLE "apex_objeto" because
        * it has pending trigger events' de postgres 8.3
        */
        
$sql 'SET CONSTRAINTS ALL IMMEDIATE;';
        
$this->elemento->get_db()->ejecutar($sql);
        
$sql = array();        
        
        
$sql[] = 'ALTER TABLE apex_usuario_pwd_usados  DROP CONSTRAINT apex_usuario_pwd_usados_uk;';
        
$this->elemento->get_db()->ejecutar($sql);
        
        
$sql 'SET CONSTRAINTS ALL DEFERRED;';
        
$this->elemento->get_db()->ejecutar($sql);
    }    
    
    function 
proyecto__actualizar_pms()
    {
        
$db $this->elemento->get_db();
        
$proyecto $this->elemento->get_db()->quote($this->elemento->get_id());
        
        
$sql "SELECT id FROM apex_puntos_montaje WHERE etiqueta= 'proyecto' AND proyecto = $proyecto;";        
        
$id $this->elemento->get_db()->consultar_fila($sql);    
        
        if (! empty(
$id)) {
            
$sql_up = array();
            
$sql_up[] = 'UPDATE apex_item SET punto_montaje = '$id['id'] . " WHERE punto_montaje IS NULL  AND proyecto =  $proyecto AND carpeta = 0;" ;            
            
$this->elemento->get_db()->ejecutar($sql_up);    
        }
    
    }
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.6874 ]--