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


Viewing file:     ci_vinculos_servicios.php (2.72 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class ci_vinculos_servicios extends toba_testing_pers_ci
{
    protected 
$s__datos;
    protected 
$s__seleccionado null;
    
//-----------------------------------------------------------------------------------
    //---- cuadro -----------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function conf__cuadro(toba_ei_cuadro $cuadro)
    {
        
$datos = array(    '0' => array('columna1' =>'toba''columna2' => '1.3.0''columna3' => '49410'),
                        
'1' => array('columna1' => 'pilaga''columna2' => '1.9''columna3' => '47144'));
        
$cuadro->set_datos($datos);
    }

    function 
servicio__print_columna()
    {
        
$valor_clave toba::memoria()->get_parametro('columna1');
        
ei_arbol($valor_clave'La clave de la fila es');
        
$valor_columna toba::memoria()->get_parametro('columna3');
        
ei_arbol($valor_columna'columna3');        
    }

    
    function 
vista_excel($salida)
    {
        
$this->dep('cuadro')->vista_excel($salida);    
    }
    
    function 
vista_pdf($salida)
    {
        
$this->dep('cuadro')->vista_pdf($salida);        
    }
    
//-----------------------------------------------------------------------------------
    //---- formulario -------------------------------------------------------------------
    //-----------------------------------------------------------------------------------
    
function conf__formulario(toba_ei_formulario_ml $form_ml)
    {
        if (isset(
$this->s__datos)){
            
$form_ml->set_datos($this->s__datos);
        }
    }

    function 
evt__formulario__procesar($datos)
    {
        foreach(
$datos as $klave => $valor)
        {
            if (isset(
$valor['adjunto'])) {
                
$nombre_adjunto $valor['adjunto']['name'];
                
$img toba::proyecto()->get_www_temp($nombre_adjunto);
                
// Mover los adjuntos subidos al servidor del directorio temporal PHP a uno propio.
                
move_uploaded_file($valor['adjunto']['tmp_name'], $img['path']);                
            }            
        }        
        
        
$this->s__datos $datos;
    }
    
    function 
servicio__descargar()
    {
        
$encontre false;
        
$seleccionado toba::memoria()->get_parametro('fila');
        
$obj_data null;
        
$index 0;
        while(!
$encontre && $index count($this->s__datos))
        {
            if (
$this->s__datos[$index]['x_dbr_clave'] == $seleccionado){
                    
$obj_data $this->s__datos[$index]['adjunto'];
                    
$encontre true;
            }
            
$index++;
        }
        
        if (! 
is_null($obj_data)){
            
$archivo toba::proyecto()->get_www_temp($obj_data['name']);            
            
header("Content-type:{$obj_data['type']}");
            
header("Content-Disposition: attachment; filename=\"{$obj_data['name']}\"");
            
$handler fopen($archivo['path'], 'r');
            if (
$handler !== false){
                
fpassthru($handler);    
            }                
        }else{
            echo 
'No funciono como debia, REVISAME!';
        }
    }

    function 
servicio__ejecutar()
    {
        echo 
"ME estoy EJECUTANDO.... te gusta???";
    }
}
?>

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