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


Viewing file:     ci_mi_cuenta.php (3.35 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class ci_mi_cuenta extends toba_ci
{
    protected 
$s__datos;
    protected 
$s__usuario;

    const 
clave_falsa "xS34Io9gF2JD"//La clave no se envia al cliente

    //-----------------------------------------------------------------------------------
    //---- Configuraciones --------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function conf()
    {
        
$this->s__usuario toba::usuario()->get_id();
    }

    
//-----------------------------------------------------------------------------------
    //---- formulario -------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function conf__formulario(toba_ei_formulario $form)
    {
        
$datos $this->dep('datos')->tabla('apex_usuario')->get_datos$this->s__usuario );
        if (isset(
$datos)) {
                
$datos['clave'] = self::clave_falsa;
        }
                        
        
//---------------------------------------------------
        //Grupos
        
$filtro['usuario']  = $this->s__usuario;
        
$filtro['proyecto'] = 'led';
        
$grupos $this->dep('datos')->tabla('apex_usuario_proyecto')->get_descripciones($filtro);

        if(
count($grupos)>0){
            foreach (
$grupos as $k=>$g){

                if(
$k==0){
                    
$grupos $g['usuario_grupo_acc'];
                }else{
                    
$grupos.= ', '.$g['usuario_grupo_acc'];
                }
            }
        }

        
$datos['grupos'] = $grupos;
        
        
$form->set_datos($datos);
    }



    function 
evt__formulario__modificacion($datos)
    {
        
//Seteo datos fijos
        
$datos['proyecto'] = 'led';
        
$datos['autentificacion'] = 'bcrypt';
        
        
#$datos['usuario_grupo_acc']='empresa';
        
if ($datos['clave'] == self::clave_falsa ) {
                unset(
$datos['clave']);
        }

        
$this->s__datos $datos;
    }

    
//-----------------------------------------------------------------------------------
    //---- FUNCIONES --------------------------------------------------------------------
    //-----------------------------------------------------------------------------------
    
    
function resetear()
    {
            
$this->dep('datos')->resetear();
            unset(
$this->s__usuario);
            unset(
$this->s__datos);
            
$this->set_pantalla('pant_inicial');
    }
        
    
//-----------------------------------------------------------------------------------
    //---- EVENTOS CI -------------------------------------------------------------------
    //-----------------------------------------------------------------------------------

    
function evt__guardar()
    {
        
$this->s__datos['bloqueado']='0';            
        if ( 
$this->dep('datos')->tabla('apex_usuario')->modificar($this->s__datos) ){
                
                
toba::notificacion()->agregar("Cambios guardardos correcamtente. En tu pr&oacute;ximo acceso ser ver&aacute;n reflejados los cambios""info");
                
$this->resetear();

        }else{     

            
toba::notificacion()->agregar("Error: Falla en la modificaci&oacute;n del usuario. Contacte al administrador del sistema""error");                 

        }
        
    }

}

?>

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