!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_tdfonline/php/lib/db/   drwxr-xr-x
Free 14.52 GB of 61.93 GB (23.44%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     toba_parser_error_db.php (1.28 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * @package Fuentes
 */
abstract class toba_parser_error_db
{
    function 
__construct($id=null$proyecto=null) {
        
$this->id_db_original $id;
        
$this->proyecto_original $proyecto;
    }
        
    
/**
     * Para poder leer los metadatos de postgres se necesita hacer una conexión extra a la base
     * ya que la original tiene el error aguardando una resolución (por ejemplo en una transacción)
     * @return toba_db
     */
    
protected function get_conexion_extra()
    {
        if (! isset(
$this->conexion_extra)) {
            
$this->conexion_extra toba_admin_fuentes::instancia()->get_fuente($this->id_db_original$this->proyecto_original)->get_db(false);
        }
        return 
$this->conexion_extra;
    }
    
    
/**
     * Retorna un verbo asociado a la acción (actualizando, insertando, borrando)
     */
    
protected function get_accion($sql)
    {
        
$sql trim($sql);
        
$pos = array();
        
$pos['insertando']     = stripos($sql'INSERT');
        
$pos['actualizando'] = stripos($sql'UPDATE');
        
$pos['eliminando']     = stripos($sql'DELETE');
        
$mejor 100000;
        
$mensaje '';
        
//-- Busca cual ocure primero en el sql
        
foreach ($pos as $clave => $posicion) {
            if (
$posicion !== false && $posicion $mejor) {
                
$mejor $posicion;
                
$mensaje $clave;
            }
        }
        return 
$mensaje;
    }    
    
    abstract function 
parsear($sql$sqlstate$mensaje);
}

?>

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