!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/proyectos/toba_referencia/php/rdi/ejemploFoto/   drwxrwxr-x
Free 13.98 GB of 61.93 GB (22.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     extension_ci.php (1.51 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
php_referencia
::instancia()->agregar(__FILE__);

class 
extension_ci extends toba_ci
{
    public 
$s__nombre_archivo;
    protected 
$s__id_recurso;
    
    function 
conf__formulario()
    {
        if (isset(
$this->s__nombre_archivo)) {
            return array( 
'archivo' => $this->s__nombre_archivo );
        }
    }
    
    function 
evt__formulario__modificacion($datos)
    {
        if (isset(
$datos['archivo'])) {
            
$this->s__nombre_archivo $datos['archivo']['name'];
            
$img toba::proyecto()->get_www_temp($this->s__nombre_archivo);
            
//Mando el archivo subido al servidor derecho al ECM
            
$this->enviar_repositorio($datos['archivo']['tmp_name']);
        }
    }
    
    function 
enviar_repositorio($img)
    {
        
$srv toba::rdi()->servicio(RDITipos::FOTO);
        
$attr = array('tipoIdentificacion' => md5($img), 'numeroIdentificacion' => rand(1005000), 'alto' => 500'ancho' => 600'color' => true);
        if (
file_exists($img)) {
            
$cont file_get_contents($img);
            
$ecm_resource_id $srv->crear($attr$cont);
            
toba::logger()->debug("El id del ECM es" var_export($ecm_resource_idtrue));
            if (! 
is_null($ecm_resource_id)) {
                
$this->s__id_recurso $ecm_resource_id;                
            }
        }
    }
    
    function 
recuperar_contenido()
    {
        
$srv toba::rdi()->servicio(RDITipos::FOTO);
        
$attr $srv->recuperarAtributos($this->s__id_recurso);
        
$content $srv->recuperarContenido($this->s__id_recurso);
        
        
$nombre toba::proyecto()->get_www_temp($attr['tipoIdentificacion']. $attr['numeroIdentificacion']);
        
file_put_contents($nombre['path'], $content);
        return 
$nombre;
    }
    
}
?>

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